gpu: add PrimitiveState
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
a6be646b94
commit
e2ed25babc
3 changed files with 14 additions and 8 deletions
|
|
@ -204,14 +204,6 @@ typedef struct WGPUCopyTextureForBrowserOptions {
|
|||
WGPUAlphaMode dstAlphaMode;
|
||||
} WGPUCopyTextureForBrowserOptions;
|
||||
|
||||
typedef struct WGPUPrimitiveState {
|
||||
WGPUChainedStruct const * nextInChain;
|
||||
WGPUPrimitiveTopology topology;
|
||||
WGPUIndexFormat stripIndexFormat;
|
||||
WGPUFrontFace frontFace;
|
||||
WGPUCullMode cullMode;
|
||||
} WGPUPrimitiveState;
|
||||
|
||||
typedef struct WGPUSamplerBindingLayout {
|
||||
WGPUChainedStruct const * nextInChain;
|
||||
WGPUSamplerBindingType type;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue