Introduction
Units
Class Hierarchy
Classes, Interfaces, Objects and Records
Types
Variables
Constants
Functions and Procedures
Identifiers
CastleRenderer
type TBumpMappingRendererList = class(TResourceRendererList)
function NodeIndex(ANode: TAppearanceNode): Integer;
function Node(ANode: TAppearanceNode): TBumpMappingRenderer;
procedure Prepare(State: TX3DGraphTraverseState; ARenderer: TGLRenderer);
function Enable(State: TX3DGraphTraverseState; var BoundTextureUnits: Cardinal; Shader: TShader): TBumpMappingRenderer;
property Items[Index:Integer]: TBumpMappingRenderer read GetItems;
Looks for item with given Node. Returns -1 if not found.
Looks for item with given Node. Returns Nil if not found.
Nil
If this State contains appropriate TAppearanceNode, this will create and prepare TBumpMappingRenderer instance for it (if one doesn't exist already).
If this State contains appropriate TAppearanceNode, and TBumpMappingRenderer instance is prepared for this Node, we will call it's Enable method here.
We return the TBumpMappingRenderer instance only if it existed and it's Enable method returned True. Otherwise, we return Nil.
True