This file contains fonction to acces vertex attributes. More...
Go to the source code of this file.
Functions | |
vec4 | OivVertexPosition () |
Get the position of the current vertex. | |
vec3 | OivVertexNormal () |
Get the normal of the current vertex. | |
vec3 | OivVertexTangent () |
Get the tangent of the current vertex. | |
vec4 | OivVertexColor () |
Get the color of the current vertex. | |
vec4 | OivVertexTextureCoordinate (int unit) |
Get the texture coordinate of the current vertex. | |
uint | OivVertexDrawIndex () |
This file contains fonction to acces vertex attributes.
Definition in file oivShapeAttribute.h.
vec4 OivVertexColor | ( | ) |
Get the color of the current vertex.
uint OivVertexDrawIndex | ( | ) |
vec3 OivVertexNormal | ( | ) |
Get the normal of the current vertex.
vec4 OivVertexPosition | ( | ) |
Get the position of the current vertex.
vec3 OivVertexTangent | ( | ) |
Get the tangent of the current vertex.
vec4 OivVertexTextureCoordinate | ( | int | unit | ) |
Get the texture coordinate of the current vertex.
unit | specifies which texture unit between 0 and OivMaxTextureUnit()-1. |