gpu: add DepthStencilState
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
bf3cf08e1e
commit
3ec84f516a
3 changed files with 18 additions and 15 deletions
14
gpu/src/TODO
14
gpu/src/TODO
|
|
@ -204,20 +204,6 @@ typedef struct WGPUCopyTextureForBrowserOptions {
|
|||
WGPUAlphaMode dstAlphaMode;
|
||||
} WGPUCopyTextureForBrowserOptions;
|
||||
|
||||
typedef struct WGPUDepthStencilState {
|
||||
WGPUChainedStruct const * nextInChain;
|
||||
WGPUTextureFormat format;
|
||||
bool depthWriteEnabled;
|
||||
WGPUCompareFunction depthCompare;
|
||||
WGPUStencilFaceState stencilFront;
|
||||
WGPUStencilFaceState stencilBack;
|
||||
uint32_t stencilReadMask;
|
||||
uint32_t stencilWriteMask;
|
||||
int32_t depthBias;
|
||||
float depthBiasSlopeScale;
|
||||
float depthBiasClamp;
|
||||
} WGPUDepthStencilState;
|
||||
|
||||
typedef struct WGPUImageCopyBuffer {
|
||||
WGPUChainedStruct const * nextInChain;
|
||||
WGPUTextureDataLayout layout;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue