gpu: add BindGroup.Entry
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
3c8dfa06a1
commit
a6eab5ef18
5 changed files with 15 additions and 13 deletions
|
|
@ -1,13 +1,3 @@
|
|||
typedef struct WGPUBindGroupEntry {
|
||||
WGPUChainedStruct const * nextInChain;
|
||||
uint32_t binding;
|
||||
WGPUBuffer buffer; // nullable
|
||||
uint64_t offset;
|
||||
uint64_t size;
|
||||
WGPUSampler sampler; // nullable
|
||||
WGPUTextureView textureView; // nullable
|
||||
} WGPUBindGroupEntry;
|
||||
|
||||
typedef struct WGPUBlendComponent {
|
||||
WGPUBlendOperation operation;
|
||||
WGPUBlendFactor srcFactor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue