Open CASCADE Technology  7.1.0.beta
Public Member Functions | Static Public Member Functions

OpenGl_TextureFormat Class Reference

Stores parameters of OpenGL texture format. More...

#include <OpenGl_Texture.hxx>

Public Member Functions

GLenum Format () const
 Returns OpenGL format of the pixel data. More...
 
GLint Internal () const
 Returns OpenGL internal format of the pixel data. More...
 
GLint DataType () const
 Returns OpenGL data type of the pixel data. More...
 

Static Public Member Functions

template<class T , int N>
static OpenGl_TextureFormat Create ()
 Returns texture format for specified type and number of channels. More...
 

Detailed Description

Stores parameters of OpenGL texture format.

Member Function Documentation

template<class T , int N>
static OpenGl_TextureFormat OpenGl_TextureFormat::Create ( )
inlinestatic

Returns texture format for specified type and number of channels.

GLint OpenGl_TextureFormat::DataType ( ) const
inline

Returns OpenGL data type of the pixel data.

GLenum OpenGl_TextureFormat::Format ( ) const
inline

Returns OpenGL format of the pixel data.

GLint OpenGl_TextureFormat::Internal ( ) const
inline

Returns OpenGL internal format of the pixel data.


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