![]() |
OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Contains information needed by the UI (2D) for OpenGL ES 2.0. More...
#include <OgreHlmsLowLevelDatablock.h>
Static Public Member Functions | |
static const char * | getCmpString (CompareFunction compareFunction) |
Public Attributes | |
uint16 | mMacroblockHash [2] |
Material * | mProxyMaterial |
float | mShadowConstantBias |
uint32 | mTextureHash |
uint8 | mType |
Friends | |
class | HlmsLowLevel |
Contains information needed by the UI (2D) for OpenGL ES 2.0.
Ogre::HlmsLowLevelDatablock::HlmsLowLevelDatablock | ( | IdString | name, |
Hlms * | creator, | ||
const HlmsMacroblock * | macroblock, | ||
const HlmsBlendblock * | blendblock, | ||
const HlmsParamVec & | params | ||
) |
|
virtual |
|
inherited |
|
inherited |
Calculates the hashes needed for sorting by the RenderQueue (i.e. mTextureHash)
Reimplemented in Ogre::HlmsPbsDatablock, Ogre::HlmsPbsMobileDatablock, Ogre::HlmsUnlitDatablock, and Ogre::HlmsUnlitMobileDatablock.
|
inherited |
Creates a copy of this datablock with the same settings, but a different name.
name | Name of the cloned datablock. |
|
inherited |
|
inlineinherited |
|
staticinherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
Reimplemented in Ogre::HlmsPbsDatablock.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info
|
virtualinherited |
folderPath | Folder where to dump the textures. |
savedTextures | [in/out] Set of texture names. Textures whose name is already in the set won't be saved again. Textures that were saved will be inserted into the set. |
saveOitd | When true, we will download the texture from GPU and save it in OITD format. OITD is faster to load as it's stored in Ogre's native format it understands, but it cannot be opened by traditional image editors; also OITD is not backwards compatible with older versions of Ogre. |
saveOriginal | When true, we will attempt to read the raw filestream of the original texture and save it (i.e. copy the original png/dds/etc file). |
Reimplemented in Ogre::HlmsPbsDatablock.
|
virtualinherited |
Sets the alpha test to the given compare function.
CMPF_ALWAYS_PASS means disabled.
compareFunction | Compare function to use. Default is CMPF_ALWAYS_PASS, which means disabled. Note: CMPF_ALWAYS_FAIL is not supported. Set a negative threshold to workaround this issue. |
Alpha test's threshold.
threshold | Value typically in the range [0; 1) |
Reimplemented in Ogre::HlmsPbsDatablock, and Ogre::HlmsPbsMobileDatablock.
|
inherited |
Sets a new blendblock that matches the same parameter as the input.
Decreases the reference count of the previous mBlendblock. Runs an O(N) search to get the right block. Calling this function triggers a HlmsDatablock::flushRenderables
blendblock | @See HlmsManager::getBlendblock |
casterBlock | True to directly set the blendblock to be used during the shadow mapping's caster pass. Note that when false, it will reset the caster block to the same as the regular one. |
|
inherited |
Sets the blendblock from the given pointer that was already retrieved from the HlmsManager.
Unlike the other overload, this operation is O(1). Calling this function triggers a HlmsDatablock::flushRenderables
blendblock | A valid block. The reference count is increased inside this function. |
casterBlock | True to directly set the blendblock to be used during the shadow mapping's caster pass. Note that when false, it will reset the caster block to the same as the regular one. |
|
inherited |
Sets a new macroblock that matches the same parameter as the input.
Decreases the reference count of the previously set one. Runs an O(N) search to get the right block. Calling this function triggers a HlmsDatablock::flushRenderables
macroblock | @See HlmsManager::getMacroblock |
casterBlock | True to directly set the macroblock to be used during the shadow mapping's caster pass. Note that when false, it will automatically reset the caster's block according to HlmsManager::setShadowMappingUseBackFaces setting. |
|
inherited |
Sets the macroblock from the given pointer that was already retrieved from the HlmsManager.
Unlike the other overload, this operation is O(1). Calling this function triggers a HlmsDatablock::flushRenderables
macroblock | A valid block. The reference count is increased inside this function. |
casterBlock | True to directly set the macroblock to be used during the shadow mapping's caster pass. Note that when false, it will automatically reset the caster's block according to HlmsManager::setShadowMappingUseBackFaces setting. |
|
friend |
|
inherited |
Material* Ogre::HlmsLowLevelDatablock::mProxyMaterial |
|
inherited |
|
inherited |
|
inherited |