diff options
Diffstat (limited to 'src/shader_data.rs')
| -rw-r--r-- | src/shader_data.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shader_data.rs b/src/shader_data.rs index 892260d..96e6a1b 100644 --- a/src/shader_data.rs +++ b/src/shader_data.rs @@ -27,6 +27,12 @@ pub struct VertexPushBlock<T: Copy> { pub model: Transformation<T>, } +#[repr(C)] +#[derive(Clone, Debug)] +pub struct TexturePushBlock { + pub image_info: vk::DescriptorImageInfo, +} + impl<T: Copy> Vertex<T> { pub const fn new(position: Vec3<T>, color: Vec3<T>, texture_coordinates: Vec2<T>) |