GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::gltf::Mesh::Primitive Struct Reference

#include <GREM/core/formats/gltf.hpp>

Classes

struct  Extension
struct  Attributes

Public Types

enum class  Mode : uint8_t {
  POINTS = 0 , LINES = 1 , LINE_LOOP = 2 , LINE_STRIP = 3 ,
  TRIANGLES = 4 , TRIANGLE_STRIP = 5 , TRIANGLE_FAN = 6
}

Public Attributes

Attributes attributes
Optional< AccessorIndex > indices
Optional< MaterialIndex > material
Mode mode
ArrayList< Attributes > targets
Extension extensions
json::Value extras

Member Enumeration Documentation

◆ Mode

enum class grem::gltf::Mesh::Primitive::Mode : uint8_t
strong
Enumerator
POINTS 
LINES 
LINE_LOOP 
LINE_STRIP 
TRIANGLES 
TRIANGLE_STRIP 
TRIANGLE_FAN 

Member Data Documentation

◆ attributes

Attributes grem::gltf::Mesh::Primitive::attributes

◆ indices

Optional<AccessorIndex> grem::gltf::Mesh::Primitive::indices

◆ material

Optional<MaterialIndex> grem::gltf::Mesh::Primitive::material

◆ mode

Mode grem::gltf::Mesh::Primitive::mode

◆ targets

ArrayList<Attributes> grem::gltf::Mesh::Primitive::targets

◆ extensions

Extension grem::gltf::Mesh::Primitive::extensions

◆ extras

json::Value grem::gltf::Mesh::Primitive::extras

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