OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::HlmsPassPso Struct Reference

IT'S MEMBERS MUST BE KEPT POD (Otherwise HlmsPso needs to be modified). More...

#include <OgreHlmsPso.h>

Public Types

enum  StrongMacroblockBits { ForceDisableDepthWrites = 1u << 0u , InvertVertexWinding = 1u << 1u }
 

Public Member Functions

bool hasStrongMacroblock (void) const
 
bool operator!= (const HlmsPassPso &_r) const
 
bool operator< (const HlmsPassPso &_r) const
 
bool operator== (const HlmsPassPso &_r) const
 

Public Attributes

uint32 adapterId
 For multi-GPU support.
 
PixelFormat colourFormat [OGRE_MAX_MULTIPLE_RENDER_TARGETS]
 PF_NULL if no colour attachment is used.
 
PixelFormat depthFormat
 PF_NULL if no depth buffer is used.
 
bool hwGamma [OGRE_MAX_MULTIPLE_RENDER_TARGETS]
 
uint32 multisampleCount
 MSAA specific settings.
 
uint32 multisampleQuality
 
uint8 padding0 [3]
 
StencilParams stencilParams
 Stencil support.
 
uint8 strongMacroblockBits
 

Detailed Description

IT'S MEMBERS MUST BE KEPT POD (Otherwise HlmsPso needs to be modified).

Padding must be explicit! This way, copy/assignment operators will also copy the padded values which is needed for properly testing via memcmp. Use these Clang params to help you find alignment issues: -Xclang -fdump-record-layouts -Wpadded > dmp.txt 2>err.txt

Member Enumeration Documentation

◆ StrongMacroblockBits

Enumerator
ForceDisableDepthWrites 
InvertVertexWinding 

Member Function Documentation

◆ hasStrongMacroblock()

bool Ogre::HlmsPassPso::hasStrongMacroblock ( void  ) const
inline

References strongMacroblockBits.

◆ operator!=()

bool Ogre::HlmsPassPso::operator!= ( const HlmsPassPso _r) const
inline

◆ operator<()

bool Ogre::HlmsPassPso::operator< ( const HlmsPassPso _r) const
inline

◆ operator==()

bool Ogre::HlmsPassPso::operator== ( const HlmsPassPso _r) const
inline

Member Data Documentation

◆ adapterId

uint32 Ogre::HlmsPassPso::adapterId

For multi-GPU support.

◆ colourFormat

PixelFormat Ogre::HlmsPassPso::colourFormat[OGRE_MAX_MULTIPLE_RENDER_TARGETS]

PF_NULL if no colour attachment is used.

◆ depthFormat

PixelFormat Ogre::HlmsPassPso::depthFormat

PF_NULL if no depth buffer is used.

◆ hwGamma

bool Ogre::HlmsPassPso::hwGamma[OGRE_MAX_MULTIPLE_RENDER_TARGETS]

◆ multisampleCount

uint32 Ogre::HlmsPassPso::multisampleCount

MSAA specific settings.

◆ multisampleQuality

uint32 Ogre::HlmsPassPso::multisampleQuality

◆ padding0

uint8 Ogre::HlmsPassPso::padding0[3]

◆ stencilParams

StencilParams Ogre::HlmsPassPso::stencilParams

Stencil support.

◆ strongMacroblockBits

uint8 Ogre::HlmsPassPso::strongMacroblockBits

Referenced by hasStrongMacroblock().


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