IShaderMaterialOptions

Defines the options associated with the creation of a shader material.

Hierarchy

  • IShaderMaterialOptions

Index

Properties

attributes

Find examples in Playground
attributes: string[]

The list of attribute names used in the shader

defines

Find examples in Playground
defines: string[]

The list of defines used in the shader

needAlphaBlending

Find examples in Playground
needAlphaBlending: boolean

Does the material work in alpha blend mode

needAlphaTesting

Find examples in Playground
needAlphaTesting: boolean

Does the material work in alpha test mode

samplers

Find examples in Playground
samplers: string[]

The list of sampler names used in the shader

uniformBuffers

Find examples in Playground
uniformBuffers: string[]

The list of UBO names used in the shader

uniforms

Find examples in Playground
uniforms: string[]

The list of unifrom names used in the shader

Generated using TypeDoc