Trait luminance::backend::shading_gate::ShadingGate
source · [−]pub unsafe trait ShadingGate: ShaderBackend {
unsafe fn apply_shader_program(
&mut self,
shader_program: &Self::ProgramRepr
);
}
Expand description
Shading gate backend.
This trait requires Shader
as super trait.
Required Methods
unsafe fn apply_shader_program(&mut self, shader_program: &Self::ProgramRepr)
unsafe fn apply_shader_program(&mut self, shader_program: &Self::ProgramRepr)
Apply the shader program and make it currently in-use for subsequent pipeline nodes.