|
Blender V5.3
|
#include <vk_sampler.hh>
Inherits blender::blender::NonCopyable.
Public Member Functions | |
| virtual | ~VKSampler () |
| void | create (const GPUSamplerState &sampler_state) |
| void | free () |
| VkSampler | vk_handle () const |
| bool | is_initialized () const |
| Public Member Functions inherited from blender::blender::NonCopyable | |
| NonCopyable (const NonCopyable &other)=delete | |
| NonCopyable & | operator= (const NonCopyable &other)=delete |
| NonCopyable ()=default | |
| NonCopyable (NonCopyable &&other)=default | |
| NonCopyable & | operator= (NonCopyable &&other)=default |
Definition at line 20 of file vk_sampler.hh.
|
virtual |
Definition at line 16 of file vk_sampler.cc.
References free().
| void blender::gpu::VKSampler::create | ( | const GPUSamplerState & | sampler_state | ) |
Definition at line 21 of file vk_sampler.cc.
References blender::BLI_assert(), blender::GPUSamplerState::custom_type, blender::gpu::VKBackend::device, blender::GPUSamplerState::extend_x, blender::GPUSamplerState::extend_yz, blender::GPUSamplerState::filtering, blender::gpu::VKDevice::functions, blender::gpu::VKBackend::get(), blender::GPU_SAMPLER_CUSTOM_COMPARE, blender::GPU_SAMPLER_CUSTOM_ICON, blender::GPU_SAMPLER_FILTERING_LINEAR, blender::GPU_SAMPLER_FILTERING_MIPMAP, blender::GPU_SAMPLER_STATE_TYPE_CUSTOM, blender::GPU_SAMPLER_STATE_TYPE_INTERNAL, blender::GPU_SAMPLER_STATE_TYPE_PARAMETERS, blender::min_ff(), blender::gpu::debug::object_label(), blender::gpu::VKDevice::physical_device_features_get(), blender::gpu::VKDevice::physical_device_properties_get(), blender::GPUSamplerState::to_string(), blender::gpu::to_vk_sampler_address_mode(), blender::GPUSamplerState::type, and blender::gpu::VKDevice::vk_handle().
| void blender::gpu::VKSampler::free | ( | ) |
Definition at line 79 of file vk_sampler.cc.
References blender::gpu::VKBackend::device, blender::gpu::VKDevice::functions, blender::gpu::VKBackend::get(), and blender::gpu::VKDevice::vk_handle().
Referenced by ~VKSampler().
|
inline |
Definition at line 34 of file vk_sampler.hh.
|
inline |
Definition at line 28 of file vk_sampler.hh.
References blender::BLI_assert().