pub trait IComputeBufferPoolMethods: IComputeBufferPool {
// Provided methods
fn release_internal_resource(self, res: impl Into<ComputeBuffer>) { ... }
fn get_resource_name(self, res: impl Into<ComputeBuffer>) -> Il2CppString { ... }
fn get_resource_size(self, res: impl Into<ComputeBuffer>) -> 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<ComputeBuffer>)
fn release_internal_resource(self, res: impl Into<ComputeBuffer>)
ReleaseInternalResource(crate::unity_engine::computebuffer::ComputeBuffer) overload
Sourcefn get_resource_name(self, res: impl Into<ComputeBuffer>) -> Il2CppString
fn get_resource_name(self, res: impl Into<ComputeBuffer>) -> Il2CppString
GetResourceName(crate::unity_engine::computebuffer::ComputeBuffer) overload
Sourcefn get_resource_size(self, res: impl Into<ComputeBuffer>) -> i64
fn get_resource_size(self, res: impl Into<ComputeBuffer>) -> i64
GetResourceSize(crate::unity_engine::computebuffer::ComputeBuffer) 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: IComputeBufferPool> IComputeBufferPoolMethods for __T
Available on crate feature
unity_engine-experimental-rendering-render_graph_module-computebufferpool only.