OpenSceneGraph
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

◆ TextureProfile() [1/2]

osg::Texture::TextureProfile::TextureProfile ( GLenum  target)
inline

◆ TextureProfile() [2/2]

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

Member Function Documentation

◆ computeSize()

void osg::Texture::TextureProfile::computeSize ( )

◆ match()

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

◆ operator<()

bool osg::Texture::TextureProfile::operator< ( const TextureProfile rhs) const
inline

◆ operator==()

bool osg::Texture::TextureProfile::operator== ( const TextureProfile rhs) const
inline

◆ set()

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

Member Data Documentation

◆ _border

GLint osg::Texture::TextureProfile::_border

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

◆ _depth

GLsizei osg::Texture::TextureProfile::_depth

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

◆ _height

GLsizei osg::Texture::TextureProfile::_height

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

◆ _internalFormat

GLenum osg::Texture::TextureProfile::_internalFormat

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

◆ _numMipmapLevels

GLint osg::Texture::TextureProfile::_numMipmapLevels

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

◆ _size

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

Referenced by operator<().

◆ _target

GLenum osg::Texture::TextureProfile::_target

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

◆ _width

GLsizei osg::Texture::TextureProfile::_width

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


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