All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches

Public Attributes

int32_t numVertices
 Number of vertices for the mesh.
 
const float * pos
 Buffer for position coordinates for the mesh.
 
const float * tex
 Buffer for texture coordinates for the mesh.
 
const float * normal
 Buffer for normal coordinates for the mesh.
 
int32_t numFaces
 Number of triangle primitives for the mesh.
 
const uint32_t * faceIndices
 Buffer for face indices for the mesh.
 

Detailed Description

Vuforia Mesh.

A simple mesh representation that holds per-vertex data and face indices. The face indices consist of integer triplets, where each triplet defines a triangle.

Member Data Documentation

◆ pos

const float* pos

Buffer for position coordinates for the mesh.

Note
Each position consists of three subsequent floats per vertex.

◆ tex

const float* tex

Buffer for texture coordinates for the mesh.

Note
Each texture coordinate consists of two subsequent floats per vertex. This buffer must be set to NULL if the mesh has no texture coordinates.

◆ normal

const float* normal

Buffer for normal coordinates for the mesh.

Note
Each normal consists of three subsequent floats per vertex. This buffer must be set to NULL if the mesh has no normal coordinates.