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

Cube mesh creation attributes. More...

#include <RadientMeshPrimitives.h>

Public Attributes

const Char * Name = nullptr
 Mesh name.
Float32 Size = 1.f
 Cube size. The cube is centered at the origin.
Uint32 Subdivisions = 1
 Number of subdivisions per face. Zero uses one subdivision.
IRadientMaterialAssetpMaterial = nullptr
 Default material assigned to the cube primitive.
const RadientColorRGBA8pFaceColors = nullptr

Detailed Description

Cube mesh creation attributes.

Member Data Documentation

◆ pFaceColors

const RadientColorRGBA8* Diligent::RadientCubeMeshCreateInfo::pFaceColors = nullptr

Optional six face colors in +X, -X, +Y, -Y, +Z, -Z order. When null, the cube mesh does not include vertex colors.