MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Kakshya::MeshSubrange Struct Reference

Byte-range descriptor for one submesh within the shared index buffer. More...

#include <MeshAccess.hpp>

+ Collaboration diagram for MayaFlux::Kakshya::MeshSubrange:

Public Member Functions

Region to_region () const
 Convert this subrange to a Region for use in RegionGroup.
 

Public Attributes

bool diffuse_embedded {}
 
std::string diffuse_path
 
uint32_t index_count {}
 
uint32_t index_start {}
 
std::string material_name
 
std::string name
 
uint32_t vertex_offset {}
 Base vertex added to each index (large-mesh batching)
 

Detailed Description

Byte-range descriptor for one submesh within the shared index buffer.

start and end are element indices into the uint32_t index array, not byte offsets. Callers multiply by sizeof(uint32_t) when computing GPU offsets. name and material_name are sourced from the originating file; both may be empty for single-mesh files or loaders that do not expose names.

Definition at line 17 of file MeshAccess.hpp.


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