Class TGLRenderedTextureNode

Unit

Declaration

type TGLRenderedTextureNode = class(TGL2DTextureNode)

Description

No description available, ancestor TGL2DTextureNode description follows

Handler for 2D textures that have a corresponding OpenGL resource.

Hierarchy

Overview

Fields

Public Width: Cardinal;
Public Height: Cardinal;
Public NeedsMipmaps: boolean;
Public DepthMap: boolean;

Methods

Protected class function IsClassForTextureNode(ANode: TAbstractTextureNode): boolean; override;
Protected procedure PrepareCore(State: TX3DGraphTraverseState); override;
Public function TextureNode: TRenderedTextureNode;
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 function GLName: TGLTextureId; override;
Public procedure Update( const Render: TRenderFromViewFunction; const ProjectionNear, ProjectionFar: Single; var NeedsRestoreViewport: boolean; CurrentViewpoint: TAbstractViewpointNode; CameraViewKnown: boolean; const CameraPosition, CameraDirection, CameraUp: TVector3);

Description

Fields

Public Width: Cardinal;

The actual decided image size and mipmap status.

Public Height: Cardinal;

The actual decided image size and mipmap status.

Public NeedsMipmaps: boolean;
 
Public DepthMap: boolean;
 

Methods

Protected class function IsClassForTextureNode(ANode: TAbstractTextureNode): boolean; override;
 
Protected procedure PrepareCore(State: TX3DGraphTraverseState); override;
 
Public function TextureNode: TRenderedTextureNode;
 
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 function GLName: TGLTextureId; override;
 
Public procedure Update( const Render: TRenderFromViewFunction; const ProjectionNear, ProjectionFar: Single; var NeedsRestoreViewport: boolean; CurrentViewpoint: TAbstractViewpointNode; CameraViewKnown: boolean; const CameraPosition, CameraDirection, CameraUp: TVector3);
 

Generated by PasDoc 0.15.0.