 |














|
 |
 |
 |
ad::Surface Struct ReferenceChunk of a mesh associated with one material.
More...
#include <mesh.h>
Collaboration diagram for ad::Surface:
[legend]List of all members.
|
Public Member Functions |
| Surface () |
| Initialize the arrays will null pointers.
|
| ~Surface () |
| Destroys any arrays that have been allocated.
|
Public Attributes |
unsigned int | nameLength |
| length of the texture string
|
char * | texturename |
| stores the texture filename and path loaded from the file
|
unsigned int | numVerts |
SuperVertex * | superVerts |
| interleaved vertex array
|
unsigned int | numFaces |
Face * | faces |
| face array
|
void * | userData |
| User-defined data, loaded from UserFunction.
|
Detailed Description
Chunk of a mesh associated with one material.
A surface is the group of geometry that is all mapped to the same material. The geometry is defined by a set of vertices and faces. The surface also contains a pointer to user defined data that gets set when a surface is loaded from a mesh. - See also:
- ad::Face, ad::SuperVertex
The documentation for this struct was generated from the following files:
|
 |