Castle Game Engine: CastleRenderer: Class TShaderProgramCache

# Class TShaderProgramCache
Description | Hierarchy | Fields | Methods | Properties
## Unit CastleRenderer ## Declaration `type TShaderProgramCache = class(TObject)` ## Description ## Hierarchy TObject TShaderProgramCache ## Overview ### Fields
| `Hash: TShaderCodeHash;`
| `ShaderProgram: TX3DGLSLProgram;`
| `References: Cardinal;`
### Methods
| `destructor Destroy; override;`
## Description ### Fields
| `Hash: TShaderCodeHash;`
`Hash` of TShader code when initializing this shader by LinkProgram. Used to decide when shader needs to be regenerated, and when it can be shared.
| `ShaderProgram: TX3DGLSLProgram;`
Actual GLSL program. May be `Nil` (if it failed to link).
| `References: Cardinal;`
### Methods
| `destructor Destroy; override;`
Generated by PasDoc 0.13.0 on 2015-06-15 04:43:11