Skip to content

Documentation / scene / getSamplerOptions

Function: getSamplerOptions() ​

getSamplerOptions(type): SamplerOptions

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

Get the sampler options of a sampler preset, e.g. for use with the withSampler() shader declaration modifier.

Parameters ​

type ​

SamplerType

The sampler type

Returns ​

SamplerOptions

The sampler options for the given type

Released under the MIT License.