OpenSceneGraph  3.0.1
Public Member Functions | Public Attributes | List of all members
osg::Texture::TextureProfile Struct Reference

Public Member Functions

 TextureProfile (GLenum target)
 
 TextureProfile (GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border)
 
bool operator< (const TextureProfile &rhs) const
 
bool operator== (const TextureProfile &rhs) const
 
void set (GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border)
 
bool match (GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border)
 
void computeSize ()
 

Public Attributes

GLenum _target
 
GLint _numMipmapLevels
 
GLenum _internalFormat
 
GLsizei _width
 
GLsizei _height
 
GLsizei _depth
 
GLint _border
 
unsigned int _size
 

Constructor & Destructor Documentation

osg::Texture::TextureProfile::TextureProfile ( GLenum  target)
inline
osg::Texture::TextureProfile::TextureProfile ( GLenum  target,
GLint  numMipmapLevels,
GLenum  internalFormat,
GLsizei  width,
GLsizei  height,
GLsizei  depth,
GLint  border 
)
inline

Member Function Documentation

void osg::Texture::TextureProfile::computeSize ( )
bool osg::Texture::TextureProfile::match ( GLenum  target,
GLint  numMipmapLevels,
GLenum  internalFormat,
GLsizei  width,
GLsizei  height,
GLsizei  depth,
GLint  border 
)
inline
bool osg::Texture::TextureProfile::operator< ( const TextureProfile rhs) const
inline
bool osg::Texture::TextureProfile::operator== ( const TextureProfile rhs) const
inline
void osg::Texture::TextureProfile::set ( GLint  numMipmapLevels,
GLenum  internalFormat,
GLsizei  width,
GLsizei  height,
GLsizei  depth,
GLint  border 
)
inline

Member Data Documentation

GLint osg::Texture::TextureProfile::_border

Referenced by operator<(), and operator==().

GLsizei osg::Texture::TextureProfile::_depth

Referenced by operator<(), and operator==().

GLsizei osg::Texture::TextureProfile::_height

Referenced by operator<(), and operator==().

GLenum osg::Texture::TextureProfile::_internalFormat

Referenced by operator<(), and operator==().

GLint osg::Texture::TextureProfile::_numMipmapLevels

Referenced by operator<(), and operator==().

unsigned int osg::Texture::TextureProfile::_size

Referenced by operator<().

GLenum osg::Texture::TextureProfile::_target

Referenced by operator<(), and operator==().

GLsizei osg::Texture::TextureProfile::_width

Referenced by operator<(), and operator==().


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

osg logo
Generated at Wed Feb 13 2013 17:59:13 for the OpenSceneGraph by doxygen 1.8.3.1.