Public Member Functions | Public Attributes | List of all members
Ogre::GLESFBOManager::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)
 
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 145 of file OgreGLESFBORenderTexture.h.

Constructor & Destructor Documentation

◆ RBFormat()

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

Definition at line 147 of file OgreGLESFBORenderTexture.h.

Member Function Documentation

◆ operator<()

bool Ogre::GLESFBOManager::RBFormat::operator< ( const RBFormat other) const

Definition at line 155 of file OgreGLESFBORenderTexture.h.

References format, height, samples, and width.

Member Data Documentation

◆ format

GLenum Ogre::GLESFBOManager::RBFormat::format

Definition at line 150 of file OgreGLESFBORenderTexture.h.

Referenced by operator<().

◆ height

size_t Ogre::GLESFBOManager::RBFormat::height

Definition at line 152 of file OgreGLESFBORenderTexture.h.

Referenced by operator<().

◆ samples

uint Ogre::GLESFBOManager::RBFormat::samples

Definition at line 153 of file OgreGLESFBORenderTexture.h.

Referenced by operator<().

◆ width

size_t Ogre::GLESFBOManager::RBFormat::width

Definition at line 151 of file OgreGLESFBORenderTexture.h.

Referenced by operator<().


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

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15