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

Classes

struct  Sparse
 

Public Types

enum class  ComponentType : uint16_t {
  None = 0 , Byte = 5120 , UnsignedByte = 5121 , Short = 5122 ,
  UnsignedShort = 5123 , UnsignedInt = 5125 , Float = 5126
}
 
enum class  Type : uint8_t {
  None , Scalar , Vec2 , Vec3 ,
  Vec4 , Mat2 , Mat3 , Mat4
}
 

Public Attributes

int32_t bufferView { -1 }
 
uint32_t byteOffset {}
 
uint32_t count {}
 
bool normalized { defaults::AccessorNormalized }
 
ComponentType componentType { ComponentType::None }
 
Type type { Type::None }
 
Sparse sparse {}
 
std::string name
 
std::vector< float > max {}
 
std::vector< float > min {}
 
nlohmann::json extensionsAndExtras {}
 

Detailed Description

Definition at line 353 of file gltf.h.

Member Enumeration Documentation

◆ ComponentType

enum class fx::gltf::Accessor::ComponentType : uint16_t
strong

Definition at line 355 of file gltf.h.

◆ Type

enum class fx::gltf::Accessor::Type : uint8_t
strong

Definition at line 366 of file gltf.h.

Member Data Documentation

◆ bufferView

int32_t fx::gltf::Accessor::bufferView { -1 }

Definition at line 409 of file gltf.h.

◆ byteOffset

uint32_t fx::gltf::Accessor::byteOffset {}

Definition at line 410 of file gltf.h.

◆ componentType

ComponentType fx::gltf::Accessor::componentType { ComponentType::None }

Definition at line 414 of file gltf.h.

◆ count

uint32_t fx::gltf::Accessor::count {}

Definition at line 411 of file gltf.h.

◆ extensionsAndExtras

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

Definition at line 422 of file gltf.h.

◆ max

std::vector<float> fx::gltf::Accessor::max {}

Definition at line 419 of file gltf.h.

◆ min

std::vector<float> fx::gltf::Accessor::min {}

Definition at line 420 of file gltf.h.

◆ name

std::string fx::gltf::Accessor::name

Definition at line 418 of file gltf.h.

◆ normalized

bool fx::gltf::Accessor::normalized { defaults::AccessorNormalized }

Definition at line 412 of file gltf.h.

◆ sparse

Sparse fx::gltf::Accessor::sparse {}

Definition at line 416 of file gltf.h.

◆ type

Type fx::gltf::Accessor::type { Type::None }

Definition at line 415 of file gltf.h.


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