OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
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.
 
uint8 mBlockType
 
uint16 mId
 The mId is only valid while mRefCount > 0; which means mRsData may contain valid data, else it's null.
 
uint16 mLifetimeId
 Except for HlmsSamplerblocks, mLifetimeId is valid throghout the entire life of HlmsManager.
 
uint16 mRefCount
 Render-System specific data.
 
voidmRsData
 

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)

◆ 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: