Skip to content

Documentation / scene / fetchSampler

Function: fetchSampler()

fetchSampler(type): TextureSampler<unknown>

Defined in: libs/scene/src/utility/misc.ts:109

Fetch a sampler by type

Parameters

type

SamplerType

The sampler type to fetch

Returns

TextureSampler<unknown>

The sampler for the given type

Released under the MIT License.