OpenStructure
Public Member Functions
Texture Class Reference

#include <texture.hh>

Public Member Functions

 Texture ()
 
 Texture (GLint w, GLint h)
 
 Texture (const Bitmap &b)
 
bool IsValid () const
 
float * data ()
 
GLint width () const
 
GLint height () const
 
GLint format () const
 
GLint type () const
 
GLint border () const
 

Detailed Description

Definition at line 37 of file texture.hh.

Constructor & Destructor Documentation

◆ Texture() [1/3]

Texture ( )
inline

Definition at line 40 of file texture.hh.

◆ Texture() [2/3]

Texture ( GLint  w,
GLint  h 
)
inline

Definition at line 46 of file texture.hh.

◆ Texture() [3/3]

Texture ( const Bitmap b)

Member Function Documentation

◆ border()

GLint border ( ) const
inline

Definition at line 62 of file texture.hh.

◆ data()

float* data ( )
inline

Definition at line 56 of file texture.hh.

◆ format()

GLint format ( ) const
inline

Definition at line 60 of file texture.hh.

◆ height()

GLint height ( ) const
inline

Definition at line 59 of file texture.hh.

◆ IsValid()

bool IsValid ( ) const
inline

Definition at line 54 of file texture.hh.

◆ type()

GLint type ( ) const
inline

Definition at line 61 of file texture.hh.

◆ width()

GLint width ( ) const
inline

Definition at line 58 of file texture.hh.


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