37 VKClearDepthStencilImageCreateInfo,
38 VKClearDepthStencilImageData,
39 VK_PIPELINE_STAGE_TRANSFER_BIT,
40 VKResourceType::IMAGE> {
49 template<
typename Node,
typename Storage>
64 links.
images.append({{resource, VK_ACCESS_TRANSFER_WRITE_BIT},
65 VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL,
78 VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL,
79 &
data.vk_clear_depth_stencil_value,
81 &
data.vk_image_subresource_range);
static void set_node_data(Node &node, Storage &, const CreateInfo &create_info)
void build_commands(VKCommandBufferInterface &command_buffer, Data &data, Span< uint8_t >, VKBoundPipelines &) override
void build_links(VKResourceStateTracker &resources, VKRenderGraphLinks &links, const CreateInfo &create_info) override
virtual void clear_depth_stencil_image(VkImage image, VkImageLayout image_layout, const VkClearDepthStencilValue *p_depth_stencil, uint32_t range_count, const VkImageSubresourceRange *p_ranges)=0
VKClearDepthStencilImageCreateInfo CreateInfo
VKClearDepthStencilImageData Data
ResourceWithStamp get_image_and_increase_stamp(VkImage vk_image)
BMesh const char void * data
VKClearDepthStencilImageData node_data
VkImageAspectFlags vk_image_aspects
VkImageSubresourceRange vk_image_subresource_range
VkClearDepthStencilValue vk_clear_depth_stencil_value
Vector< VKRenderGraphImage > images