Class RenderPipelineGenerator
Methods
Static GenerateColorStateDescriptor
- GenerateColorStateDescriptor(material: Material): GPUColorStateDescriptor[]
-
Parameters
Returns GPUColorStateDescriptor[]
Static GenerateDepthStencilStateDescriptor
- GenerateDepthStencilStateDescriptor(material: Material): GPUDepthStencilStateDescriptor
-
Parameters
Returns GPUDepthStencilStateDescriptor
Static GenerateSamplerDescriptor
- GenerateSamplerDescriptor(sampler: Sampler): GPUSamplerDescriptor
-
Parameters
Returns GPUSamplerDescriptor
Static GenerateTextureDescriptor
- GenerateTextureDescriptor(texture: Texture): GPUTextureDescriptor
-
Parameters
Returns GPUTextureDescriptor
Static generateBindGroup
-
Parameters
Returns GPUBindGroup
Static generateBindGroupLayoutDescriptor
- generateBindGroupLayoutDescriptor(material: Material): GPUBindGroupLayoutDescriptor
-
Parameters
Returns GPUBindGroupLayoutDescriptor
Static generateBindGroupResources
-
Parameters
-
-
filterShared: boolean
-
device: GPUDevice
Static generateRenderPassDescriptor
-
Parameters
Returns GPURenderPassDescriptor
Static generateShaderModuleDescriptor
- generateShaderModuleDescriptor(shader: Shader): GPUShaderModuleDescriptor
-
Parameters
Returns GPUShaderModuleDescriptor
Static generateVertexStateDescriptor
- generateVertexStateDescriptor(material: Material): GPUVertexStateDescriptor
-
Parameters
Returns GPUVertexStateDescriptor
Generates a GPUColorStateDescriptor based on the provided material