A3DMeshData
Fields
A3DUns32 |
m_uiCoordSize |
A3DDouble * |
m_pdCoords |
A3DUns32 |
m_uiNormalSize |
A3DDouble * |
m_pdNormals |
A3DUns32 |
m_uiTextureUVSize |
A3DDouble * |
m_pdTextureUV |
A3DUns32 |
m_uiFaceSize |
A3DUns32 * |
m_puiTriangleCountPerFace |
A3DUns32 * |
m_puiVertexIndicesPerFace |
A3DUns32 * |
m_puiTextureCountPerFace |
A3DUns32 * |
m_puiTextureUVIndicesPerFace |
A3DUns32 |
m_uiStyleIndex |
A3DUns32 * |
m_puiStyleIndexPerFace |
Detailed Description
-
struct
A3DMeshData
Representation of a mesh obtained using A3DRiComputeMesh.
This structure provides a consistent way to access mesh information. Use A3DRiComputeMesh to populate this structure from an A3DRiRepresentationItem entity.
- Version
- 24.0
A fully detailed version of the structure layout and usage is presented in Getting Tessellation using A3DMeshData.
See also
A3DRiComputeMesh
Public Members
-
A3DUns32
m_uiCoordSize
Number of elements in m_pdCoords.
Corresponds to three times the number of vertices.
-
A3DUns32
m_uiNormalSize
Number of elements in m_pdNormals.
Corresponds to three times the number of vertices.
-
A3DUns32
m_uiTextureUVSize
The number of elements in m_pdTextureUV.
Corresponds to two times the number of texture coordinates.
-
A3DUns32
m_uiFaceSize
Total number of faces in the mesh.
Determines the size of various other fields in the structure.
-
A3DUns32 *
m_puiTriangleCountPerFace
Array containing the number of triangles per face.
Size is m_uiFaceSize.
-
A3DUns32 *
m_puiVertexIndicesPerFace
Array of vertex indices.
Indices are ordered per face and per triangle. Size depends on m_puiTriangleCountPerFace.
-
A3DUns32 *
m_puiTextureCountPerFace
Array of texture counts for each face.
Size is m_uiFaceSize.
-
A3DUns32 *
m_puiTextureUVIndicesPerFace
Array of texture indices.
Indices are ordered per face and per triangle. Size depends on m_puiTriangleCountPerFace and m_puiTextureCountPerFace.