gpu: add Sampler.Descriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
7509404a91
commit
ad907bf637
2 changed files with 19 additions and 15 deletions
15
gpu/src/TODO
15
gpu/src/TODO
|
|
@ -57,21 +57,6 @@ typedef struct WGPUDawnTogglesDeviceDescriptor {
|
|||
|
||||
|
||||
|
||||
typedef struct WGPUSamplerDescriptor {
|
||||
WGPUChainedStruct const * nextInChain;
|
||||
char const * label;
|
||||
WGPUAddressMode addressModeU;
|
||||
WGPUAddressMode addressModeV;
|
||||
WGPUAddressMode addressModeW;
|
||||
WGPUFilterMode magFilter;
|
||||
WGPUFilterMode minFilter;
|
||||
WGPUFilterMode mipmapFilter;
|
||||
float lodMinClamp;
|
||||
float lodMaxClamp;
|
||||
WGPUCompareFunction compare;
|
||||
uint16_t maxAnisotropy;
|
||||
} WGPUSamplerDescriptor;
|
||||
|
||||
typedef struct WGPUTextureViewDescriptor {
|
||||
WGPUChainedStruct const * nextInChain;
|
||||
char const * label;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue