OpenSceneGraph  3.5.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
GLsizei osg::Texture::TextureProfile::_depth
GLsizei osg::Texture::TextureProfile::_height
GLenum osg::Texture::TextureProfile::_internalFormat
GLint osg::Texture::TextureProfile::_numMipmapLevels
unsigned int osg::Texture::TextureProfile::_size
GLenum osg::Texture::TextureProfile::_target
GLsizei osg::Texture::TextureProfile::_width

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

osg logo
Generated at Wed Nov 11 2015 22:14:44 for the OpenSceneGraph by doxygen 1.8.10.