CMSC23700 Common Code Library
Support code for CS23700 programming projects
cs237::__detail::texture_base Class Reference

#include <cs237-texture.hxx>

Inherited by cs237::texture1D, and cs237::texture2D.

Public Member Functions

GLuint Id () const
 
GLenum Target () const
 
void Bind ()
 bind this texture as the current texture More...
 
void Parameter (GLenum param, GLenum value)
 set texture parameter values More...
 
void Parameter (GLenum param, GLint value)
 
void Parameter (GLenum param, color4f value)
 

Protected Member Functions

 texture_base (GLenum target)
 

Protected Attributes

GLenum _target
 

Constructor & Destructor Documentation

cs237::__detail::texture_base::texture_base ( GLenum  target)
protected

Member Function Documentation

void cs237::__detail::texture_base::Bind ( )

bind this texture as the current texture

GLuint cs237::__detail::texture_base::Id ( ) const
inline
void cs237::__detail::texture_base::Parameter ( GLenum  param,
GLenum  value 
)

set texture parameter values

void cs237::__detail::texture_base::Parameter ( GLenum  param,
GLint  value 
)
void cs237::__detail::texture_base::Parameter ( GLenum  param,
color4f  value 
)
GLenum cs237::__detail::texture_base::Target ( ) const
inline

Member Data Documentation

GLenum cs237::__detail::texture_base::_target
protected

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