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

#include <mesh.h>

Public Attributes

int32_t cache_position {-1}
 < The position of the vertex in the pseudo-cache.
 
float vertex_score {0.0f}
 Total number of triangles that reference this vertex that have not yet been added.
 
uint32_t unused_triangle_references {0}
 List of all triangles referencing this vertex.
 
std::vector< uint32_t > triangle_references
 

Detailed Description

Definition at line 883 of file mesh.h.

Member Data Documentation

◆ cache_position

int32_t unravel::mesh::optimizer_vertex_info::cache_position {-1}

< The position of the vertex in the pseudo-cache.

The score associated with this vertex.

Definition at line 886 of file mesh.h.

◆ triangle_references

std::vector<uint32_t> unravel::mesh::optimizer_vertex_info::triangle_references

Definition at line 892 of file mesh.h.

◆ unused_triangle_references

uint32_t unravel::mesh::optimizer_vertex_info::unused_triangle_references {0}

List of all triangles referencing this vertex.

Definition at line 890 of file mesh.h.

◆ vertex_score

float unravel::mesh::optimizer_vertex_info::vertex_score {0.0f}

Total number of triangles that reference this vertex that have not yet been added.

Definition at line 888 of file mesh.h.


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