VV::V2::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.

Base classes

struct VV::V1::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.

Derived classes

class VV::V3::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

using Parent = V1::Sampler

Public static functions

static auto Create(LogicalDevice::Handle _device, const CreateInfo& _createInfo, Handle& _sampler) -> EResult
Create a sampler object (Default Allocator).
static void Destroy(LogicalDevice::Handle _device, Handle _sampler)
Destroy a sampler (Default Allocator).
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.

Function documentation

static EResult VV::V2::Sampler::Create(LogicalDevice::Handle _device, const CreateInfo& _createInfo, Handle& _sampler)

Create a sampler object (Default Allocator).

Parameters
_device
_createInfo
_sampler

static void VV::V2::Sampler::Destroy(LogicalDevice::Handle _device, Handle _sampler)

Destroy a sampler (Default Allocator).

Parameters
_device
_sampler

Specification

static EResult VV::V2::Sampler::Create(LogicalDevice::Handle _device, const CreateInfo& _createInfo, const Memory::AllocationCallbacks* _allocator, Handle& _sampler)

Create a sampler object.

Parameters
_device
_createInfo
_allocator
_sampler

Specification

static void VV::V2::Sampler::Destroy(LogicalDevice::Handle _device, Handle _sampler, const Memory::AllocationCallbacks* _allocator)

Destroy a sampler.

Parameters
_device
_sampler
_allocator

Specification