Program Class Reference

#include <shaders.h>

Inheritance diagram for Program:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void Attach (Shader *shd)
ShaderAttachedShader (int i)
GLsizei AttachedShaders (void) const
void Attribute (int index, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
void BindAttribute (int index, const char *name)
void Del (void)
void Detach (Shader *shd)
void Gen (void)
std::string InfoLog (void)
bool IsLinked (void) const
bool Link (void)
void Parameter (GLenum pname, int value)
 Program (void)
void Uniform (const char *name, const vcg::Point4f &p)
void Uniform (const char *name, const vcg::Point3f &p)
void Uniform (const char *name, const vcg::Point2f &p)
void Uniform (const char *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
void Uniform (const char *name, GLfloat x, GLfloat y, GLfloat z)
void Uniform (const char *name, GLfloat x, GLfloat y)
void Uniform (const char *name, GLfloat x)
void Uniform (const char *name, GLint x, GLint y, GLint z, GLint w)
void Uniform (const char *name, GLint x, GLint y, GLint z)
void Uniform (const char *name, GLint x, GLint y)
void Uniform (const char *name, GLint x)

Protected Member Functions

void DoBind (void)
void DoUnbind (void)

Protected Attributes

bool linked
std::set< Shader * > shaders

Detailed Description

Definition at line 386 of file shaders.h.


Constructor & Destructor Documentation

Program::Program ( void   )  [inline]

Definition at line 390 of file shaders.h.


Member Function Documentation

void Program::Attach ( Shader shd  )  [inline]

Definition at line 408 of file shaders.h.

Shader* Program::AttachedShader ( int  i  )  [inline]

Definition at line 429 of file shaders.h.

GLsizei Program::AttachedShaders ( void   )  const [inline]

Definition at line 424 of file shaders.h.

void Program::Attribute ( int  index,
GLfloat  x,
GLfloat  y,
GLfloat  z,
GLfloat  w 
) [inline]

Definition at line 551 of file shaders.h.

void Program::BindAttribute ( int  index,
const char *  name 
) [inline]

Definition at line 556 of file shaders.h.

void Program::Del ( void   )  [inline, virtual]

Implements GLObject.

Definition at line 401 of file shaders.h.

void Program::Detach ( Shader shd  )  [inline]

Definition at line 417 of file shaders.h.

void Program::DoBind ( void   )  [inline, protected, virtual]

Implements Bindable.

Definition at line 565 of file shaders.h.

void Program::DoUnbind ( void   )  [inline, protected, virtual]

Implements Bindable.

Definition at line 574 of file shaders.h.

void Program::Gen ( void   )  [inline, virtual]

Implements GLObject.

Definition at line 395 of file shaders.h.

std::string Program::InfoLog ( void   )  [inline]

Definition at line 469 of file shaders.h.

bool Program::IsLinked ( void   )  const [inline]

Definition at line 464 of file shaders.h.

bool Program::Link ( void   )  [inline]

Definition at line 440 of file shaders.h.

void Program::Parameter ( GLenum  pname,
int  value 
) [inline]

Definition at line 546 of file shaders.h.

void Program::Uniform ( const char *  name,
const vcg::Point4f p 
) [inline]

Definition at line 540 of file shaders.h.

void Program::Uniform ( const char *  name,
const vcg::Point3f p 
) [inline]

Definition at line 534 of file shaders.h.

void Program::Uniform ( const char *  name,
const vcg::Point2f p 
) [inline]

Definition at line 528 of file shaders.h.

void Program::Uniform ( const char *  name,
GLfloat  x,
GLfloat  y,
GLfloat  z,
GLfloat  w 
) [inline]

Definition at line 522 of file shaders.h.

void Program::Uniform ( const char *  name,
GLfloat  x,
GLfloat  y,
GLfloat  z 
) [inline]

Definition at line 516 of file shaders.h.

void Program::Uniform ( const char *  name,
GLfloat  x,
GLfloat  y 
) [inline]

Definition at line 510 of file shaders.h.

void Program::Uniform ( const char *  name,
GLfloat  x 
) [inline]

Definition at line 504 of file shaders.h.

void Program::Uniform ( const char *  name,
GLint  x,
GLint  y,
GLint  z,
GLint  w 
) [inline]

Definition at line 498 of file shaders.h.

void Program::Uniform ( const char *  name,
GLint  x,
GLint  y,
GLint  z 
) [inline]

Definition at line 492 of file shaders.h.

void Program::Uniform ( const char *  name,
GLint  x,
GLint  y 
) [inline]

Definition at line 486 of file shaders.h.

void Program::Uniform ( const char *  name,
GLint  x 
) [inline]

Definition at line 480 of file shaders.h.


Member Data Documentation

bool Program::linked [protected]

Definition at line 563 of file shaders.h.

std::set<Shader *> Program::shaders [protected]

Definition at line 562 of file shaders.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:22:18 2013