gpu: add VertexAttribute

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-11 14:58:32 -07:00 committed by Stephen Gutekanst
parent ad03565ff5
commit 1069889ea6
3 changed files with 7 additions and 6 deletions

View file

@ -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,
};