|
Blender V5.0
|
#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 115 of file vk_state_manager.hh.
|
strong |
| Enumerator | |
|---|---|
| Unused | |
| UniformBuffer | |
| VertexBuffer | |
| IndexBuffer | |
| StorageBuffer | |
| Buffer | |
Definition at line 117 of file vk_state_manager.hh.
|
inline |
Definition at line 132 of file vk_state_manager.hh.
References bound_resources, and resource.
|
inline |
Definition at line 142 of file vk_state_manager.hh.
References bound_resources.
|
inline |
Definition at line 147 of file vk_state_manager.hh.
References bound_resources, resource, and Unused.
|
inline |
Definition at line 158 of file vk_state_manager.hh.
References bound_resources.
Definition at line 130 of file vk_state_manager.hh.
Referenced by bind(), get(), unbind(), and unbind_all().