Skip to main content

IDeferredShaderDataMethods

Trait IDeferredShaderDataMethods 

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

Source

fn ctor(self)

.ctor() overload

Source

fn dispose(self)

Dispose() overload

Source

fn reset_buffers(self)

ResetBuffers() overload

Source

fn reserve_buffer<M0: IlType + Copy + ClassIdentity>( self, count: impl Into<i32>, as_c_buffer: impl Into<bool>, ) -> ComputeBuffer

Source

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§

Source§

impl<__T: IDeferredShaderData> IDeferredShaderDataMethods for __T

Available on crate feature unity_engine-rendering-universal-deferredshaderdata only.