scimesh 0.3.2
Headless CPU-only 3D software renderer for scientific mesh visualization
Loading...
Searching...
No Matches
scimesh::gltf_io::detail::PackedMesh Struct Reference

One mesh, packed into glTF-ready flat arrays. More...

#include <gltf_io.h>

Public Attributes

std::vector< float > positions
 
std::vector< float > normals
 
std::vector< uint8_t > colors
 
std::vector< uint32_t > indices
 
bool has_colors = false
 
float base_r = 1.0f
 
float base_g = 1.0f
 
float base_b = 1.0f
 
float base_a = 1.0f
 

Detailed Description

One mesh, packed into glTF-ready flat arrays.

Definition at line 89 of file gltf_io.h.

Member Data Documentation

◆ base_a

float scimesh::gltf_io::detail::PackedMesh::base_a = 1.0f

Definition at line 95 of file gltf_io.h.

◆ base_b

float scimesh::gltf_io::detail::PackedMesh::base_b = 1.0f

Definition at line 95 of file gltf_io.h.

◆ base_g

float scimesh::gltf_io::detail::PackedMesh::base_g = 1.0f

Definition at line 95 of file gltf_io.h.

◆ base_r

float scimesh::gltf_io::detail::PackedMesh::base_r = 1.0f

Definition at line 95 of file gltf_io.h.

◆ colors

std::vector<uint8_t> scimesh::gltf_io::detail::PackedMesh::colors

Definition at line 92 of file gltf_io.h.

◆ has_colors

bool scimesh::gltf_io::detail::PackedMesh::has_colors = false

Definition at line 94 of file gltf_io.h.

◆ indices

std::vector<uint32_t> scimesh::gltf_io::detail::PackedMesh::indices

Definition at line 93 of file gltf_io.h.

◆ normals

std::vector<float> scimesh::gltf_io::detail::PackedMesh::normals

Definition at line 91 of file gltf_io.h.

◆ positions

std::vector<float> scimesh::gltf_io::detail::PackedMesh::positions

Definition at line 90 of file gltf_io.h.


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