VTK  9.4.20251007
vtkGLTFReader::GLTFTexture Struct Reference

Materials are not directly applied to this reader's output. More...

#include <vtkGLTFReader.h>

Collaboration diagram for vtkGLTFReader::GLTFTexture:
[legend]

Public Attributes

vtkSmartPointer< vtkImageDataImage
unsigned short MinFilterValue
unsigned short MaxFilterValue
unsigned short WrapSValue
unsigned short WrapTValue

Detailed Description

Materials are not directly applied to this reader's output.

Use GetGLTFTexture to access a specific texture's image data, and the indices present in the output dataset's field data to create vtkTextures and apply them to the geometry. Note that texture coordinates need to be fliped using a texture transform.

Definition at line 87 of file vtkGLTFReader.h.

Member Data Documentation

◆ Image

vtkSmartPointer<vtkImageData> vtkGLTFReader::GLTFTexture::Image

Definition at line 89 of file vtkGLTFReader.h.

◆ MinFilterValue

unsigned short vtkGLTFReader::GLTFTexture::MinFilterValue

Definition at line 90 of file vtkGLTFReader.h.

◆ MaxFilterValue

unsigned short vtkGLTFReader::GLTFTexture::MaxFilterValue

Definition at line 91 of file vtkGLTFReader.h.

◆ WrapSValue

unsigned short vtkGLTFReader::GLTFTexture::WrapSValue

Definition at line 92 of file vtkGLTFReader.h.

◆ WrapTValue

unsigned short vtkGLTFReader::GLTFTexture::WrapTValue

Definition at line 93 of file vtkGLTFReader.h.


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