OGRE  1.9
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::GL3PlusFBOManager::RBFormat Struct Reference

Stencil and depth renderbuffers of the same format are re-used between surfaces of the same size and format. More...

Public Member Functions

 RBFormat (GLenum inFormat, size_t inWidth, size_t inHeight, uint fsaa)
 
 RBFormat ()
 
bool operator< (const RBFormat &other) const
 

Public Attributes

GLenum format
 
size_t height
 
uint samples
 
size_t width
 

Detailed Description

Stencil and depth renderbuffers of the same format are re-used between surfaces of the same size and format.

This can save a lot of memory when a large amount of rendertargets are used.

Definition at line 132 of file OgreGL3PlusFBORenderTexture.h.

Constructor & Destructor Documentation

Ogre::GL3PlusFBOManager::RBFormat::RBFormat ( GLenum  inFormat,
size_t  inWidth,
size_t  inHeight,
uint  fsaa 
)
inline

Definition at line 134 of file OgreGL3PlusFBORenderTexture.h.

Ogre::GL3PlusFBOManager::RBFormat::RBFormat ( )
inline

Definition at line 137 of file OgreGL3PlusFBORenderTexture.h.

Member Function Documentation

bool Ogre::GL3PlusFBOManager::RBFormat::operator< ( const RBFormat other) const
inline

Definition at line 143 of file OgreGL3PlusFBORenderTexture.h.

References format, height, samples, and width.

Member Data Documentation

GLenum Ogre::GL3PlusFBOManager::RBFormat::format

Definition at line 138 of file OgreGL3PlusFBORenderTexture.h.

Referenced by operator<().

size_t Ogre::GL3PlusFBOManager::RBFormat::height

Definition at line 140 of file OgreGL3PlusFBORenderTexture.h.

Referenced by operator<().

uint Ogre::GL3PlusFBOManager::RBFormat::samples

Definition at line 141 of file OgreGL3PlusFBORenderTexture.h.

Referenced by operator<().

size_t Ogre::GL3PlusFBOManager::RBFormat::width

Definition at line 139 of file OgreGL3PlusFBORenderTexture.h.

Referenced by operator<().


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