mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 14:56:42 +00:00
Update DESIGN.md
This commit is contained in:
parent
b61a89cb5c
commit
f099d94cc2
@ -223,10 +223,10 @@ passes that the user is encouraged to specify when an attachment is expected to
|
|||||||
`PresentSrc` layout.
|
`PresentSrc` layout.
|
||||||
|
|
||||||
The only problematic area concerns the first usage of an image, where it must be transitioned from
|
The only problematic area concerns the first usage of an image, where it must be transitioned from
|
||||||
the `Undefined` layout. This is done by automatically building and inserting a command buffer that
|
the `Undefined` or `Preinitialized` layout. This is done by making the user pass a command buffer
|
||||||
performs the transition whenever you use an image for the first time. This behavior is requested by
|
builder in the constructor of images, and the constructor adds a transition command to it. The
|
||||||
the `Image` trait implementation, and therefore as usual you can choose not to use it. Vulkano is
|
image implementation is responsible for making sure that the transition command has been submitted
|
||||||
designed to be easy to use by default, but you can choose to customize everything.
|
before any further command that uses the image.
|
||||||
|
|
||||||
# Inter-queue synchronization
|
# Inter-queue synchronization
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user