OpenGL program object uniform variable. More...
#include <program_uniform.h>
Public Member Functions | |
Construction | |
| CL_ProgramUniform () | |
| Constructs a null instance. | |
| CL_ProgramUniform (const CL_StringRef &name, int size, int type, int location) | |
| Constructs a ProgramUniform. | |
| ~CL_ProgramUniform () | |
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 uniform name. | |
| int | get_type () const |
| Get uniform OpenGL type. | |
| int | get_size () const |
| Get uniform size. | |
| int | get_location () const |
| Get uniform location. | |
OpenGL program object uniform variable.
| CL_ProgramUniform::CL_ProgramUniform | ( | ) |
Constructs a null instance.
| CL_ProgramUniform::CL_ProgramUniform | ( | const CL_StringRef & | name, | |
| int | size, | |||
| int | type, | |||
| int | location | |||
| ) |
Constructs a ProgramUniform.
| name | = String Ref | |
| size | = value | |
| type | = value | |
| location | = value |
| CL_ProgramUniform::~CL_ProgramUniform | ( | ) |
| int CL_ProgramUniform::get_location | ( | ) | const |
Get uniform location.
| CL_StringRef CL_ProgramUniform::get_name | ( | ) | const |
Get uniform name.
| int CL_ProgramUniform::get_size | ( | ) | const |
Get uniform size.
| int CL_ProgramUniform::get_type | ( | ) | const |
Get uniform OpenGL type.
| bool CL_ProgramUniform::is_null | ( | ) | const [inline] |
Returns true if this object is invalid.
| void CL_ProgramUniform::throw_if_null | ( | ) | const |
Throw an exception if this object is invalid.
1.7.1