Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IShaderMaterialOptions

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

Hierarchy

  • IShaderMaterialOptions

Index

Properties

attributesSearch playground for attributes

attributes: string[]

The list of attribute names used in the shader

definesSearch playground for defines

defines: string[]

The list of defines used in the shader

externalTexturesSearch playground for externalTextures

externalTextures: string[]

The list of external texture names used in the shader

needAlphaBlendingSearch playground for needAlphaBlending

needAlphaBlending: boolean

Does the material work in alpha blend mode

needAlphaTestingSearch playground for needAlphaTesting

needAlphaTesting: boolean

Does the material work in alpha test mode

samplerObjectsSearch playground for samplerObjects

samplerObjects: string[]

The list of sampler object names used in the shader

samplersSearch playground for samplers

samplers: string[]

The list of sampler (texture) names used in the shader

Optional shaderLanguageSearch playground for shaderLanguage

shaderLanguage: ShaderLanguage

The language the shader is written in (default: GLSL)

storageBuffersSearch playground for storageBuffers

storageBuffers: string[]

The list of storage buffer names used in the shader

uniformBuffersSearch playground for uniformBuffers

uniformBuffers: string[]

The list of UBO names used in the shader

uniformsSearch playground for uniforms

uniforms: string[]

The list of uniform names used in the shader

useClipPlaneSearch playground for useClipPlane

useClipPlane: Nullable<boolean>

Defines if clip planes have to be turned on: true to turn them on, false to turn them off and null to turn them on/off depending on the scene configuration (scene.clipPlaneX)

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method