pub struct ShaderModule { /* private fields */ }Expand description
Handle to a compiled shader module.
A ShaderModule represents a compiled shader module on the GPU. It can be created by passing
valid SPIR-V source code to Device::create_shader_module. Shader modules are used to define
programmable stages of a pipeline.
Trait Implementations§
Source§impl Drop for ShaderModule
impl Drop for ShaderModule
Auto Trait Implementations§
impl !RefUnwindSafe for ShaderModule
impl !UnwindSafe for ShaderModule
impl Freeze for ShaderModule
impl Send for ShaderModule
impl Sync for ShaderModule
impl Unpin for ShaderModule
impl UnsafeUnpin for ShaderModule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more