API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceSamplerOptions
@codexo/exojs / rendering / stable
GPU sampling state: how a texture is filtered and how UV coordinates outside `[0, 1]` are resolved. Sampling state is independent of a texture's pixel content, so backends realize it as a shared sampler object keyed on these two values alone. Materials can override it per draw without disturbing the texture.
2
props
0
methods
0
events
Import
import { SamplerOptions } from '@codexo/exojs'GPU sampling state: how a texture is filtered and how UV coordinates outside `[0, 1]` are resolved.
Sampling state is independent of a texture's pixel content, so backends realize it as a shared sampler object keyed on these two values alone. Materials can override it per draw without disturbing the texture.
Properties2
Minification and magnification filter applied when sampling the texture.
Behaviour when UV coordinates exceed [0, 1].
Source