VTK  9.4.20241128
Public Types | Public Attributes | List of all members
GLTFSampler Struct Reference

This struct describes a glTF sampler object. More...

#include <GLTFSampler.h>

Inheritance diagram for GLTFSampler:
[legend]

Public Types

enum  FilterType : unsigned short {
  NEAREST = 9728 , LINEAR = 9729 , NEAREST_MIPMAP_NEAREST = 9984 , LINEAR_MIPMAP_NEAREST = 9985 ,
  NEAREST_MIPMAP_LINEAR = 9986 , LINEAR_MIPMAP_LINEAR = 9987
}
 
enum  WrapType : unsigned short { CLAMP_TO_EDGE = 33071 , MIRRORED_REPEAT = 33648 , REPEAT = 10497 }
 

Public Attributes

FilterType MagFilter
 
FilterType MinFilter
 
WrapType WrapS
 
WrapType WrapT
 

Detailed Description

This struct describes a glTF sampler object.

Samplers specify filter and wrapping options corresponding to GL types.

Definition at line 15 of file GLTFSampler.h.

Member Enumeration Documentation

◆ FilterType

enum GLTFSampler::FilterType : unsigned short
Enumerator
NEAREST 
LINEAR 
NEAREST_MIPMAP_NEAREST 
LINEAR_MIPMAP_NEAREST 
NEAREST_MIPMAP_LINEAR 
LINEAR_MIPMAP_LINEAR 

Definition at line 17 of file GLTFSampler.h.

◆ WrapType

enum GLTFSampler::WrapType : unsigned short
Enumerator
CLAMP_TO_EDGE 
MIRRORED_REPEAT 
REPEAT 

Definition at line 26 of file GLTFSampler.h.

Member Data Documentation

◆ MagFilter

FilterType GLTFSampler::MagFilter

Definition at line 32 of file GLTFSampler.h.

◆ MinFilter

FilterType GLTFSampler::MinFilter

Definition at line 33 of file GLTFSampler.h.

◆ WrapS

WrapType GLTFSampler::WrapS

Definition at line 34 of file GLTFSampler.h.

◆ WrapT

WrapType GLTFSampler::WrapT

Definition at line 35 of file GLTFSampler.h.


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