3#include "../Interface/Sampler.hpp"
Determines how a texture should be sampled.
Definition: Sampler.hpp:6
Filter
The interpolation to apply.
Definition: Sampler.hpp:9
Clamping
How to handle sampling outside the texture dimensions.
Definition: Sampler.hpp:16
WebGPU implementation of Sampler.
Definition: WebGPUSampler.hpp:10
~WebGPUSampler() final
Destructor.
Definition: WebGPUSampler.cpp:50
WebGPUSampler(WGPUDevice device, Filter filter, Clamping clamping)
Create new WebGPU sampler.
Definition: WebGPUSampler.cpp:7
WGPUSampler GetSampler() const
Get the sampler.
Definition: WebGPUSampler.cpp:54
Definition: Editor.hpp:18