Diligent Engine
Loading...
Searching...
No Matches
Diligent::RadientMeshCreateInfo Struct Reference

CPU-side mesh creation attributes. More...

#include <RadientAssets.h>

Public Attributes

const Char * Name = nullptr
 Mesh name.
const RadientFloat3pPositions = nullptr
 Vertex positions. Required when VertexCount is not zero.
const RadientFloat3pNormals = nullptr
 Vertex normals.
const RadientFloat4pTangents = nullptr
 Vertex tangents.
const RadientFloat2pTexCoords0 = nullptr
 Primary texture coordinates.
const RadientColorRGBA8pColors0 = nullptr
 Primary vertex colors as 8-bit RGBA values.
const RadientBoneIndices4pBoneIndices0 = nullptr
 Four bone indices matching pBoneWeights0.
const RadientFloat4pBoneWeights0 = 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 RadientMeshPrimitiveCreateInfopPrimitives = nullptr
 Mesh primitives.
Uint32 PrimitiveCount = 0
 Number of primitives.

Detailed Description

CPU-side mesh creation attributes.