Default values can be set using WGPU_SAMPLER_DESCRIPTOR_INIT as initializer.
WGPUChainedStruct const* WGPUSamplerDescriptor::nextInChain |
WGPUStringView WGPUSamplerDescriptor::label |
This is a Non-Null Input String.
Defaults to WGPU_STRING_VIEW_INIT.
WGPUAddressMode WGPUSamplerDescriptor::addressModeU |
WGPUAddressMode WGPUSamplerDescriptor::addressModeV |
WGPUAddressMode WGPUSamplerDescriptor::addressModeW |
WGPUFilterMode WGPUSamplerDescriptor::magFilter |
WGPUFilterMode WGPUSamplerDescriptor::minFilter |
WGPUMipmapFilterMode WGPUSamplerDescriptor::mipmapFilter |
float WGPUSamplerDescriptor::lodMaxClamp |
WGPUCompareFunction WGPUSamplerDescriptor::compare |
Defaults to WGPUCompareFunction_Undefined.