OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
osg::Texture::TextureProfile Struct Reference

#include <Texture.h>

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
 

Detailed Description

Definition at line 886 of file Texture.h.

Constructor & Destructor Documentation

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

Definition at line 888 of file Texture.h.

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

Definition at line 898 of file Texture.h.

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

Definition at line 957 of file Texture.h.

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

Definition at line 918 of file Texture.h.

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

Definition at line 930 of file Texture.h.

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

Definition at line 941 of file Texture.h.

Member Data Documentation

GLint osg::Texture::TextureProfile::_border

Definition at line 982 of file Texture.h.

GLsizei osg::Texture::TextureProfile::_depth

Definition at line 981 of file Texture.h.

GLsizei osg::Texture::TextureProfile::_height

Definition at line 980 of file Texture.h.

GLenum osg::Texture::TextureProfile::_internalFormat

Definition at line 978 of file Texture.h.

GLint osg::Texture::TextureProfile::_numMipmapLevels

Definition at line 977 of file Texture.h.

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

Definition at line 983 of file Texture.h.

GLenum osg::Texture::TextureProfile::_target

Definition at line 976 of file Texture.h.

GLsizei osg::Texture::TextureProfile::_width

Definition at line 979 of file Texture.h.


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