Class MaterialHelperGeometryRendering
Constructors
constructor
-
Returns MaterialHelperGeometryRendering
Properties
Static ReadonlyGeometry Texture Descriptions
clearType: GeometryRenderingTextureClearType;
define: string;
defineIndex: string;
name: string;
type: any;
}[] = ...
Descriptions of the geometry textures.
Methods
StaticAdd Uniforms And Samplers
-
Adds uniforms and samplers for geometry rendering.
Parameters
- uniforms: string[]
The array of uniforms to add to.
- _samplers: string[]
The array of samplers to add to.
Returns void
- uniforms: string[]
StaticBind
-
Binds geometry rendering data for a mesh.
Parameters
- renderPassId: number
The render pass id the geometry rendering data is bound for.
- effect: Effect
The effect to bind the geometry rendering data to.
- mesh: Mesh
The mesh to bind the geometry rendering data for.
- world: Matrix
The world matrix of the mesh.
- material: Material
The material of the mesh.
Returns void
- renderPassId: number
StaticCreate Configuration
-
Creates a new geometry rendering configuration.
Parameters
- renderPassId: number
Render pass id the configuration is created for.
Returns GeometryRenderingConfiguration
The created configuration.
- renderPassId: number
StaticDelete Configuration
-
Deletes a geometry rendering configuration.
Parameters
- renderPassId: number
The render pass id of the configuration to delete.
Returns void
- renderPassId: number
StaticGet Configuration
-
Gets a geometry rendering configuration.
Parameters
- renderPassId: number
The render pass id of the configuration to get.
Returns GeometryRenderingConfiguration
The configuration.
- renderPassId: number
StaticMark As Dirty
-
Marks a list of meshes as dirty for geometry rendering.
Parameters
- renderPassId: number
The render pass id the meshes are marked as dirty for.
- meshes: AbstractMesh[]
The list of meshes to mark as dirty.
Returns void
- renderPassId: number
StaticPrepare Defines
-
Prepares defines for geometry rendering.
Parameters
- renderPassId: number
The render pass id the defines are prepared for.
- mesh: AbstractMesh
The mesh the defines are prepared for.
- defines: MaterialDefines
The defines to update according to the geometry rendering configuration.
Returns void
- renderPassId: number
Helper class to manage geometry rendering.