pub struct ShaderModule<RenderBackend: Backend> { /* private fields */ }
Expand description

Shader modules are used for uploading shaders into the render pipeline.

Implementations§

Destroy the shader module and free the memory on the GPU.

Get the entry point that this shader module is using.

Get the specializations being applied to the current shader module.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.