cgv
Loading...
Searching...
No Matches
fx::gltf::Material::PBRMetallicRoughness Struct Reference

Public Member Functions

bool empty () const
 

Public Attributes

std::array< float, 4 > baseColorFactor = { defaults::IdentityVec4 }
 
Texture baseColorTexture
 
float roughnessFactor { defaults::IdentityScalar }
 
float metallicFactor { defaults::IdentityScalar }
 
Texture metallicRoughnessTexture
 
nlohmann::json extensionsAndExtras {}
 

Detailed Description

Definition at line 623 of file gltf.h.

Member Function Documentation

◆ empty()

bool fx::gltf::Material::PBRMetallicRoughness::empty ( ) const
inline

Definition at line 634 of file gltf.h.

Member Data Documentation

◆ baseColorFactor

std::array<float, 4> fx::gltf::Material::PBRMetallicRoughness::baseColorFactor = { defaults::IdentityVec4 }

Definition at line 625 of file gltf.h.

◆ baseColorTexture

Texture fx::gltf::Material::PBRMetallicRoughness::baseColorTexture

Definition at line 626 of file gltf.h.

◆ extensionsAndExtras

nlohmann::json fx::gltf::Material::PBRMetallicRoughness::extensionsAndExtras {}

Definition at line 632 of file gltf.h.

◆ metallicFactor

float fx::gltf::Material::PBRMetallicRoughness::metallicFactor { defaults::IdentityScalar }

Definition at line 629 of file gltf.h.

◆ metallicRoughnessTexture

Texture fx::gltf::Material::PBRMetallicRoughness::metallicRoughnessTexture

Definition at line 630 of file gltf.h.

◆ roughnessFactor

float fx::gltf::Material::PBRMetallicRoughness::roughnessFactor { defaults::IdentityScalar }

Definition at line 628 of file gltf.h.


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