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 successfull 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; out TexCoordsNeeded: Cardinal; Shader: TShader); override; |
|
Generated by PasDoc 0.13.0 on 2014-04-30 22:06:44
|