Class TGLMultiTextureNode

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TGLMultiTextureNode = class(TGLTextureNode)

Description

Handler for TMultiTextureNode.

This is somewhat special, in that it will use other TGLTextureNode handlers to handle single textures inside — but this is completely hidden from the interface.

Hierarchy

Overview

Methods

Protected class function IsClassForTextureNode(ANode: TAbstractTextureNode): boolean; override;
Protected procedure PrepareCore(State: TX3DGraphTraverseState); override;
Public constructor Create(ARenderer: TGLRenderer; ANode: TX3DNode); override;
Public destructor Destroy; override;
Public function TextureNode: TMultiTextureNode;
Public procedure Unprepare; override;
Public function Bind(const TextureUnit: Cardinal): boolean; override;
Public function Enable(const TextureUnit: Cardinal; Shader: TShader; const Env: TTextureEnv): boolean; override;
Public procedure EnableAll(const TextureUnitsCount: Cardinal; out TexCoordsNeeded: Cardinal; Shader: TShader); override;

Description

Methods

Protected class function IsClassForTextureNode(ANode: TAbstractTextureNode): boolean; override;
 
Protected procedure PrepareCore(State: TX3DGraphTraverseState); override;
 
Public constructor Create(ARenderer: TGLRenderer; ANode: TX3DNode); override;

ANode must be TMultiTextureNode

Public destructor Destroy; override;
 
Public function TextureNode: TMultiTextureNode;
 
Public procedure Unprepare; override;
 
Public function Bind(const TextureUnit: Cardinal): boolean; override;
 
Public function Enable(const TextureUnit: Cardinal; Shader: TShader; const Env: TTextureEnv): boolean; override;
 
Public procedure EnableAll(const TextureUnitsCount: Cardinal; out TexCoordsNeeded: Cardinal; Shader: TShader); override;
 

Generated by PasDoc 0.13.0 on 2014-08-30 12:10:39