Visualization Library

A lightweight C++ OpenGL middleware for 2D/3D graphics
[Home] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Public Attributes

vl::AttribInfo Struct Reference

Structure containing all the info regarding an active vertex attribute, see also GLSLProgram::activeAttribs() More...

#include <GLSL.hpp>

Inheritance diagram for vl::AttribInfo:
vl::Object

List of all members.

Public Member Functions

 AttribInfo (const char *name, EAttributeType type, int size, int location)

Public Attributes

std::string Name
 Name of the active attribute.
EAttributeType Type
 Type as returned by http://www.opengl.org/sdk/docs/man4/xhtml/glGetActiveAttrib.xml.
int Size
 The size of the attribute, in units of the type returned in Type.
int Location
 Location of the active attribute.

Detailed Description

Structure containing all the info regarding an active vertex attribute, see also GLSLProgram::activeAttribs()

Definition at line 63 of file GLSL.hpp.


Constructor & Destructor Documentation

vl::AttribInfo::AttribInfo ( const char *  name,
EAttributeType  type,
int  size,
int  location 
) [inline]

Definition at line 65 of file GLSL.hpp.


Member Data Documentation

std::string vl::AttribInfo::Name

Name of the active attribute.

Definition at line 68 of file GLSL.hpp.

Type as returned by http://www.opengl.org/sdk/docs/man4/xhtml/glGetActiveAttrib.xml.

Definition at line 69 of file GLSL.hpp.

The size of the attribute, in units of the type returned in Type.

Definition at line 70 of file GLSL.hpp.

Location of the active attribute.

Definition at line 71 of file GLSL.hpp.


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

Visualization Library 2011.09.1160 Reference Documentation
Copyright 2005-2011 Michele Bosi. All rights reserved.
Updated on Thu May 2 2013 13:41:28.
Permission is granted to use this page to write and publish articles regarding Visualization Library.