Foundation
Loading...
Searching...
No Matches
Public Attributes | List of all members
ModelViewer::MeshAllocation Struct Reference

#include <Mesh.hpp>

Public Attributes

VirtualAllocation vertices {kInvalidVirtualAllocation}
 
uint32_t vertexCount
 
uint32_t vertexRawOffset
 
uint32_t lodCount
 
MeshLodAllocation lods [kMaxSceneMeshLodCount]
 
VirtualAllocation self {kInvalidVirtualAllocation}
 
uint32_t selfRawOffset
 

Detailed Description

4-byte aligned. Allocated in the Const buffer in the GPUScene VirtualAllocation fields are unused in the shaders.

Member Data Documentation

◆ lodCount

uint32_t ModelViewer::MeshAllocation::lodCount

◆ lods

MeshLodAllocation ModelViewer::MeshAllocation::lods[kMaxSceneMeshLodCount]

◆ self

VirtualAllocation ModelViewer::MeshAllocation::self {kInvalidVirtualAllocation}

◆ selfRawOffset

uint32_t ModelViewer::MeshAllocation::selfRawOffset

◆ vertexCount

uint32_t ModelViewer::MeshAllocation::vertexCount

◆ vertexRawOffset

uint32_t ModelViewer::MeshAllocation::vertexRawOffset

◆ vertices

VirtualAllocation ModelViewer::MeshAllocation::vertices {kInvalidVirtualAllocation}

The documentation for this struct was generated from the following file: