Gorilla.Context.Types

Unit Gorilla.Context.Types.pas

Records

Enumerations

  • enum  TGorillaContextErrorKind  = ( ContextError, CompileError, InitializationError ) ;
  • enum  TBlendFactor  = ( bfZero, bfOne, bfSrcColor, bfOneMinusSrcColor, bfSrcAlpha, bfOneMinusSrcAlpha, bfDstAlpha, bfOneMinusDstAlpha, bfDstColor, bfOneMinusDstColor, bfSrcAlphaSaturate ) ;
  • enum  TBlendEquationFunc  = ( befAdd, befSubtract, befReverseSubtract, befMin, befMax ) ;
  • enum  TSmoothTarget  = ( stPoints, stLines, stPolygons ) ;
  • enum  TStencilOpEx  = ( Keep, Zero, Replace, Increase, Decrease, Invert, IncreaseWrap, DecreaseWrap ) ;
  • enum  TPolygonOffsetFill  = ( pofOffsetFillOn, pofOffsetFillOff ) ;
  • enum  TSmoothLines  = ( slOn, slOff ) ;

Constants

  • const ATTRIB_VERTEX : Integer = $0;
  • const ATTRIB_NORMAL : Integer = $1;
  • const ATTRIB_COLOR0 : Integer = $2;
  • const ATTRIB_COLOR1 : Integer = $3;
  • const ATTRIB_COLOR2 : Integer = $4;
  • const ATTRIB_COLOR3 : Integer = $5;
  • const ATTRIB_TEXCOORD0 : Integer = $6;
  • const ATTRIB_TEXCOORD1 : Integer = $7;
  • const ATTRIB_TEXCOORD2 : Integer = $8;
  • const ATTRIB_TEXCOORD3 : Integer = $9;
  • const ATTRIB_BINORMAL : Integer = $A;
  • const ATTRIB_TANGENT : Integer = $B;
  • const ATTRIB_MODELMATRIX_V1 : Integer = $C;
  • const ATTRIB_MODELMATRIX_V2 : Integer = $D;
  • const ATTRIB_MODELMATRIX_V3 : Integer = $E;
  • const ATTRIB_MODELMATRIX_V4 : Integer = $F;
  • const GORILLA_SHADER_TEXTURES_MAX : Integer = $10;
  • const SCannotCreateShaderProgram : string = "cannot create shader program: %%s - %%s";
  • const SCannotActivateShaderProgram : string = "cannot activate shader program";
  • const SCannotActivateCreatedShaderProgram : string = "cannot activated created shader program";
  • const SCannotUseShaderProgram : string = "cannot use shader program";
  • const SCannotBeginRenderScene : string = "cannot begin rendering scene for %%s: %%d";
  • const SCannotEndRenderScene : string = "cannot end rendering scene for %%s: %%d";
  • const SGCannotCreateVertexShader : string = "Cannot create Vertex-Shader for '%%s': %%s";
  • const SGCannotCreatePixelShader : string = "Cannot create Fragment-Shader for '%%s': %%s";
  • const SErrorInContextMethodWithFlag : string = "error in context method "%%s" (error = %%d)";

Mics. types

  • type PGorillaShaderLight = pointer to TGorillaShaderLight;
  • type PGorillaShaderTexture = pointer to TGorillaShaderTexture;
  • type TGorillaShaderTextures = array  [0..15]  of TGorillaShaderTexture;
  • type PGorillaShaderMaterial = pointer to TGorillaShaderMaterial;
  • type PBlendSetting = pointer to TBlendSetting;
  • type TBlendSettings = array  [0..31]  of TBlendSetting;
  • type TPlaneFType = Float;
  • type PPlaneFType = pointer to Single;
  • type PClipPlaneF = pointer to TClipPlaneF;

Functions / Procedures