Visualization Library v1.0.3

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [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 v1.0.3 Reference Documentation
Copyright Michele Bosi. All rights reserved.
Updated on Tue Feb 7 2017 00:55:10.
Permission is granted to use this page to write and publish articles regarding Visualization Library.