CPU-side mesh creation attributes. More...
#include <RadientAssets.h>
Public Attributes | |
| const Char * | Name = nullptr |
| Mesh name. | |
| const RadientFloat3 * | pPositions = nullptr |
| Vertex positions. Required when VertexCount is not zero. | |
| const RadientFloat3 * | pNormals = nullptr |
| Vertex normals. | |
| const RadientFloat4 * | pTangents = nullptr |
| Vertex tangents. | |
| const RadientFloat2 * | pTexCoords0 = nullptr |
| Primary texture coordinates. | |
| const RadientColorRGBA8 * | pColors0 = nullptr |
| Primary vertex colors as 8-bit RGBA values. | |
| const RadientBoneIndices4 * | pBoneIndices0 = nullptr |
| Four bone indices matching pBoneWeights0. | |
| const RadientFloat4 * | pBoneWeights0 = nullptr |
| Four bone weights matching pBoneIndices0. | |
| Uint32 | VertexCount = 0 |
| Number of vertices. | |
| const void * | pIndices = nullptr |
| Index data. Type is controlled by IndexType. | |
| Uint32 | IndexCount = 0 |
| Number of indices. | |
| RADIENT_INDEX_TYPE | IndexType = RADIENT_INDEX_TYPE_NONE |
| Index type. | |
| const RadientMeshPrimitiveCreateInfo * | pPrimitives = nullptr |
| Mesh primitives. | |
| Uint32 | PrimitiveCount = 0 |
| Number of primitives. | |
CPU-side mesh creation attributes.