OGRE-Next
4.0.0unstable
Object-Oriented Graphics Rendering Engine
|
#include <OgreHlmsDatablock.h>
Public Member Functions | |
BasicBlock (uint8 blockType) | |
Public Attributes | |
uint8 | mAllowGlobalDefaults |
When zero, HlmsManager cannot override the block's values with enforced global settings. More... | |
uint8 | mBlockType |
uint16 | mId |
The mId is only valid while mRefCount > 0; which means mRsData may contain valid data, else it's null. More... | |
uint16 | mLifetimeId |
Except for HlmsSamplerblocks, mLifetimeId is valid throghout the entire life of HlmsManager. More... | |
uint16 | mRefCount |
void * | mRsData |
Render-System specific data. More... | |
Ogre::BasicBlock::BasicBlock | ( | uint8 | blockType | ) |
uint8 Ogre::BasicBlock::mAllowGlobalDefaults |
When zero, HlmsManager cannot override the block's values with enforced global settings.
(such as lower quality texture filtering or turning off depth checks for debugging)
Referenced by Ogre::HlmsBlendblock::operator!=(), Ogre::HlmsMacroblock::operator!=(), and Ogre::HlmsSamplerblock::operator!=().
uint8 Ogre::BasicBlock::mBlockType |
uint16 Ogre::BasicBlock::mId |
The mId is only valid while mRefCount > 0; which means mRsData may contain valid data, else it's null.
uint16 Ogre::BasicBlock::mLifetimeId |
Except for HlmsSamplerblocks, mLifetimeId is valid throghout the entire life of HlmsManager.
This guarantees HlmsMacroblock & HlmsBlendblock pointers are always valid, although they may be inactive (i.e. mId invalid, mRefCount = 0 and mRsData = 0)
uint16 Ogre::BasicBlock::mRefCount |
void* Ogre::BasicBlock::mRsData |
Render-System specific data.