Skip to main content

IRenderGraphResourcePool_1Methods

Trait IRenderGraphResourcePool_1Methods 

Source
pub trait IRenderGraphResourcePool_1Methods<T0: ClassIdentity>: ClassIdentity {
Show 13 methods // Provided methods fn release_internal_resource(self, res: T0) where Self: Sized + Into<IlInstance> { ... } fn get_resource_name(self, res: T0) -> Il2CppString where Self: Sized + Into<IlInstance> { ... } fn get_resource_size(self, res: T0) -> i64 where Self: Sized + Into<IlInstance> { ... } fn get_resource_type_name(self) -> Il2CppString where Self: Sized + Into<IlInstance> { ... } fn release_resource(self, hash: i32, resource: T0, current_frame_index: i32) where Self: Sized { ... } fn try_get_resource(self, hash_code: i32) -> (bool, T0) where Self: Sized { ... } fn purge_unused_resources(self, current_frame_index: i32) where Self: Sized + Into<IlInstance> { ... } fn cleanup(self) where Self: Sized { ... } fn register_frame_allocation(self, hash: i32, value: T0) where Self: Sized { ... } fn unregister_frame_allocation(self, hash: i32, value: T0) where Self: Sized { ... } fn check_frame_allocation(self, on_exception: bool, frame_index: i32) where Self: Sized { ... } fn log_resources(self, logger: RenderGraphLogger) where Self: Sized { ... } fn ctor(self) where Self: Sized { ... }
}

Provided Methods§

Source

fn release_internal_resource(self, res: T0)
where Self: Sized + Into<IlInstance>,

Source

fn get_resource_name(self, res: T0) -> Il2CppString
where Self: Sized + Into<IlInstance>,

Source

fn get_resource_size(self, res: T0) -> i64
where Self: Sized + Into<IlInstance>,

Source

fn get_resource_type_name(self) -> Il2CppString
where Self: Sized + Into<IlInstance>,

Source

fn release_resource(self, hash: i32, resource: T0, current_frame_index: i32)
where Self: Sized,

Source

fn try_get_resource(self, hash_code: i32) -> (bool, T0)
where Self: Sized,

Source

fn purge_unused_resources(self, current_frame_index: i32)
where Self: Sized + Into<IlInstance>,

Source

fn cleanup(self)
where Self: Sized,

Source

fn register_frame_allocation(self, hash: i32, value: T0)
where Self: Sized,

Source

fn unregister_frame_allocation(self, hash: i32, value: T0)
where Self: Sized,

Source

fn check_frame_allocation(self, on_exception: bool, frame_index: i32)
where Self: Sized,

Source

fn log_resources(self, logger: RenderGraphLogger)
where Self: Sized,

Source

fn ctor(self)
where Self: Sized,

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§