Struct sierra::backend::ShaderModule
source · pub struct ShaderModule { /* private fields */ }
Expand description
Handle fot GPU shader module object.
Shader module is pre-compiled shader program, optionally with multiple entry points for different shaders.
Used for pipelines creation:
GraphicsPipeline
, ComputePipeline
and RayTracingPipeline
.
Implementations§
source§impl ShaderModule
impl ShaderModule
pub fn info(&self) -> &ShaderModuleInfo
Trait Implementations§
source§impl Clone for ShaderModule
impl Clone for ShaderModule
source§fn clone(&self) -> ShaderModule
fn clone(&self) -> ShaderModule
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more