|
Blender V5.3
|
#include <vk_samplers.hh>
Inherits blender::blender::NonCopyable.
Public Member Functions | |
| void | init () |
| void | free () |
| const VKSampler & | get (const GPUSamplerState &sampler_state) const |
Collection of samplers.
Samplers are device owned and can be shared between contexts.
Definition at line 22 of file vk_samplers.hh.
| void blender::gpu::VKSamplers::free | ( | ) |
Definition at line 34 of file vk_samplers.cc.
References blender::GPU_SAMPLER_CUSTOM_COMPARE, blender::GPU_SAMPLER_CUSTOM_ICON, and GPU_SAMPLER_EXTEND_MODES_COUNT.
| const VKSampler & blender::gpu::VKSamplers::get | ( | const GPUSamplerState & | sampler_state | ) | const |
Definition at line 48 of file vk_samplers.cc.
References blender::BLI_assert(), blender::GPUSamplerState::custom_type, blender::GPUSamplerState::extend_x, blender::GPUSamplerState::extend_yz, blender::GPUSamplerState::filtering, blender::GPU_SAMPLER_STATE_TYPE_CUSTOM, blender::GPU_SAMPLER_STATE_TYPE_INTERNAL, and blender::GPUSamplerState::type.
| void blender::gpu::VKSamplers::init | ( | ) |
Definition at line 13 of file vk_samplers.cc.
References blender::GPUSamplerState::compare_sampler(), blender::GPU_SAMPLER_CUSTOM_COMPARE, blender::GPU_SAMPLER_CUSTOM_ICON, GPU_SAMPLER_EXTEND_MODES_COUNT, blender::GPUSamplerState::icon_sampler(), and state.