Class TGLShaderTexture

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TGLShaderTexture = class(TGLSingleTextureNode)

Description

no description available, TGLSingleTextureNode description follows

Common class for all single (not multi-texture) texture nodes.

Implements EnableAll method, by calling Enable call. Override only Enable in descendants.

Hierarchy

Overview

Methods

Protected class function IsClassForTextureNode(ANode: TAbstractTextureNode): boolean; override;
Protected procedure PrepareCore(State: TX3DGraphTraverseState); override;
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;

Description

Methods

Protected class function IsClassForTextureNode(ANode: TAbstractTextureNode): boolean; override;
 
Protected procedure PrepareCore(State: TX3DGraphTraverseState); override;
 
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;