Add Clone to vertex input types

This commit is contained in:
hodasemi 2023-01-21 14:12:30 +01:00
parent c9aed7518a
commit a6403e743f
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
use crate::prelude::*;
#[repr(C)]
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct VkVertexInputAttributeDescription {
pub location: u32,
pub binding: u32,

View file

@ -1,7 +1,7 @@
use crate::prelude::*;
#[repr(C)]
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct VkVertexInputBindingDescription {
pub binding: u32,
pub stride: u32,