ShaderProcessorOptions
Summary
Properties
bindGroupFormats | |
uniformFormats |
Methods
hasTexture | Get the bind group texture slot for the texture uniform name. |
hasUniform | Get the bind group index for the uniform name. |
Details
Constructor
ShaderProcessorOptions(viewUniformFormat, viewBindGroupFormat)
Constructs shader processing options, used to process the shader for uniform buffer support.
Parameters
viewUniformFormat | UniformBufferFormat | Format of the uniform buffer. |
viewBindGroupFormat | BindGroupFormat | Format of the bind group. |
Properties
BindGroupFormat[]bindGroupFormats
UniformBufferFormat[]uniformFormats