|
Hymn to Beauty
C++ 3D Engine
|
WebGPU implementation of Sampler. More...
#include <WebGPUSampler.hpp>
Public Member Functions | |
| WebGPUSampler (WGPUDevice device, Filter filter, Clamping clamping) | |
| Create new WebGPU sampler. More... | |
| ~WebGPUSampler () final | |
| Destructor. More... | |
| WGPUSampler | GetSampler () const |
| Get the sampler. More... | |
Public Member Functions inherited from Video::Sampler | |
| Sampler () | |
| Create a new sampler. More... | |
| virtual | ~Sampler () |
| Destructor. More... | |
Additional Inherited Members | |
Public Types inherited from Video::Sampler | |
| enum class | Filter { NEAREST , LINEAR , COUNT } |
| The interpolation to apply. More... | |
| enum class | Clamping { REPEAT , CLAMP_TO_EDGE , COUNT } |
| How to handle sampling outside the texture dimensions. More... | |
WebGPU implementation of Sampler.
Create new WebGPU sampler.
| device | The WebGPU device. |
| filter | The interpolation to apply. |
| clamping | How to handle sampling outside the texture dimensions. |
|
final |
Destructor.
| WGPUSampler Video::WebGPUSampler::GetSampler | ( | ) | const |
Get the sampler.