VTK  9.5.20250804
Public Attributes | List of all members
vtkGLTFDocumentLoader::TextureInfo Struct Reference

This struct describes a glTF textureInfo object, mostly used in material descriptions They contain two indexes, one to a texture object, and the second being used to construct a string with the format TEXCOORD_<index>, which references a key in mesh.primitives.attributes. More...

#include <vtkGLTFDocumentLoader.h>

Public Attributes

int Index = -1
 
int TexCoord = -1
 
std::vector< double > Offset
 
std::vector< double > Scale
 
double Rotation = 0.0
 

Detailed Description

This struct describes a glTF textureInfo object, mostly used in material descriptions They contain two indexes, one to a texture object, and the second being used to construct a string with the format TEXCOORD_<index>, which references a key in mesh.primitives.attributes.

Definition at line 273 of file vtkGLTFDocumentLoader.h.

Member Data Documentation

◆ Index

int vtkGLTFDocumentLoader::TextureInfo::Index = -1

Definition at line 275 of file vtkGLTFDocumentLoader.h.

◆ TexCoord

int vtkGLTFDocumentLoader::TextureInfo::TexCoord = -1

Definition at line 276 of file vtkGLTFDocumentLoader.h.

◆ Offset

std::vector<double> vtkGLTFDocumentLoader::TextureInfo::Offset

Definition at line 277 of file vtkGLTFDocumentLoader.h.

◆ Scale

std::vector<double> vtkGLTFDocumentLoader::TextureInfo::Scale

Definition at line 278 of file vtkGLTFDocumentLoader.h.

◆ Rotation

double vtkGLTFDocumentLoader::TextureInfo::Rotation = 0.0

Definition at line 279 of file vtkGLTFDocumentLoader.h.


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