OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
Coloroperator() (uint u, uint v)
const Coloroperator() (uint u, uint v) 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 ( )
inline

Definition at line 40 of file texture.hh.

Texture ( GLint  w,
GLint  h 
)
inline

Definition at line 46 of file texture.hh.

Texture ( const Bitmap b)

Member Function Documentation

GLint border ( ) const
inline

Definition at line 65 of file texture.hh.

float* data ( )
inline

Definition at line 59 of file texture.hh.

GLint format ( ) const
inline

Definition at line 63 of file texture.hh.

GLint height ( ) const
inline

Definition at line 62 of file texture.hh.

bool IsValid ( ) const
inline

Definition at line 54 of file texture.hh.

Color& operator() ( uint  u,
uint  v 
)
inline

Definition at line 56 of file texture.hh.

const Color& operator() ( uint  u,
uint  v 
) const
inline

Definition at line 57 of file texture.hh.

GLint type ( ) const
inline

Definition at line 64 of file texture.hh.

GLint width ( ) const
inline

Definition at line 61 of file texture.hh.


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