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

#include <vk_render_graph_links.hh>

Inherited by blender::gpu::render_graph::VKRenderGraphBuffer, and blender::gpu::render_graph::VKRenderGraphImage.

Public Member Functions

bool has_write_access () const

Public Attributes

ResourceWithStamp resource
VkAccessFlags vk_access_flags

Detailed Description

Definition at line 33 of file vk_render_graph_links.hh.

Member Function Documentation

◆ has_write_access()

bool blender::gpu::render_graph::VKRenderGraphResource::has_write_access ( ) const
inline

Member Data Documentation

◆ resource

ResourceWithStamp blender::gpu::render_graph::VKRenderGraphResource::resource

Which resource is being accessed.

Definition at line 37 of file vk_render_graph_links.hh.

◆ vk_access_flags

VkAccessFlags blender::gpu::render_graph::VKRenderGraphResource::vk_access_flags

How is the resource being accessed.

When generating pipeline barriers of a resource, the nodes access flags are evaluated to create src/dst access masks.

Definition at line 45 of file vk_render_graph_links.hh.

Referenced by has_write_access().


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