Class TArraysGenerator
Unit
CastleArraysGenerator
Declaration
type TArraysGenerator = class(TObject)
Description
Generate TGeometryArrays for a VRML/X3D shape. This is the basis of our renderer: generate a TGeometryArrays for a shape, then TGLRenderer will pass TGeometryArrays to OpenGL.
Geometry must be based on coordinates when using this, that is TAbstractGeometryNode.Coord must return True .
Hierarchy
Overview
Fields
Methods
Description
Fields
 |
TexCoordsNeeded: Cardinal; |
Assign these before calling GenerateArrays.
|
 |
MaterialOpacity: Single; |
|
 |
FogVolumetric: boolean; |
|
 |
FogVolumetricVisibilityStart: Single; |
|
 |
ShapeBumpMappingUsed: boolean; |
|
Methods
 |
constructor Create(AShape: TShape; AOverTriangulate: boolean); virtual; |
|
 |
function GenerateArrays: TGeometryArrays; |
Create and generate Arrays contents.
|
 |
class function BumpMappingAllowed: boolean; virtual; |
|
Generated by PasDoc 0.13.0 on 2013-08-17 21:27:12
|