Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::mesh::submesh Struct Reference

Structure describing an individual "piece" of the mesh, often grouped by material, but can be any arbitrary collection of triangles. More...

#include <mesh.h>

Public Attributes

uint32_t data_group_id {0}
 < The unique user assigned "data group" that can be used to separate submeshes.
 
int32_t vertex_start {-1}
 Number of vertices included in this batch.
 
uint32_t vertex_count {0}
 The initial face, from the index buffer, to render in this batch.
 
int32_t face_start {-1}
 Number of faces to render in this batch.
 
uint32_t face_count {0}
 
std::string node_id {}
 
math::bbox bbox {}
 
bool skinned {}
 

Detailed Description

Structure describing an individual "piece" of the mesh, often grouped by material, but can be any arbitrary collection of triangles.

Definition at line 316 of file mesh.h.

Member Data Documentation

◆ bbox

math::bbox unravel::mesh::submesh::bbox {}

Definition at line 331 of file mesh.h.

◆ data_group_id

uint32_t unravel::mesh::submesh::data_group_id {0}

< The unique user assigned "data group" that can be used to separate submeshes.

The beginning vertex for this batch.

Definition at line 319 of file mesh.h.

◆ face_count

uint32_t unravel::mesh::submesh::face_count {0}

Definition at line 327 of file mesh.h.

◆ face_start

int32_t unravel::mesh::submesh::face_start {-1}

Number of faces to render in this batch.

Definition at line 325 of file mesh.h.

◆ node_id

std::string unravel::mesh::submesh::node_id {}

Definition at line 329 of file mesh.h.

◆ skinned

bool unravel::mesh::submesh::skinned {}

Definition at line 333 of file mesh.h.

◆ vertex_count

uint32_t unravel::mesh::submesh::vertex_count {0}

The initial face, from the index buffer, to render in this batch.

Definition at line 323 of file mesh.h.

◆ vertex_start

int32_t unravel::mesh::submesh::vertex_start {-1}

Number of vertices included in this batch.

Definition at line 321 of file mesh.h.


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