OGRE  2.2.0unstable
Object-Oriented Graphics Rendering Engine
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, NoDepthBuffer = 1u << 2u }
 

Public Member Functions

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

Public Attributes

uint32 adapterId
 For multi-GPU support. More...
 
PixelFormatGpu colourFormat [OGRE_MAX_MULTIPLE_RENDER_TARGETS]
 PF_NULL if no colour attachment is used. More...
 
PixelFormatGpu depthFormat
 PF_NULL if no depth buffer is used. More...
 
SampleDescription sampleDescription
 FSAA specific settings. More...
 
StencilParams stencilParams
 Stencil support. More...
 
uint8 strongMacroblockBits
 

Detailed Description

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

Padding bytes should be zeroed/copied for properly testing via memcmp.

Member Enumeration Documentation

◆ StrongMacroblockBits

Enumerator
ForceDisableDepthWrites 
InvertVertexWinding 
NoDepthBuffer 

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=()

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

◆ operator==()

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

Member Data Documentation

◆ adapterId

uint32 Ogre::HlmsPassPso::adapterId

For multi-GPU support.

◆ colourFormat

PixelFormatGpu Ogre::HlmsPassPso::colourFormat[OGRE_MAX_MULTIPLE_RENDER_TARGETS]

PF_NULL if no colour attachment is used.

◆ depthFormat

PixelFormatGpu Ogre::HlmsPassPso::depthFormat

PF_NULL if no depth buffer is used.

◆ sampleDescription

SampleDescription Ogre::HlmsPassPso::sampleDescription

FSAA specific settings.

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