|
Blender V4.3
|
#include <vk_sampler.hh>
Inherits 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::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 17 of file vk_sampler.cc.
References free().
| void blender::gpu::VKSampler::create | ( | const GPUSamplerState & | sampler_state | ) |
Definition at line 22 of file vk_sampler.cc.
References BLI_assert, GPUSamplerState::custom_type, blender::gpu::VKBackend::device, GPUSamplerState::extend_x, GPUSamplerState::extend_yz, GPUSamplerState::filtering, blender::gpu::VKBackend::get(), GPU_SAMPLER_CUSTOM_COMPARE, GPU_SAMPLER_CUSTOM_ICON, GPU_SAMPLER_FILTERING_ANISOTROPIC, GPU_SAMPLER_FILTERING_LINEAR, GPU_SAMPLER_FILTERING_MIPMAP, GPU_SAMPLER_STATE_TYPE_CUSTOM, GPU_SAMPLER_STATE_TYPE_INTERNAL, GPU_SAMPLER_STATE_TYPE_PARAMETERS, blender::gpu::debug::object_label(), blender::gpu::VKDevice::physical_device_features_get(), GPUSamplerState::to_string(), blender::gpu::to_vk_sampler_address_mode(), GPUSamplerState::type, VK_ALLOCATION_CALLBACKS, and blender::gpu::VKDevice::vk_handle().
Referenced by blender::gpu::VKSamplers::init().
| void blender::gpu::VKSampler::free | ( | ) |
Definition at line 76 of file vk_sampler.cc.
References blender::gpu::VKBackend::device, blender::gpu::VKBackend::get(), and VK_ALLOCATION_CALLBACKS.
Referenced by blender::gpu::VKSamplers::free(), and ~VKSampler().
|
inline |
Definition at line 34 of file vk_sampler.hh.
|
inline |
Definition at line 28 of file vk_sampler.hh.
References BLI_assert.