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
|
|
@ -75,3 +75,10 @@ pub const BlendState = extern struct {
|
|||
color: BlendComponent,
|
||||
alpha: BlendComponent,
|
||||
};
|
||||
|
||||
pub const VertexBufferLayout = extern struct {
|
||||
array_stride: u64,
|
||||
step_mode: VertexStepMode,
|
||||
attribute_count: u32,
|
||||
attributes: *const VertexAttribute,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue