Euphoria
geom.extract.h
Go to the documentation of this file.
1#pragma once
2
3namespace eu::core
4{
5struct Geom;
6struct CompiledGeomVertexAttributes;
7} // namespace eu::core
8
9namespace eu::core
10{
11
18{
19 Float
20};
21
29
32{
33 std::vector<char> data;
34 std::size_t stride;
35
36 std::vector<ExtractedAttribute> attributes;
37 std::vector<u32> indices;
39};
40
42
47} // namespace eu::core
ExtractedAttributeType
The type of a extracted attribute, like 'float'.
ExtractedGeom extract_geom(const Geom &geom, const CompiledGeomVertexAttributes &layout)
std::int32_t i32
Definition ints.h:9
A list of CompiledVertexLayoutNoNameList (for geom)
A extracted attribute like float 3
ExtractedAttributeType type
Extracted data from a Geom for a specific shader layout so a CompiledGeom can be created.
std::vector< ExtractedAttribute > attributes
std::vector< u32 > indices
std::vector< char > data
vertices and triangles
Definition geom.h:30