Blender V5.0
blender::gpu::render_graph::VKClearAttachmentsNode Class Reference

#include <vk_clear_attachments_node.hh>

Inherits blender::gpu::render_graph::VKNodeInfo< VKNodeType::CLEAR_ATTACHMENTS, VKClearAttachmentsData, VKClearAttachmentsData, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT|VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT|VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, VKResourceType::IMAGE >.

Public Member Functions

template<typename Node, typename Storage>
void set_node_data (Node &node, Storage &storage, const CreateInfo &create_info)
void build_links (VKResourceStateTracker &resources, VKRenderGraphNodeLinks &node_links, const CreateInfo &create_info) override
void build_commands (VKCommandBufferInterface &command_buffer, Data &data, VKBoundPipelines &) override
Public Member Functions inherited from blender::NonCopyable
 NonCopyable (const NonCopyable &other)=delete
NonCopyableoperator= (const NonCopyable &other)=delete
 NonCopyable ()=default
 NonCopyable (NonCopyable &&other)=default
NonCopyableoperator= (NonCopyable &&other)=default

Additional Inherited Members

Public Types inherited from blender::gpu::render_graph::VKNodeInfo< VKNodeType::CLEAR_ATTACHMENTS, VKClearAttachmentsData, VKClearAttachmentsData, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT|VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT|VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, VKResourceType::IMAGE >
using CreateInfo
using Data
Static Public Member Functions inherited from blender::gpu::render_graph::VKNodeInfo< VKNodeType::CLEAR_ATTACHMENTS, VKClearAttachmentsData, VKClearAttachmentsData, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT|VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT|VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, VKResourceType::IMAGE >
static void set_node_data (Node &node, Storage &storage, const CreateInfo &create_info)
Static Public Attributes inherited from blender::gpu::render_graph::VKNodeInfo< VKNodeType::CLEAR_ATTACHMENTS, VKClearAttachmentsData, VKClearAttachmentsData, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT|VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT|VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, VKResourceType::IMAGE >
static constexpr VKNodeType node_type
static constexpr VkPipelineStageFlags pipeline_stage
static constexpr VKResourceType resource_usages

Detailed Description

Definition at line 25 of file vk_clear_attachments_node.hh.

Member Function Documentation

◆ build_commands()

◆ build_links()

void blender::gpu::render_graph::VKClearAttachmentsNode::build_links ( VKResourceStateTracker & resources,
VKRenderGraphNodeLinks & node_links,
const CreateInfo & create_info )
inlineoverridevirtual

◆ set_node_data()

template<typename Node, typename Storage>
void blender::gpu::render_graph::VKClearAttachmentsNode::set_node_data ( Node & node,
Storage & storage,
const CreateInfo & create_info )
inline

Update the node data with the data inside create_info.

Has been implemented as a template to ensure all node specific data (VK*Data/VK*CreateInfo) types can be included in the same header file as the logic. The actual node data (VKRenderGraphNode includes all header files.)

Definition at line 41 of file vk_clear_attachments_node.hh.


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