Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ion::gfx::ProgramInfo< T > Struct Template Reference

A ProgramInfo corresponds to an OpenGL Program Object. More...

#include "openglobjects.h"

Inheritance diagram for ion::gfx::ProgramInfo< T >:
Collaboration diagram for ion::gfx::ProgramInfo< T >:

Classes

struct  Attribute
 An attribute to a vertex shader. More...
 
struct  Uniform
 A uniform variable to a shader stage. More...
 
struct  Varying
 A varying to a fragment shader. More...
 

Public Member Functions

 ProgramInfo ()
 

Public Attributes

GLuint vertex_shader
 The OpenGL id of the vertex shader of the program. More...
 
GLuint fragment_shader
 The OpenGL id of the fragment shader of the program. More...
 
std::vector< Attributeattributes
 The attributes, uniforms and varyings used in the program. More...
 
std::vector< Uniformuniforms
 
std::vector< Varyingvaryings
 
GLboolean delete_status
 The delete, link, and validate status. More...
 
GLboolean link_status
 
GLboolean validate_status
 
std::string info_log
 The latest info log of the program. More...
 

Detailed Description

template<typename T>
struct ion::gfx::ProgramInfo< T >

A ProgramInfo corresponds to an OpenGL Program Object.

Definition at line 125 of file openglobjects.h.

Constructor & Destructor Documentation

template<typename T >
ion::gfx::ProgramInfo< T >::ProgramInfo ( )
inline

Definition at line 184 of file openglobjects.h.

Member Data Documentation

template<typename T >
std::vector<Attribute> ion::gfx::ProgramInfo< T >::attributes

The attributes, uniforms and varyings used in the program.

Definition at line 195 of file openglobjects.h.

template<typename T >
GLboolean ion::gfx::ProgramInfo< T >::delete_status

The delete, link, and validate status.

Definition at line 199 of file openglobjects.h.

template<typename T >
GLuint ion::gfx::ProgramInfo< T >::fragment_shader

The OpenGL id of the fragment shader of the program.

Definition at line 193 of file openglobjects.h.

template<typename T >
std::string ion::gfx::ProgramInfo< T >::info_log

The latest info log of the program.

Definition at line 203 of file openglobjects.h.

template<typename T >
GLboolean ion::gfx::ProgramInfo< T >::link_status

Definition at line 200 of file openglobjects.h.

template<typename T >
std::vector<Uniform> ion::gfx::ProgramInfo< T >::uniforms

Definition at line 196 of file openglobjects.h.

template<typename T >
GLboolean ion::gfx::ProgramInfo< T >::validate_status

Definition at line 201 of file openglobjects.h.

template<typename T >
std::vector<Varying> ion::gfx::ProgramInfo< T >::varyings

Definition at line 197 of file openglobjects.h.

template<typename T >
GLuint ion::gfx::ProgramInfo< T >::vertex_shader

The OpenGL id of the vertex shader of the program.

Definition at line 191 of file openglobjects.h.


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