Require VertexInputDescription to be ReprC
This commit is contained in:
parent
a78f938273
commit
fe75b39d01
2 changed files with 3 additions and 1 deletions
|
@ -47,3 +47,5 @@ pub use vulkan_sys::prelude::*;
|
|||
pub use super::render_target::{sub_pass::*, *};
|
||||
|
||||
pub use super::single_submit::SingleSubmit;
|
||||
|
||||
pub use safer_ffi::prelude::*;
|
||||
|
|
|
@ -44,7 +44,7 @@ impl Default for ShaderType {
|
|||
}
|
||||
}
|
||||
|
||||
pub trait VertexInputDescription {
|
||||
pub trait VertexInputDescription: ReprC {
|
||||
fn bindings() -> Vec<VkVertexInputBindingDescription>;
|
||||
fn attributes() -> Vec<VkVertexInputAttributeDescription>;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue