Blender V4.5
blender::gpu::render_graph::VKBeginRenderingNode Class Reference

#include <vk_begin_rendering_node.hh>

Inherits blender::gpu::render_graph::VKNodeInfo< VKNodeType::BEGIN_RENDERING, VKBeginRenderingCreateInfo, VKBeginRenderingData, VK_PIPELINE_STAGE_ALL_GRAPHICS_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

Static Public Member Functions

static void reconfigure_for_restart (VKBeginRenderingData &begin_rendering_data)
Static Public Member Functions inherited from blender::gpu::render_graph::VKNodeInfo< VKNodeType::BEGIN_RENDERING, VKBeginRenderingCreateInfo, VKBeginRenderingData, VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, VKResourceType::IMAGE >
static void set_node_data (Node &node, Storage &storage, const CreateInfo &create_info)

Additional Inherited Members

Public Types inherited from blender::gpu::render_graph::VKNodeInfo< VKNodeType::BEGIN_RENDERING, VKBeginRenderingCreateInfo, VKBeginRenderingData, VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, VKResourceType::IMAGE >
using CreateInfo
using Data
Static Public Attributes inherited from blender::gpu::render_graph::VKNodeInfo< VKNodeType::BEGIN_RENDERING, VKBeginRenderingCreateInfo, VKBeginRenderingData, VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, VKResourceType::IMAGE >
static constexpr VKNodeType node_type
static constexpr VkPipelineStageFlags pipeline_stage
static constexpr VKResourceType resource_usages

Detailed Description

Begin rendering node

  • Contains logic to copy relevant data to the VKRenderGraphNode.
  • Determine read/write resource dependencies.
  • Add commands to a command builder.

Definition at line 40 of file vk_begin_rendering_node.hh.

Member Function Documentation

◆ build_commands()

◆ build_links()

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

◆ reconfigure_for_restart()

void blender::gpu::render_graph::VKBeginRenderingNode::reconfigure_for_restart ( VKBeginRenderingData & begin_rendering_data)
inlinestatic

Reconfigure the vk_rendering_info to be restarted.

When a render scope is restarted the clear/load ops needs to load in the previous stored results.

Definition at line 127 of file vk_begin_rendering_node.hh.

References blender::gpu::render_graph::VKBeginRenderingData::color_attachments, blender::gpu::render_graph::VKBeginRenderingData::depth_attachment, ELEM, blender::gpu::render_graph::VKBeginRenderingData::stencil_attachment, and blender::gpu::render_graph::VKBeginRenderingData::vk_rendering_info.

◆ set_node_data()

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

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