Hierarchy
- default<
{
magFilter: MagFilterType;
minFilter: MinFilterType;
wrapS: WrapMode;
wrapT: WrapMode;
},
>
Accessors
Static
MagFilterTypes
- get MagFilterTypes(): { LINEAR: 9729; NEAREST: 9728 }
Returns { LINEAR: 9729; NEAREST: 9728 }
Static
MinFilterTypes
- get MinFilterTypes(): {
LINEAR: 9729;
LINEAR_MIPMAP_LINEAR: 9987;
LINEAR_MIPMAP_NEAREST: 9985;
NEAREST: 9728;
NEAREST_MIPMAP_LINEAR: 9986;
NEAREST_MIPMAP_NEAREST: 9984;
} Returns {
LINEAR: 9729;
LINEAR_MIPMAP_LINEAR: 9987;
LINEAR_MIPMAP_NEAREST: 9985;
NEAREST: 9728;
NEAREST_MIPMAP_LINEAR: 9986;
NEAREST_MIPMAP_NEAREST: 9984;
}
Static
WrapModes
- get WrapModes(): { CLAMP_TO_EDGE: 33071; MIRRORED_REPEAT: 33648; REPEAT: 10497 }
Returns { CLAMP_TO_EDGE: 33071; MIRRORED_REPEAT: 33648; REPEAT: 10497 }
Methods
magFilter
- magFilter(magFilter: 9728 | 9729): Sampler
this
minFilter
- minFilter(minFilter: 9728 | 9729 | 9984 | 9985 | 9986 | 9987): Sampler
Parameters
- minFilter: 9728 | 9729 | 9984 | 9985 | 9986 | 9987
this
wrapS
- wrapS(wrapS: 10497 | 33071 | 33648): Sampler
Parameters
- wrapS: 10497 | 33071 | 33648
this
wrapT
- wrapT(wrapT: 10497 | 33071 | 33648): Sampler
Parameters
- wrapT: 10497 | 33071 | 33648
this
Sampler - a builder for a GLTF sampler object. Defines filtering and wrapping modes for a texture.
See
GLTF reference