gpu: add BlendState
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
4497f6dd69
commit
cca71c4a2b
2 changed files with 5 additions and 5 deletions
|
|
@ -509,6 +509,11 @@ pub const VertexAttribute = extern struct {
|
|||
shader_location: u32,
|
||||
};
|
||||
|
||||
pub const BlendState = extern struct {
|
||||
color: BlendComponent,
|
||||
alpha: BlendComponent,
|
||||
};
|
||||
|
||||
test "BackendType name" {
|
||||
try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue