gpu: add VertexAttribute
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
ad03565ff5
commit
1069889ea6
3 changed files with 7 additions and 6 deletions
|
|
@ -64,3 +64,9 @@ pub const StencilFaceState = extern struct {
|
|||
depth_fail_op: StencilOperation,
|
||||
pass_op: StencilOperation,
|
||||
};
|
||||
|
||||
pub const VertexAttribute = extern struct {
|
||||
format: VertexFormat,
|
||||
offset: u64,
|
||||
shader_location: u32,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue