Skip to main content

ITexturePoolMethods

Trait ITexturePoolMethods 

Source
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§

Source

fn release_internal_resource(self, res: impl Into<RTHandle>)

ReleaseInternalResource(crate::unity_engine::rendering::rthandle::RTHandle) overload

Source

fn get_resource_name(self, res: impl Into<RTHandle>) -> Il2CppString

GetResourceName(crate::unity_engine::rendering::rthandle::RTHandle) overload

Source

fn get_resource_size(self, res: impl Into<RTHandle>) -> i64

GetResourceSize(crate::unity_engine::rendering::rthandle::RTHandle) overload

Source

fn get_resource_type_name(self) -> Il2CppString

GetResourceTypeName() overload

Source

fn purge_unused_resources(self, current_frame_index: impl Into<i32>)

PurgeUnusedResources(i32) overload

Source

fn ctor(self)

.ctor() 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§

Source§

impl<__T: ITexturePool> ITexturePoolMethods for __T

Available on crate feature unity_engine-experimental-rendering-render_graph_module-texturepool only.