CAST II Game Engine

   DESCRIPTION       FEATURES       SCREENSHOTS       FORUMS       DOCUMENTATION       DOWNLOADS       CONTACTS   
Units
Class Hierarchy
Classes, Interfaces and Objects
Types
Enumerations
Variables
Constants
Functions and Procedures
Identifiers

Class TRenderPass

Unit

C2Materials

Declaration

type TRenderPass = class(TItem)

Description

 

Hierarchy

TItem > TBaseItem

Fields

 NameDescription
PublicAmbient 
PublicApplyCondition 
PublicBlendingState 
PublicDiffuse 
PublicEmissive 
PublicFillShadeMode 
PublicFogColor 
PublicFogDensity 
PublicFogEnd 
PublicFogKind 
PublicFogStart 
PublicGroup 
PublicItems 
PublicLightingState 
PublicLinePattern 
PublicMaxPointSize 
PublicMinPointSize 
PublicPixelShaderIndex 
PublicPointEdgeState 
PublicPointScaleA 
PublicPointScaleB 
PublicPointScaleC 
PublicPointSize 
PublicPower 
PublicSpecular 
PublicStages 
PublicStencilMask 
PublicStencilRef 
PublicStencilState 
PublicStencilWriteMask 
PublicTextureFactor 
PublicTextureWrap 
PublicTotalItems 
PublicVertexDeclaration/ can be sivUnresolved, sivNull
PublicVertexShaderIndex 
PublicZBufferState 

Methods

Overview

Publicconstructor Create(AManager: TItemsManager); override;
Publicdestructor Destroy; override;
Publicfunction AddItem(const Item: TItem): Integer;
Publicprocedure AddProperties(const Result: Props.TProperties); override;
Publicprocedure HandleMessage(const Msg: TMessage); override;
Publicfunction RemoveItem(const Index: Integer): Boolean;
Publicprocedure RequestValidation;
Publicfunction ResolvePixelShader(var Shader: C2Res.TShaderResource): Boolean;
Publicfunction ResolveTexture(const Index: Integer; var Texture: Resources.TImageResource): Boolean;
Publicfunction ResolveVertexShader(var Shader: C2Res.TShaderResource): Boolean;
Publicprocedure SetProperties(Properties: Props.TProperties); override;

Description

Publicconstructor Create(AManager: TItemsManager); override;

Items using this pass

Publicdestructor Destroy; override;

 

Publicfunction AddItem(const Item: TItem): Integer;

/ For internal use only.

Publicprocedure AddProperties(const Result: Props.TProperties); override;

 

Publicprocedure HandleMessage(const Msg: TMessage); override;

 

Publicfunction RemoveItem(const Index: Integer): Boolean;

/ For internal use only.

Publicprocedure RequestValidation;

 

Publicfunction ResolvePixelShader(var Shader: C2Res.TShaderResource): Boolean;

 

Publicfunction ResolveTexture(const Index: Integer; var Texture: Resources.TImageResource): Boolean;

/ Called from TRenderer.ResolveTexture. For internal use only.

Publicfunction ResolveVertexShader(var Shader: C2Res.TShaderResource): Boolean;

 

Publicprocedure SetProperties(Properties: Props.TProperties); override;

 

Properties

Overview

Publicproperty CompiledPixelShaderConstants[Index: Integer]: OTypes;
Publicproperty CompiledVertexShaderConstants[Index: Integer]: OTypes;
Publicproperty Order: Integer;
Publicproperty PixelShaderConstant[Index: Integer]: string;
Publicproperty TotalPixelShaderConstants: Integer;
Publicproperty TotalStages: Integer;
Publicproperty TotalVertexShaderConstants: Integer;
Publicproperty VertexShaderConstant[Index: Integer]: string;

Description

Publicproperty CompiledPixelShaderConstants[Index: Integer]: OTypes;

 

Publicproperty CompiledVertexShaderConstants[Index: Integer]: OTypes;

 

Publicproperty Order: Integer;

 

Publicproperty PixelShaderConstant[Index: Integer]: string;

 

Publicproperty TotalPixelShaderConstants: Integer;

 

Publicproperty TotalStages: Integer;

 

Publicproperty TotalVertexShaderConstants: Integer;

 

Publicproperty VertexShaderConstant[Index: Integer]: string;

 

Last modified: 4 Jul, 2008
Copyright (C) 2006-2008, casteng.com