25 VKClearColorImageData,
26 VKClearColorImageData,
27 VK_PIPELINE_STAGE_TRANSFER_BIT,
28 VKResourceType::IMAGE> {
39 node.clear_color_image = create_info;
50 node_links.
outputs.append({resource,
51 VK_ACCESS_TRANSFER_WRITE_BIT,
52 VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL,
53 VK_IMAGE_ASPECT_COLOR_BIT});
64 VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL,
65 &data.vk_clear_color_value,
67 &data.vk_image_subresource_range);
void build_commands(VKCommandBufferInterface &command_buffer, Data &data, VKBoundPipelines &) override
void build_links(VKResourceStateTracker &resources, VKRenderGraphNodeLinks &node_links, const CreateInfo &create_info) override
static void set_node_data(Node &node, const CreateInfo &create_info)
virtual void clear_color_image(VkImage image, VkImageLayout image_layout, const VkClearColorValue *p_color, uint32_t range_count, const VkImageSubresourceRange *p_ranges)=0
ResourceWithStamp get_image_and_increase_stamp(VkImage vk_image)
VkClearColorValue vk_clear_color_value
VkImageSubresourceRange vk_image_subresource_range
Vector< VKRenderGraphLink > outputs