pub trait ITexturePoolMethods: ITexturePool {
// Provided methods
fn release_internal_resource(self, res: impl Into<RTHandle>) { ... }
fn get_resource_name(self, res: impl Into<RTHandle>) -> Il2CppString { ... }
fn get_resource_size(self, res: impl Into<RTHandle>) -> i64 { ... }
fn get_resource_type_name(self) -> Il2CppString { ... }
fn purge_unused_resources(self, current_frame_index: impl Into<i32>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn release_internal_resource(self, res: impl Into<RTHandle>)
fn release_internal_resource(self, res: impl Into<RTHandle>)
ReleaseInternalResource(crate::unity_engine::rendering::rthandle::RTHandle) overload
Sourcefn get_resource_name(self, res: impl Into<RTHandle>) -> Il2CppString
fn get_resource_name(self, res: impl Into<RTHandle>) -> Il2CppString
GetResourceName(crate::unity_engine::rendering::rthandle::RTHandle) overload
Sourcefn get_resource_size(self, res: impl Into<RTHandle>) -> i64
fn get_resource_size(self, res: impl Into<RTHandle>) -> i64
GetResourceSize(crate::unity_engine::rendering::rthandle::RTHandle) overload
Sourcefn get_resource_type_name(self) -> Il2CppString
fn get_resource_type_name(self) -> Il2CppString
GetResourceTypeName() overload
Sourcefn purge_unused_resources(self, current_frame_index: impl Into<i32>)
fn purge_unused_resources(self, current_frame_index: impl Into<i32>)
PurgeUnusedResources(i32) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: ITexturePool> ITexturePoolMethods for __T
Available on crate feature
unity_engine-experimental-rendering-render_graph_module-texturepool only.