Class TX3DRendererShape

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TX3DRendererShape = class(TShape)

Description

Shape that can be rendered.

Hierarchy

Overview

Fields

Public ProgramCache: array [TRenderingPass] of TShaderProgramCache;
Public Cache: TShapeCache;

Description

Fields

Public ProgramCache: array [TRenderingPass] of TShaderProgramCache;

Non-nil means that we have obtained TShaderProgramCache instance, with valid Hash and ShaderProgram. Note that ShaderProgram may still be Nil, if it failed to link.

Separate values for each rendering pass, since different rendering passes probably have different BaseLights and so will require different shaders. This makes multi-pass rendering, like for shadow volumes, play nicely with shaders. Otherwise we could recreate shaders at each rendering pass.

Public Cache: TShapeCache;
 

Generated by PasDoc 0.13.0 on 2013-08-17 21:27:13