Skip to main content

IConstantBuffer_TypedConstantBuffer_1Methods

Trait IConstantBuffer_TypedConstantBuffer_1Methods 

Source
pub trait IConstantBuffer_TypedConstantBuffer_1Methods<T0: ClassIdentity>: ClassIdentity {
    // Provided methods
    fn get_instance() -> ConstantBuffer_TypedConstantBuffer_1<T0> { ... }
    fn set_instance(value: ConstantBuffer_TypedConstantBuffer_1<T0>) { ... }
    fn ctor(self)
       where Self: Sized { ... }
    fn update_data(self, cmd: CommandBuffer) -> ((), T0)
       where Self: Sized { ... }
    fn set_global(self, cmd: CommandBuffer, shader_id: i32)
       where Self: Sized { ... }
    fn set(self, cmd: CommandBuffer, cs: ComputeShader, shader_id: i32)
       where Self: Sized { ... }
    fn set_2(self, mat: Material, shader_id: i32)
       where Self: Sized { ... }
    fn release(self)
       where Self: Sized { ... }
    fn cctor() { ... }
}

Provided Methods§

Source

fn get_instance() -> ConstantBuffer_TypedConstantBuffer_1<T0>

Source

fn set_instance(value: ConstantBuffer_TypedConstantBuffer_1<T0>)

Source

fn ctor(self)
where Self: Sized,

Source

fn update_data(self, cmd: CommandBuffer) -> ((), T0)
where Self: Sized,

Source

fn set_global(self, cmd: CommandBuffer, shader_id: i32)
where Self: Sized,

Source

fn set(self, cmd: CommandBuffer, cs: ComputeShader, shader_id: i32)
where Self: Sized,

Source

fn set_2(self, mat: Material, shader_id: i32)
where Self: Sized,

Source

fn release(self)
where Self: Sized,

Source

fn cctor()

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§