Blender V5.3
blender::gpu::render_graph::VKRenderGraphImage Struct Reference

#include <vk_render_graph_links.hh>

Inherits blender::gpu::render_graph::VKRenderGraphResource.

Public Attributes

VkImageLayout vk_image_layout = VK_IMAGE_LAYOUT_UNDEFINED
VkImageAspectFlags vk_image_aspect = VK_IMAGE_ASPECT_NONE
VKSubImageRange subimage
Public Attributes inherited from blender::gpu::render_graph::VKRenderGraphResource
ResourceWithStamp resource
VkAccessFlags vk_access_flags

Additional Inherited Members

Public Member Functions inherited from blender::gpu::render_graph::VKRenderGraphResource
bool has_write_access () const

Detailed Description

Definition at line 55 of file vk_render_graph_links.hh.

Member Data Documentation

◆ subimage

VKSubImageRange blender::gpu::render_graph::VKRenderGraphImage::subimage

The layers and mipmap levels to bind.

Used when layer_tracking will be enabled to transit the layout of these layers only.

Definition at line 74 of file vk_render_graph_links.hh.

◆ vk_image_aspect

VkImageAspectFlags blender::gpu::render_graph::VKRenderGraphImage::vk_image_aspect = VK_IMAGE_ASPECT_NONE

Which aspect of the image is being used.

Definition at line 67 of file vk_render_graph_links.hh.

◆ vk_image_layout

VkImageLayout blender::gpu::render_graph::VKRenderGraphImage::vk_image_layout = VK_IMAGE_LAYOUT_UNDEFINED

When resource is an image, which layout should the image be using.

When generating the commands this attribute is compared with the actual image layout of the the image. Additional pipeline barriers will be added to transit to the layout stored here.

Definition at line 62 of file vk_render_graph_links.hh.


The documentation for this struct was generated from the following file: