|
| HlmsLowLevelDatablock (IdString name, Hlms *creator, const HlmsMacroblock *macroblock, const HlmsBlendblock *blendblock, const HlmsParamVec ¶ms) |
|
virtual | ~HlmsLowLevelDatablock () |
|
| HlmsDatablock (IdString name, Hlms *creator, const HlmsMacroblock *macroblock, const HlmsBlendblock *blendblock, const HlmsParamVec ¶ms) |
|
virtual | ~HlmsDatablock () |
|
void | _linkRenderable (Renderable *renderable) |
|
void | _unlinkRenderable (Renderable *renderable) |
|
virtual void | calculateHash () |
| Calculates the hashes needed for sorting by the RenderQueue (i.e. mTextureHash) More...
|
|
HlmsDatablock * | clone (String name) const |
| Creates a copy of this datablock with the same settings, but a different name. More...
|
|
bool | getAlphaHashing () const |
|
CompareFunction | getAlphaTest () const |
|
bool | getAlphaTestShadowCasterOnly () const |
|
float | getAlphaTestThreshold () const |
|
const HlmsBlendblock * | getBlendblock (bool casterBlock=false) const |
|
Hlms * | getCreator () const |
|
int32 | getCustomPieceFileIdHash (ShaderType shaderType) const |
| Returns the internal ID generated by setCustomPieceFile() and setCustomPieceCodeFromMemory(). More...
|
|
const String & | getCustomPieceFileStr (ShaderType shaderType) const |
| Returns the filename argument set to setCustomPieceFile() and setCustomPieceCodeFromMemory(). More...
|
|
virtual ColourValue | getDiffuseColour () const |
| Returns the closest match for a diffuse colour, if applicable by the actual implementation. More...
|
|
virtual TextureGpu * | getDiffuseTexture () const |
| Returns the closest match for a diffuse texture, if applicable by the actual implementation. More...
|
|
virtual ColourValue | getEmissiveColour () const |
| Returns the closest match for a emissive colour, if applicable by the actual implementation. More...
|
|
virtual TextureGpu * | getEmissiveTexture () const |
| Returns the closest match for a emissive texture, if applicable by the actual implementation. More...
|
|
void | getFilenameAndResourceGroup (String const **outFilename, String const **outResourceGroup) const |
|
const vector< Renderable * >::type & | getLinkedRenderables () const |
|
const HlmsMacroblock * | getMacroblock (bool casterBlock=false) const |
|
IdString | getName () const |
|
const String * | getNameStr () const |
|
virtual bool | hasCustomShadowMacroblock () const |
|
virtual void | preload () |
| Tells datablock to start loading all of its textures (if not loaded already) and any other resource it may need. More...
|
|
virtual void | saveTextures (const String &folderPath, set< String >::type &savedTextures, bool saveOitd, bool saveOriginal, HlmsTextureExportListener *listener) |
|
void | setAlphaHashing (bool bAlphaHashing) |
| Uses a trick to mimic true Order Independent Transparency alpha blending. More...
|
|
virtual void | setAlphaTest (CompareFunction compareFunction, bool shadowCasterOnly=false, bool useAlphaFromTextures=true) |
| Sets the alpha test to the given compare function. More...
|
|
virtual void | setAlphaTestThreshold (float threshold) |
| Alpha test's threshold. More...
|
|
void | setBlendblock (const HlmsBlendblock &blendblock, bool casterBlock=false, bool overrideCasterBlock=true) |
| Sets a new blendblock that matches the same parameter as the input. More...
|
|
void | setBlendblock (const HlmsBlendblock *blendblock, bool casterBlock=false, bool overrideCasterBlock=true) |
| Sets the blendblock from the given pointer that was already retrieved from the HlmsManager. More...
|
|
void | setCustomPieceCodeFromMemory (const String &filename, const String &shaderCode, ShaderType shaderType) |
| Same as setCustomPieceFile() but sources the code from memory instead of from disk. More...
|
|
void | setCustomPieceFile (const String &filename, const String &resourceGroup, ShaderType shaderType) |
| Sets the filename of a piece file to be parsed from disk. More...
|
|
void | setMacroblock (const HlmsMacroblock ¯oblock, bool casterBlock=false, bool overrideCasterBlock=true) |
| Sets a new macroblock that matches the same parameter as the input. More...
|
|
void | setMacroblock (const HlmsMacroblock *macroblock, bool casterBlock=false, bool overrideCasterBlock=true) |
| Sets the macroblock from the given pointer that was already retrieved from the HlmsManager. More...
|
|
Contains information needed by the UI (2D) for OpenGL ES 2.0.