mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-24 15:55:07 +00:00
Made AttributeInfo
derive Copy
, Clone
and Debug
(#1043)
This commit is contained in:
parent
b507034df7
commit
d931bfdad0
@ -4,6 +4,7 @@
|
||||
each with a matching enum indicating the usage that was missing.
|
||||
- Fix instance_count when using draw_index with instance buffers
|
||||
- Added a `reinterpret` function to `BufferSlice`
|
||||
- Made `AttributeInfo` derive `Copy`, `Clone` and `Debug`
|
||||
|
||||
- Use [google/shaderc](https://github.com/google/shaderc-rs) for shader compilation
|
||||
|
||||
|
@ -59,6 +59,7 @@ pub enum InputRate {
|
||||
|
||||
/// Information about a single attribute within a vertex.
|
||||
/// TODO: change that API
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
pub struct AttributeInfo {
|
||||
/// Number of bytes between the start of a vertex and the location of attribute.
|
||||
pub offset: usize,
|
||||
|
Loading…
Reference in New Issue
Block a user