pub trait IDeferredShaderDataMethods: IDeferredShaderData {
// Provided methods
fn ctor(self) { ... }
fn dispose(self) { ... }
fn reset_buffers(self) { ... }
fn reserve_buffer<M0: IlType + Copy + ClassIdentity>(
self,
count: impl Into<i32>,
as_c_buffer: impl Into<bool>,
) -> ComputeBuffer { ... }
fn get_or_update_buffer(
self,
count: impl Into<i32>,
stride: impl Into<i32>,
is_constant_buffer: impl Into<bool>,
) -> ComputeBuffer { ... }
}Provided Methods§
Sourcefn reset_buffers(self)
fn reset_buffers(self)
ResetBuffers() overload
fn reserve_buffer<M0: IlType + Copy + ClassIdentity>( self, count: impl Into<i32>, as_c_buffer: impl Into<bool>, ) -> ComputeBuffer
Sourcefn get_or_update_buffer(
self,
count: impl Into<i32>,
stride: impl Into<i32>,
is_constant_buffer: impl Into<bool>,
) -> ComputeBuffer
fn get_or_update_buffer( self, count: impl Into<i32>, stride: impl Into<i32>, is_constant_buffer: impl Into<bool>, ) -> ComputeBuffer
GetOrUpdateBuffer(i32, i32, bool) 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: IDeferredShaderData> IDeferredShaderDataMethods for __T
Available on crate feature
unity_engine-rendering-universal-deferredshaderdata only.