OGRE  2.2.4
Object-Oriented Graphics Rendering Engine
Ogre::BasicBlock Struct Reference

#include <OgreHlmsDatablock.h>

+ Inheritance diagram for Ogre::BasicBlock:

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
 Render-System specific data. More...
 
void * mRsData
 

Constructor & Destructor Documentation

◆ BasicBlock()

Ogre::BasicBlock::BasicBlock ( uint8  blockType)

Member Data Documentation

◆ mAllowGlobalDefaults

uint8 Ogre::BasicBlock::mAllowGlobalDefaults

When zero, HlmsManager cannot override the block's values with enforced global settings.

See also
HlmsBasicBlock (such as lower quality texture filtering or turning off depth checks for debugging)

Referenced by Ogre::HlmsSamplerblock::operator!=(), Ogre::HlmsMacroblock::operator!=(), and Ogre::HlmsBlendblock::operator!=().

◆ mBlockType

uint8 Ogre::BasicBlock::mBlockType

◆ mId

uint16 Ogre::BasicBlock::mId

The mId is only valid while mRefCount > 0; which means mRsData may contain valid data, else it's null.

◆ mLifetimeId

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)

◆ mRefCount

uint16 Ogre::BasicBlock::mRefCount

Render-System specific data.

◆ mRsData

void* Ogre::BasicBlock::mRsData

The documentation for this struct was generated from the following file: