Default values can be set using WGPU_SAMPLER_DESCRIPTOR_INIT as initializer.
| WGPUChainedStruct* WGPUSamplerDescriptor::nextInChain |
| WGPUStringView WGPUSamplerDescriptor::label |
This is a Non-Null Input String.
The INIT macro sets this to WGPU_STRING_VIEW_INIT.
| WGPUAddressMode WGPUSamplerDescriptor::addressModeU |
If set to WGPUAddressMode_Undefined, defaults to WGPUAddressMode_ClampToEdge.
The INIT macro sets this to WGPUAddressMode_Undefined.
| WGPUAddressMode WGPUSamplerDescriptor::addressModeV |
If set to WGPUAddressMode_Undefined, defaults to WGPUAddressMode_ClampToEdge.
The INIT macro sets this to WGPUAddressMode_Undefined.
| WGPUAddressMode WGPUSamplerDescriptor::addressModeW |
If set to WGPUAddressMode_Undefined, defaults to WGPUAddressMode_ClampToEdge.
The INIT macro sets this to WGPUAddressMode_Undefined.
| WGPUFilterMode WGPUSamplerDescriptor::magFilter |
If set to WGPUFilterMode_Undefined, defaults to WGPUFilterMode_Nearest.
The INIT macro sets this to WGPUFilterMode_Undefined.
| WGPUFilterMode WGPUSamplerDescriptor::minFilter |
If set to WGPUFilterMode_Undefined, defaults to WGPUFilterMode_Nearest.
The INIT macro sets this to WGPUFilterMode_Undefined.
| WGPUMipmapFilterMode WGPUSamplerDescriptor::mipmapFilter |
If set to WGPUFilterMode_Undefined, defaults to WGPUMipmapFilterMode_Nearest.
The INIT macro sets this to WGPUMipmapFilterMode_Undefined.
| float WGPUSamplerDescriptor::lodMinClamp |
| float WGPUSamplerDescriptor::lodMaxClamp |
| WGPUCompareFunction WGPUSamplerDescriptor::compare |
The INIT macro sets this to WGPUCompareFunction_Undefined.