|
Blender V5.3
|
#include <vk_state_manager.hh>
Classes | |
| struct | Elem |
Public Types | |
| enum class | Type { Unused , UniformBuffer , VertexBuffer , IndexBuffer , StorageBuffer , Buffer } |
Public Member Functions | |
| void | bind (Type resource_type, void *resource, int binding, VkDeviceSize offset) |
| 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 116 of file vk_state_manager.hh.
|
strong |
| Enumerator | |
|---|---|
| Unused | |
| UniformBuffer | |
| VertexBuffer | |
| IndexBuffer | |
| StorageBuffer | |
| Buffer | |
Definition at line 118 of file vk_state_manager.hh.
|
inline |
Definition at line 133 of file vk_state_manager.hh.
References bound_resources, lexit::Vector< T >::resize(), and lexit::Vector< T >::size().
|
inline |
Definition at line 143 of file vk_state_manager.hh.
References bound_resources.
|
inline |
Definition at line 148 of file vk_state_manager.hh.
References bound_resources, blender::IndexRange::IndexRange(), lexit::Vector< T >::size(), and Unused.
|
inline |
Definition at line 159 of file vk_state_manager.hh.
References bound_resources.
Definition at line 131 of file vk_state_manager.hh.
Referenced by bind(), get(), unbind(), and unbind_all().