mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2025-02-27 06:23:31 +00:00
Add small TODO to ImageUsage
This commit is contained in:
parent
c8622031c1
commit
7205162cc8
@ -616,6 +616,7 @@ impl<Ty, F, M> ImagePrototype<Ty, F, M>
|
|||||||
/// Describes how an image is going to be used. This is **not** an optimization.
|
/// Describes how an image is going to be used. This is **not** an optimization.
|
||||||
///
|
///
|
||||||
/// If you try to use an image in a way that you didn't declare, a panic will happen.
|
/// If you try to use an image in a way that you didn't declare, a panic will happen.
|
||||||
|
// TODO: enforce the fact that `transient_attachment` can't be set at the same time as other bits
|
||||||
#[derive(Debug, Copy, Clone)]
|
#[derive(Debug, Copy, Clone)]
|
||||||
pub struct Usage {
|
pub struct Usage {
|
||||||
pub transfer_source: bool,
|
pub transfer_source: bool,
|
||||||
|
Loading…
Reference in New Issue
Block a user