Blender V5.0
blender::gpu::BindSpaceUniformBuffers Class Reference

#include <vk_state_manager.hh>

Public Member Functions

void bind (VKUniformBuffer *resource, int binding)
VKUniformBufferget (int binding) const
void unbind (void *resource)
void unbind_all ()

Public Attributes

Vector< VKUniformBuffer * > bound_resources

Detailed Description

Bind space for a uniform buffers.

Definition at line 36 of file vk_state_manager.hh.

Member Function Documentation

◆ bind()

void blender::gpu::BindSpaceUniformBuffers::bind ( VKUniformBuffer * resource,
int binding )
inline

Definition at line 40 of file vk_state_manager.hh.

References bound_resources, and resource.

◆ get()

VKUniformBuffer * blender::gpu::BindSpaceUniformBuffers::get ( int binding) const
inline

Definition at line 48 of file vk_state_manager.hh.

References bound_resources.

◆ unbind()

void blender::gpu::BindSpaceUniformBuffers::unbind ( void * resource)
inline

Definition at line 53 of file vk_state_manager.hh.

References bound_resources, and resource.

◆ unbind_all()

void blender::gpu::BindSpaceUniformBuffers::unbind_all ( )
inline

Definition at line 62 of file vk_state_manager.hh.

References bound_resources.

Member Data Documentation

◆ bound_resources

Vector<VKUniformBuffer *> blender::gpu::BindSpaceUniformBuffers::bound_resources

Definition at line 38 of file vk_state_manager.hh.

Referenced by bind(), get(), unbind(), and unbind_all().


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