ShaderBindable

Trait ShaderBindable 

Source
pub trait ShaderBindable:
    Clone
    + Copy
    + HasShaderBinding {
    // Required method
    fn bind_to(&self, context: &mut PipelineContext<'_>, index: u32);
}

Required Methods§

Source

fn bind_to(&self, context: &mut PipelineContext<'_>, index: u32)

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§