VTK
9.1.0
|
This struct describes a glTF material object. More...
#include <vtkGLTFDocumentLoader.h>
Classes | |
struct | PbrMetallicRoughness |
Public Types | |
enum class | AlphaModeType : unsigned char { OPAQUE , MASK , BLEND } |
Public Attributes | |
PbrMetallicRoughness | PbrMetallicRoughness |
TextureInfo | NormalTexture |
double | NormalTextureScale |
TextureInfo | OcclusionTexture |
double | OcclusionTextureStrength |
TextureInfo | EmissiveTexture |
std::vector< double > | EmissiveFactor |
AlphaModeType | AlphaMode |
double | AlphaCutoff |
bool | DoubleSided |
std::string | Name |
bool | Unlit |
This struct describes a glTF material object.
glTF materials are defined using the metallic-roughness model. The values for most properties can be defined using either factors or textures (via textureInfo). Materials also define normal, occlusion and emissive maps.
Definition at line 291 of file vtkGLTFDocumentLoader.h.
|
strong |
Enumerator | |
---|---|
OPAQUE | |
MASK | |
BLEND |
Definition at line 293 of file vtkGLTFDocumentLoader.h.
Definition at line 310 of file vtkGLTFDocumentLoader.h.
TextureInfo vtkGLTFDocumentLoader::Material::NormalTexture |
Definition at line 312 of file vtkGLTFDocumentLoader.h.
double vtkGLTFDocumentLoader::Material::NormalTextureScale |
Definition at line 313 of file vtkGLTFDocumentLoader.h.
TextureInfo vtkGLTFDocumentLoader::Material::OcclusionTexture |
Definition at line 314 of file vtkGLTFDocumentLoader.h.
double vtkGLTFDocumentLoader::Material::OcclusionTextureStrength |
Definition at line 315 of file vtkGLTFDocumentLoader.h.
TextureInfo vtkGLTFDocumentLoader::Material::EmissiveTexture |
Definition at line 316 of file vtkGLTFDocumentLoader.h.
std::vector<double> vtkGLTFDocumentLoader::Material::EmissiveFactor |
Definition at line 317 of file vtkGLTFDocumentLoader.h.
AlphaModeType vtkGLTFDocumentLoader::Material::AlphaMode |
Definition at line 319 of file vtkGLTFDocumentLoader.h.
double vtkGLTFDocumentLoader::Material::AlphaCutoff |
Definition at line 320 of file vtkGLTFDocumentLoader.h.
bool vtkGLTFDocumentLoader::Material::DoubleSided |
Definition at line 322 of file vtkGLTFDocumentLoader.h.
std::string vtkGLTFDocumentLoader::Material::Name |
Definition at line 324 of file vtkGLTFDocumentLoader.h.
bool vtkGLTFDocumentLoader::Material::Unlit |
Definition at line 327 of file vtkGLTFDocumentLoader.h.