cgv
Loading...
Searching...
No Matches
fx::gltf::Primitive Struct Reference

Public Types

enum class  Mode : uint8_t {
  Points = 0 , Lines = 1 , LineLoop = 2 , LineStrip = 3 ,
  Triangles = 4 , TriangleStrip = 5 , TriangleFan = 6
}
 

Public Attributes

int32_t indices { -1 }
 
int32_t material { -1 }
 
Mode mode { Mode::Triangles }
 
Attributes attributes {}
 
std::vector< Attributes > targets {}
 
nlohmann::json extensionsAndExtras {}
 

Detailed Description

Definition at line 656 of file gltf.h.

Member Enumeration Documentation

◆ Mode

enum class fx::gltf::Primitive::Mode : uint8_t
strong

Definition at line 658 of file gltf.h.

Member Data Documentation

◆ attributes

Attributes fx::gltf::Primitive::attributes {}

Definition at line 674 of file gltf.h.

◆ extensionsAndExtras

nlohmann::json fx::gltf::Primitive::extensionsAndExtras {}

Definition at line 677 of file gltf.h.

◆ indices

int32_t fx::gltf::Primitive::indices { -1 }

Definition at line 669 of file gltf.h.

◆ material

int32_t fx::gltf::Primitive::material { -1 }

Definition at line 670 of file gltf.h.

◆ mode

Mode fx::gltf::Primitive::mode { Mode::Triangles }

Definition at line 672 of file gltf.h.

◆ targets

std::vector<Attributes> fx::gltf::Primitive::targets {}

Definition at line 675 of file gltf.h.


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