CLASSES
TagsA - Z

PBRBaseMaterial

Description

class PBRBaseMaterial extends PushMaterial

Constructor

new PBRBaseMaterial(name, scene)

Instantiates a new PBRMaterial instance.

     * @param name The material name

Parameters

Name Type Description
name string The material name
scene Scene The scene the material will be use in.

Members

useLogarithmicDepth : boolean

Methods

getClassName() string

needAlphaBlending() boolean

needAlphaTesting() boolean

getAlphaTestTexture() BaseTexture

isReadyForSubMesh(mesh, subMesh, useInstances) boolean

Parameters

Name Type Description
mesh AbstractMesh
subMesh SubMesh
optional useInstances boolean

buildUniformLayout() void

unbind() void

bindOnlyWorldMatrix(world) void

Parameters

Name Type Description
world Matrix

bindForSubMesh(world, mesh, subMesh) void

Parameters

Name Type Description
world Matrix
mesh Mesh
subMesh SubMesh

getAnimatables() IAnimatable[]

dispose(forceDisposeEffect, forceDisposeTextures) void

Parameters

Name Type Description
optional forceDisposeEffect boolean
optional forceDisposeTextures boolean