Blender V4.3
vk_resource_access_info.hh File Reference

Go to the source code of this file.

Classes

struct  blender::gpu::render_graph::VKImageAccess
 
struct  blender::gpu::render_graph::VKBufferAccess
 
struct  blender::gpu::render_graph::VKResourceAccessInfo
 

Namespaces

namespace  blender
 
namespace  blender::gpu
 
namespace  blender::gpu::render_graph
 

Detailed Description

Draw and dispatch commands are shader based and resources needs to be bound. The bound resources are stored inside the state manager. Structures and functions inside this file improve code re-usage when resources are part of the state manager.

VKResourceAccessInfo: is a structure that can store the access information of a draw/dispatch node. This information should be added to the create info of the render graph node (VKNodeInfo::CreateInfo). When the links of the node is build, VKResourceAccessInfo.build_links can be called to build the render graph links for these resources.

Definition in file vk_resource_access_info.hh.