Material
Index
Constructors
Accessors
Methods
Constructors
constructor
Parameters
options: MaterialOptions
Returns Material
Accessors
isUsingScreenTexture
Returns boolean
name
Returns string
Methods
addImageSource
Parameters
textureUniformName: string
image: ImageSource
Returns void
getShader
Returns Shader
removeImageSource
Parameters
textureName: string
Returns void
update
Parameters
callback: (shader: Shader) => any
Returns void
uploadAndBind
Parameters
gl: WebGL2RenderingContext
startingTextureSlot: number = 2
Returns void
use
Returns void