Gorilla.Material.Types

Unit Gorilla.Material.Types.pas

Classes

Records

Enumerations

Constants

  • const GORILLA_MATERIAL_TEXTURE_0 : string = "Texture0";
  • const GORILLA_MATERIAL_TEXTURE_SPECULARMAP : string = "SpecularMapTexture";
  • const GORILLA_MATERIAL_TEXTURE_NORMALMAP : string = "NormalMapTexture";
  • const GORILLA_MATERIAL_TEXTURE_POM : string = "POMTexture";
  • const GORILLA_MATERIAL_TEXTURE_DISPLACEMENTMAP : string = "DisplacementMapTexture";
  • const GORILLA_MATERIAL_TEXTURE_DEPTH : string = "DepthTexture";
  • const GORILLA_MATERIAL_TEXTURE_REFLECTION : string = "ReflectionTexture";
  • const GORILLA_MATERIAL_TEXTURE_REFRACTION : string = "RefractionTexture";
  • const GORILLA_MATERIAL_TEXTURE_SHADOWMAP_X : string = "ShadowMapTexture";
  • const GORILLA_MATERIAL_TEXTURE_SHADOWMAP_0 : string = "ShadowMapTexture0";
  • const GORILLA_MATERIAL_TEXTURE_SHADOWMAP_1 : string = "ShadowMapTexture1";
  • const GORILLA_MATERIAL_TEXTURE_SHADOWMAP_2 : string = "ShadowMapTexture2";
  • const GORILLA_MATERIAL_TEXTURE_SHADOWMAP_3 : string = "ShadowMapTexture3";
  • const GORILLA_MATERIAL_TEXTURE_SHADOWMAP_4 : string = "ShadowMapTexture4";
  • const GORILLA_MATERIAL_TEXTURE_SHADOWMAP_5 : string = "ShadowMapTexture5";
  • const GORILLA_MATERIAL_TEXTURE_SHADOWMAP_6 : string = "ShadowMapTexture6";
  • const GORILLA_MATERIAL_TEXTURE_SHADOWMAP_7 : string = "ShadowMapTexture7";
  • const GORILLA_MATERIAL_TEXTURE_GEOMETRY_X : string = "GeometryTexture";
  • const GORILLA_MATERIAL_TEXTURE_GEOMETRY_FRONT : string = "GeometryTexture0";
  • const GORILLA_MATERIAL_TEXTURE_GEOMETRY_BACK : string = "GeometryTexture1";
  • const GORILLA_MATERIAL_TEXTURE_GEOMETRY_LEFT : string = "GeometryTexture2";
  • const GORILLA_MATERIAL_TEXTURE_GEOMETRY_RIGHT : string = "GeometryTexture3";
  • const GORILLA_MATERIAL_TEXTURE_GEOMETRY_TOP : string = "GeometryTexture4";
  • const GORILLA_MATERIAL_TEXTURE_GEOMETRY_BOTTOM : string = "GeometryTexture5";
  • const GORILLA_INPUTVAR_INTERNAL_MVPMATRIX : string = "ModelViewProjMatrix";
  • const GORILLA_INPUTVAR_INTERNAL_MVPMATRIX_IT : string = "ModelViewProjMatrixIT";
  • const GORILLA_INPUTVAR_INTERNAL_MODELMATRIX : string = "ModelMatrix";
  • const GORILLA_INPUTVAR_INTERNAL_MODELMATRIX_IT : string = "ModelMatrixIT";
  • const GORILLA_INPUTVAR_INTERNAL_EYEPOS : string = "EyePos";
  • const GORILLA_INPUTVAR_INTERNAL_CAMERA : string = "CameraMatrix";
  • const GORILLA_INPUTVAR_INTERNAL_INVCAMERA : string = "CameraMatrixInv";
  • const GORILLA_INPUTVAR_INTERNAL_PROJECT : string = "ProjectionMatrix";
  • const GORILLA_INPUTVAR_INTERNAL_SCREEN : string = "ScreenMatrix";
  • const GORILLA_MATERIAL_INPUTNAME_DEPTH : string = "DepthTexture";
  • const GORILLA_MATERIAL_INPUTNAME_REFLECTION : string = "ReflectionTexture";
  • const GORILLA_MATERIAL_INPUTNAME_REFRACTION : string = "RefractionTexture";
  • const GORILLA_MATERIAL_INPUTNAME_GEOMETRY : string = "GeometryTexture";
  • const GORILLA_MATERIAL_INPUTNAME_SHADOWMAPX : string = "ShadowMapTexture%%d";
  • const GORILLA_MATERIAL_INPUTNAME_SHADOWMAP0 : string = "ShadowMapTexture0";
  • const GORILLA_MATERIAL_INPUTNAME_SHADOWMAP1 : string = "ShadowMapTexture1";
  • const GORILLA_MATERIAL_INPUTNAME_SHADOWMAP2 : string = "ShadowMapTexture2";
  • const GORILLA_MATERIAL_INPUTNAME_SHADOWMAP3 : string = "ShadowMapTexture3";
  • const GORILLA_MATERIAL_INPUTNAME_SHADOWMAP4 : string = "ShadowMapTexture4";
  • const GORILLA_MATERIAL_INPUTNAME_SHADOWMAP5 : string = "ShadowMapTexture5";
  • const GORILLA_MATERIAL_INPUTNAME_SHADOWMAP6 : string = "ShadowMapTexture6";
  • const GORILLA_MATERIAL_INPUTNAME_SHADOWMAP7 : string = "ShadowMapTexture7";
  • const GORILLA_SHADERDATA_OPTION_CLIPPLANE : Integer = $1;
  • const GORILLA_SHADERDATA_OPTION_TRANSLUCENT : Integer = $2;

Mics. types

  • type PInputVariable = pointer to TInputVariable;
  • type PTextureListEntry = pointer to TTextureListEntry;
  • type TContextShaderVariableDynArray = array  of TContextShaderVariable;

TInputVariableType

enum TInputVariableType = ( ivtDefault, ivtInternal, ivtReference ) ; Input variable types default - simple variables used for configurating your shader code internal - use variable presets (list above), f.e. "EyePos", "MVPMatrixIT", "CameraMatrix", ... reference - reference to component property values, like "Light1.Color"

TGorillaTexturePoolEntry

Representing an entry inside of a TGorillaTexturePool collection, to easily store multiple textures and not to declare each texture hardcoded in the material class.

Ancestors

Members

Fields

Methods

Properties

TGorillaTexturePool

Defines a default collection pool for texture references. This component should be used in a TMaterial instance in combination with TGorillaBitmapPool instance in the corresponding TMaterialSource.

Ancestors

Members

TGorillaBitmapPoolEntry

Representing a texture bitmap pool entry, to easily store multiple bitmaps without declaring each in the materialsource class. This is the basis for the runtime shader material to build scriptable shaders by a designer.

Ancestors

Members

Fields

Methods

Properties

TGorillaBitmapPool

Defines a default collection pool for texture bitmaps. This component should be used in a TMaterialSource instance in combination with TGorillaTexturePool instance in the corresponding TMaterial.

Ancestors

Members