|
Blender V4.5
|
#include <vk_state_manager.hh>
Classes | |
| struct | Elem |
Public Types | |
| enum class | Type { Unused , Texture , VertexBuffer } |
Public Member Functions | |
| void | bind (Type resource_type, void *resource, GPUSamplerState sampler, int binding) |
| const Elem * | get (int binding) const |
| void | unbind (void *resource) |
| void | unbind_all () |
Public Attributes | |
| Vector< Elem > | bound_resources |
Bind space for textures.
Definition at line 160 of file vk_state_manager.hh.
|
strong |
| Enumerator | |
|---|---|
| Unused | |
| Texture | |
| VertexBuffer | |
Definition at line 162 of file vk_state_manager.hh.
|
inline |
Definition at line 174 of file vk_state_manager.hh.
References bound_resources, blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), resource, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
|
inline |
Definition at line 184 of file vk_state_manager.hh.
References bound_resources, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
|
inline |
Definition at line 195 of file vk_state_manager.hh.
References bound_resources, GPUSamplerState::default_sampler(), blender::IndexRange::IndexRange(), resource, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and Unused.
|
inline |
Definition at line 206 of file vk_state_manager.hh.
References bound_resources, and blender::Vector< T, InlineBufferCapacity, Allocator >::clear().
Definition at line 172 of file vk_state_manager.hh.
Referenced by bind(), get(), unbind(), and unbind_all().