CL_ProgramAttribute Class Reference
[clanDisplay Display]

OpenGL program object vertex attribute information class. More...

#include <program_attribute.h>

List of all members.

Public Member Functions

Construction

 CL_ProgramAttribute ()
 Constructs a null instance.
 CL_ProgramAttribute (const CL_StringRef &name, int size, int type, int location)
 Constructs a ProgramAttribute.
 ~CL_ProgramAttribute ()
Attributes

bool is_null () const
 Returns true if this object is invalid.
void throw_if_null () const
 Throw an exception if this object is invalid.
CL_StringRef get_name () const
 Get attribute name.
int get_size () const
 Get attribute size.
int get_type () const
 Get attribute OpenGL type.
int get_location () const
 Get attribute location.

Detailed Description

OpenGL program object vertex attribute information class.


Constructor & Destructor Documentation

CL_ProgramAttribute::CL_ProgramAttribute (  ) 

Constructs a null instance.

CL_ProgramAttribute::CL_ProgramAttribute ( const CL_StringRef name,
int  size,
int  type,
int  location 
)

Constructs a ProgramAttribute.

Parameters:
name = String Ref
size = value
type = value
location = value
CL_ProgramAttribute::~CL_ProgramAttribute (  ) 

Member Function Documentation

int CL_ProgramAttribute::get_location (  )  const

Get attribute location.

CL_StringRef CL_ProgramAttribute::get_name (  )  const

Get attribute name.

int CL_ProgramAttribute::get_size (  )  const

Get attribute size.

int CL_ProgramAttribute::get_type (  )  const

Get attribute OpenGL type.

bool CL_ProgramAttribute::is_null (  )  const [inline]

Returns true if this object is invalid.

void CL_ProgramAttribute::throw_if_null (  )  const

Throw an exception if this object is invalid.


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