Expand description
Contains everything you need to make some cool shaders including the Shader and UniformData types.
Structs§
- Shader
- An internal representation of an WGSL Shader. Under the hood this creates a new pipeline with or without the support for any extra uniforms. To be utilze the shader it must be added to a material
- Shader
Options ShaderOptionscontrolls the layout of your shader and wether or not you want extra uniforms like a texture or a uniform buffer- Uniform
Data UniformDatacontains the byte data of any struct that implements ShaderType which can be derived. This data needs to be added to ShaderOptions.