Class TGLSingleTextureNode
Unit
CastleRenderer
Declaration
type TGLSingleTextureNode = class(TGLTextureNode)
Description
Common class for all single (not multi-texture) texture nodes.
Implements EnableAll method, by calling Enable call. Override only Enable in descendants.
Hierarchy
Overview
Fields
Methods
Description
Fields
 |
TextureRGB: boolean; |
Determines should texture mode be suited for RGB and grayscale texture. Default false, you should set this in descendant (latest possibility is to set this is a successful Enable call, but usually you want to do it in a Prepare call). You can set it by SetTextureRGBFromImage.
|
Methods
 |
procedure EnableAll(const TextureUnitsCount: Cardinal; var TextureSlotsUsed: Cardinal; Shader: TShader); override; |
|
Generated by PasDoc 0.15.0.
|