Class
MorphTargetTextures
View sourceMesh-scoped texture cache for morph target deltas.
Constructor
View source
Properties
staticreadonly SemanticCount : number
View sourceNumber of texture-array layers reserved per morph target.
Default: 3
Methods
getBindGroupLayout ( device: WebGLRenderDevice ) : WebGLBindGroupLayout
View source Returns the shared bind-group layout for morph target textures.
getOrAllocate ( mesh: Mesh ) : MorphTargetTextureState | undefined
View source Returns the cached morph-texture state for the supplied mesh, creating it on demand.
getBindGroup ( device: WebGLRenderDevice , renderer: WebGLRenderer , mesh: Mesh ) : WebGLBindGroup | undefined
View source Returns the cached bind group for the supplied mesh, creating or updating it when needed.