CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
VKSampler.hpp
Go to the documentation of this file.
1//
2// CeresEngine - A game development framework
3//
4// Created by Rogiel Sulzbach.
5// Copyright (c) 2018-2022 Rogiel Sulzbach. All rights reserved.
6//
7
8#pragma once
9
10#include "VKCommon.hpp"
11
13
15
16namespace CeresEngine {
17
49
50} // namespace CeresEngine
#define CE_EXPLICIT_FALSE
Definition Macros.hpp:416
GPUDevice & device
The owning device this object was created from.
Definition Common.hpp:55
Definition GPUSampler.hpp:175
const Descriptor & descriptor
A structure that describes the object and it's properties.
Definition Common.hpp:69
Definition VKDevice.hpp:79
Definition VKCommon.hpp:143
Definition VKSampler.hpp:18
VKSampler(VKDevice &device, const GPUSamplerDescriptor &descriptor)
const GPUSamplerDescriptor descriptorVK
A structure that describes the sampler and it's properties.
Definition VKSampler.hpp:21
VKObjectAllocator Allocator
An allocator type used to allocate new VKSampler instances from a memory pool.
Definition VKSampler.hpp:35
VkSampler mSampler
The Vulkan sampler object.
Definition VKSampler.hpp:24
static Allocator & getAllocator() noexcept
Returns the allocator for VKSampler.
void destroy() noexcept final
Definition Application.hpp:19
ThreadSafeAllocator< MemoryPool< NodePool, AllocatorReference< VKAllocator > > > VKObjectAllocator
A pool allocator to be used for individual object pools.
Definition VKCommon.hpp:59
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
Definition Span.hpp:668
Image sampler descriptor structure.
Definition GPUSampler.hpp:61