|
Blender V4.3
|
#include <vk_state_manager.hh>
Classes | |
| struct | Elem |
Public Types | |
| enum class | Type { Unused , UniformBuffer , VertexBuffer , IndexBuffer , StorageBuffer } |
Public Member Functions | |
| void | bind (Type resource_type, void *resource, int binding) |
| const Elem & | get (int binding) const |
| void | unbind (void *resource) |
| void | unbind_all () |
Public Attributes | |
| Vector< Elem > | bound_resources |
Bind space for storage buffers.
Definition at line 110 of file vk_state_manager.hh.
|
strong |
| Enumerator | |
|---|---|
| Unused | |
| UniformBuffer | |
| VertexBuffer | |
| IndexBuffer | |
| StorageBuffer | |
Definition at line 112 of file vk_state_manager.hh.
|
inline |
Definition at line 125 of file vk_state_manager.hh.
References bound_resources.
Referenced by blender::gpu::VKStateManager::storage_buffer_bind().
Definition at line 134 of file vk_state_manager.hh.
References bound_resources.
|
inline |
Definition at line 139 of file vk_state_manager.hh.
References bound_resources, and Unused.
Referenced by blender::gpu::VKStateManager::storage_buffer_unbind(), and blender::gpu::VKStateManager::unbind_from_all_namespaces().
|
inline |
Definition at line 149 of file vk_state_manager.hh.
References bound_resources.
Referenced by blender::gpu::VKStateManager::storage_buffer_unbind_all().
Definition at line 123 of file vk_state_manager.hh.
Referenced by bind(), get(), unbind(), and unbind_all().