OpenSceneGraph 3.6.5
osg::Texture::TextureProfile Struct Reference

#include <Texture>

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

◆ _depth

GLsizei osg::Texture::TextureProfile::_depth

◆ _height

GLsizei osg::Texture::TextureProfile::_height

◆ _internalFormat

GLenum osg::Texture::TextureProfile::_internalFormat

◆ _numMipmapLevels

GLint osg::Texture::TextureProfile::_numMipmapLevels

◆ _size

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

◆ _target

GLenum osg::Texture::TextureProfile::_target

◆ _width

GLsizei osg::Texture::TextureProfile::_width

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

osg logo
Generated at Thu Nov 14 2024 00:00:00 for the OpenSceneGraph by doxygen 1.12.0.