oiv_include <Inventor/oivShaderStages.h> More...
Go to the source code of this file.
Functions | |
vec4 | OivVertexPosition () |
vec3 | OivVertexNormal () |
vec4 | OivVertexColor () |
vec4 | OivVertexTextureCoordinate (int unit) |
oiv_include <Inventor/oivShaderStages.h>
This file contains fonction to acces vertex attributes.
Definition in file oivShapeAttribute.h.
vec4 OivVertexColor | ( | ) |
Get the color of the current vertex.
vec3 OivVertexNormal | ( | ) |
Get the normal of the current vertex.
vec4 OivVertexPosition | ( | ) |
Get the position 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. |