Unit CastleGeometryArrays

Functions and Procedures
Constants
Variables

Description

Geometry represented as arrays (TGeometryArrays).

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TGeometryTexCoord Texture coord array information, for TGeometryArrays.
Class TGeometryAttrib GLSL attributes array information, for TGeometryArrays.
Class TGeometryAttribList  
Class TGeometryArrays Geometry represented as arrays of indexes, vertex positions, texture coordinates and such.

Types

TGeometryPrimitive = (...);
TTexCoordDimensions = 2..4;
TTextureCoordinateGeneration = (...);
TProjectorMatrixFunction = function: TMatrix4 of object;
TTextureGenerationVectors = array [0..2] of TVector4;
TGeometryTexCoordList = specialize TObjectList<TGeometryTexCoord>;
TGeometryAttribType = (...);
TGeometryIndex = LongWord ;
TGeometryIndexList = TLongWordList ;

Description

Types

TGeometryPrimitive = (...);

Primitive geometry types. Analogous to OpenGL / OpenGLES primitives.

Values
  • gpTriangles
  • gpQuads
  • gpTriangleFan
  • gpTriangleStrip
  • gpLineStrip
  • gpPoints
TTexCoordDimensions = 2..4;
 
TTextureCoordinateGeneration = (...);

Texture coordinate generation methods.

For their meaning, see the X3D specification about TextureCoordinateGenerator.mode values. We also add some extensions, see [https://castle-engine.io/x3d_extensions.php#section_ext_tex_coord_worldspace] and [https://castle-engine.io/x3d_extensions.php#section_ext_tex_coord_bounds]. We also support ProjectedTextureCoordinate, see [https://castle-engine.io/x3d_extensions_shadow_maps.php#section_ext_texture_gen_projective].

Special value tgExplicit means that texture coordinates are not generated.

Values
  • tgExplicit
  • tgBounds2d
  • tgBounds3d
  • tgSphereMap
  • tgCoord
  • tgCoordEye
  • tgCameraSpaceNormal
  • tgWorldSpaceNormal
  • tgCameraSpaceReflectionVector
  • tgWorldSpaceReflectionVector
  • tgProjection
  • tgMirrorPlane
TProjectorMatrixFunction = function: TMatrix4 of object;
 
TTextureGenerationVectors = array [0..2] of TVector4;
 
TGeometryTexCoordList = specialize TObjectList<TGeometryTexCoord>;
 
TGeometryAttribType = (...);
 
Values
  • atFloat
  • atVector2
  • atVector3
  • atVector4
  • atMatrix3
  • atMatrix4
TGeometryIndex = LongWord ;
 
TGeometryIndexList = TLongWordList ;
 

Generated by PasDoc 0.15.0.