VV::V1::Sampler struct

Represent the state of an image sampler which is used by the implementation to read image data and apply filtering and other transformations for the shader.

Specification

Derived classes

struct VV::V2::Sampler
Represent the state of an image sampler which is used by the implementation to read image data and apply filtering and other transformations for the shader.

Public types

struct CreateInfo
Specification
using Handle = VkSampler
Specification
using CreateFlags = Bitfield<ESamplerCreateFlag, VkSamplerCreateFlags>
Specification
using EMipmapMode = ESamplerMipmapMode
using AddressMode = ESamplerAddressMode

Public static functions

static auto Create(LogicalDevice::Handle _device, const CreateInfo& _createInfo, const Memory::AllocationCallbacks* _allocator, Handle& _sampler) -> EResult
Create a sampler object.
static void Destroy(LogicalDevice::Handle _device, Handle _sampler, const Memory::AllocationCallbacks* _allocator)
Destroy a sampler.