Castle Game Engine: CastleRenderer: Class TGLSingleTextureNode

# Class TGLSingleTextureNode
Description | Hierarchy | Fields | Methods | Properties
## 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 TObject TResourceRenderer TGLTextureNode TGLSingleTextureNode ## Overview ### Fields
| `TextureRGB: boolean;`
### Methods
| `procedure SetTextureRGBFromImage(Image: TEncodedImage);`
| `procedure EnableAll(const TextureUnitsCount: Cardinal; var TextureSlotsUsed: Cardinal; Shader: TShader); override;`
## 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 SetTextureRGBFromImage(Image: TEncodedImage);`
| `procedure EnableAll(const TextureUnitsCount: Cardinal; var TextureSlotsUsed: Cardinal; Shader: TShader); override;`
Generated by PasDoc 0.13.0 on 2015-06-15 04:43:11