gpu: add VertexBufferLayout
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
d70f5695b6
commit
04378a8ff7
3 changed files with 9 additions and 10 deletions
11
gpu/src/TODO
11
gpu/src/TODO
|
|
@ -388,10 +388,6 @@ typedef struct WGPURenderPassDepthStencilAttachment {
|
|||
bool stencilReadOnly;
|
||||
} WGPURenderPassDepthStencilAttachment;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
typedef struct WGPURenderPassColorAttachment {
|
||||
WGPUTextureView view;
|
||||
WGPUTextureView resolveTarget;
|
||||
|
|
@ -401,12 +397,7 @@ typedef struct WGPURenderPassColorAttachment {
|
|||
WGPUColor clearValue;
|
||||
} WGPURenderPassColorAttachment;
|
||||
|
||||
typedef struct WGPUVertexBufferLayout {
|
||||
uint64_t arrayStride;
|
||||
WGPUVertexStepMode stepMode;
|
||||
uint32_t attributeCount;
|
||||
WGPUVertexAttribute const * attributes;
|
||||
} WGPUVertexBufferLayout;
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue