How it works...
Image view defines additional metadata used for accessing the image. Through it, we can specify the parts of an image that should be accessed by the commands. Though this recipe shows how to create an image view for the whole image data, it is possible to specify a smaller range of the resource which should be accessed. For example, when we render into an image inside a render pass, we can specify that only one mipmap level should be updated.
Image view also defines how an image's memory should be interpreted. A good example is an image with multiple layers. For it, we can define an image view that interprets the image directly, as a layered image, or we can use image view to create a cubemap from it.
These parameters are ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access