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

CPU-side mesh primitive creation attributes. More...

#include <RadientAssets.h>

Public Attributes

const Char * Name = nullptr
 Optional primitive name.
Uint32 FirstIndex = 0
Uint32 IndexCount = 0
IRadientMaterialAsset * pMaterial = nullptr
 Default material for this primitive.

Detailed Description

CPU-side mesh primitive creation attributes.

Member Data Documentation

◆ FirstIndex

Uint32 Diligent::RadientMeshPrimitiveCreateInfo::FirstIndex = 0

Zero-based index element offset in RadientMeshCreateInfo::IndexData.pIndexBuffer, or in the selected geometry's index data when creating a mesh view.

◆ IndexCount

Uint32 Diligent::RadientMeshPrimitiveCreateInfo::IndexCount = 0

Number of indices to draw from the source index buffer or the selected geometry's index data. Must be nonzero.