|
Blender V4.3
|
#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 156 of file vk_state_manager.hh.
|
strong |
| Enumerator | |
|---|---|
| Unused | |
| Texture | |
| VertexBuffer | |
Definition at line 158 of file vk_state_manager.hh.
|
inline |
Definition at line 170 of file vk_state_manager.hh.
References bound_resources, and sampler().
Referenced by blender::gpu::VKStateManager::texel_buffer_bind(), and blender::gpu::VKStateManager::texture_bind().
Definition at line 180 of file vk_state_manager.hh.
References bound_resources.
|
inline |
Definition at line 185 of file vk_state_manager.hh.
References bound_resources, GPUSamplerState::default_sampler(), and Unused.
Referenced by blender::gpu::VKStateManager::texel_buffer_unbind(), blender::gpu::VKStateManager::texture_unbind(), and blender::gpu::VKStateManager::unbind_from_all_namespaces().
|
inline |
Definition at line 196 of file vk_state_manager.hh.
References bound_resources.
Referenced by blender::gpu::VKStateManager::texture_unbind_all().
Definition at line 168 of file vk_state_manager.hh.
Referenced by bind(), get(), unbind(), and unbind_all().