gpu: add TextureView.Descriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
ad907bf637
commit
1c0f5c0b03
4 changed files with 17 additions and 13 deletions
12
gpu/src/TODO
12
gpu/src/TODO
|
|
@ -57,18 +57,6 @@ typedef struct WGPUDawnTogglesDeviceDescriptor {
|
|||
|
||||
|
||||
|
||||
typedef struct WGPUTextureViewDescriptor {
|
||||
WGPUChainedStruct const * nextInChain;
|
||||
char const * label;
|
||||
WGPUTextureFormat format;
|
||||
WGPUTextureViewDimension dimension;
|
||||
uint32_t baseMipLevel;
|
||||
uint32_t mipLevelCount;
|
||||
uint32_t baseArrayLayer;
|
||||
uint32_t arrayLayerCount;
|
||||
WGPUTextureAspect aspect;
|
||||
} WGPUTextureViewDescriptor;
|
||||
|
||||
typedef struct WGPUBindGroupDescriptor {
|
||||
WGPUChainedStruct const * nextInChain;
|
||||
char const * label;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue