gpu: add ImageCopyBuffer; ImageCopyTexture
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
d1bad15add
commit
85041d6f93
3 changed files with 17 additions and 33 deletions
33
gpu/src/TODO
33
gpu/src/TODO
|
|
@ -73,39 +73,6 @@ typedef struct WGPUCopyTextureForBrowserOptions {
|
|||
WGPUAlphaMode dstAlphaMode;
|
||||
} WGPUCopyTextureForBrowserOptions;
|
||||
|
||||
typedef struct WGPUImageCopyBuffer {
|
||||
WGPUChainedStruct const * nextInChain;
|
||||
WGPUTextureDataLayout layout;
|
||||
WGPUBuffer buffer;
|
||||
} WGPUImageCopyBuffer;
|
||||
|
||||
typedef struct WGPUImageCopyTexture {
|
||||
WGPUChainedStruct const * nextInChain;
|
||||
WGPUTexture texture;
|
||||
uint32_t mipLevel;
|
||||
WGPUOrigin3D origin;
|
||||
WGPUTextureAspect aspect;
|
||||
} WGPUImageCopyTexture;
|
||||
|
||||
typedef struct WGPUSupportedLimits {
|
||||
WGPUChainedStructOut * nextInChain;
|
||||
WGPULimits limits;
|
||||
} WGPUSupportedLimits;
|
||||
|
||||
typedef struct WGPUExternalTextureBindingEntry {
|
||||
WGPUChainedStruct chain;
|
||||
WGPUExternalTexture externalTexture;
|
||||
} WGPUExternalTextureBindingEntry;
|
||||
|
||||
typedef struct WGPUExternalTextureBindingLayout {
|
||||
WGPUChainedStruct chain;
|
||||
} WGPUExternalTextureBindingLayout;
|
||||
|
||||
typedef struct WGPUPrimitiveDepthClampingState {
|
||||
WGPUChainedStruct chain;
|
||||
bool clampDepth;
|
||||
} WGPUPrimitiveDepthClampingState;
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue