|
CeresEngine 0.2.0
A game development framework
|
#include <CeresEngine/RenderAPI/Vulkan/VKSampler.hpp>
Public Types | |
| using | Allocator = VKObjectAllocator |
An allocator type used to allocate new VKSampler instances from a memory pool. | |
Public Types inherited from CeresEngine::TDeviceObject< GPUSamplerDescriptor > | |
| using | Descriptor = GPUSamplerDescriptor |
| An type-alias to the descriptor struct type. | |
Static Public Member Functions | |
| static Allocator & | getAllocator () noexcept |
Returns the allocator for VKSampler. | |
| static void * | operator new (size_t size) noexcept |
Allocates memory for a new instance of VKSampler. | |
| static void | operator delete (void *p, std::size_t sz) noexcept |
Deletes memory for an instance of VKSampler. | |
Static Public Member Functions inherited from CeresEngine::VKObject< ChildTypeName, ParentType > | |
| static RC< ChildTypeName > | cast (const RC< ParentType > &ptr) |
Casts a RC containing a ParentType pointer to a pointer to a pointer to a ChildTypeName. | |
| static ChildTypeName & | cast (ParentType &object) |
Casts a object of type ParentType to a object of type ChildTypeName. | |
| static const ChildTypeName & | cast (const ParentType &object) |
Casts a object of type ParentType to a object of type ChildTypeName. | |
| static ChildTypeName * | cast (ParentType *object) |
Casts a object of type ParentType to a object of type ChildTypeName. | |
| static const ChildTypeName * | cast (const ParentType *object) |
Casts a object of type ParentType to a object of type ChildTypeName. | |
Static Public Member Functions inherited from CeresEngine::VKObjectBase | |
| static void * | operator new (size_t size) noexcept |
| static void | operator delete (void *p, std::size_t sz) noexcept |
Private Attributes | |
| const GPUSamplerDescriptor | descriptorVK |
| A structure that describes the sampler and it's properties. | |
| VkSampler | mSampler = VK_NULL_HANDLE |
| The Vulkan sampler object. | |
Additional Inherited Members | |
Public Attributes inherited from CeresEngine::TDeviceObject< GPUSamplerDescriptor > | |
| const Descriptor & | descriptor |
| A structure that describes the object and it's properties. | |
Public Attributes inherited from CeresEngine::GPUDeviceObject | |
| GPUDevice & | device |
| The owning device this object was created from. | |
Public Attributes inherited from CeresEngine::VKDeviceObjectBase | |
| VKDevice & | deviceVK |
The owning VKDevice instance. | |
Protected Member Functions inherited from CeresEngine::VKDeviceObject< VKSampler, GPUSampler > | |
| VKDeviceObject (VKDevice &device) noexcept | |
Creates a new VKDeviceObject from the given device. | |
An allocator type used to allocate new VKSampler instances from a memory pool.
| CeresEngine::VKSampler::VKSampler | ( | VKDevice & | device, |
| const GPUSamplerDescriptor & | descriptor | ||
| ) |
|
final |
|
finalvirtualnoexcept |
Reimplemented from CeresEngine::GPUObject.
Returns the allocator for VKSampler.
Deletes memory for an instance of VKSampler.
Allocates memory for a new instance of VKSampler.
|
inlinenoexcept |
The Vulkan sampler object.
|
private |
A structure that describes the sampler and it's properties.
|
private |
The Vulkan sampler object.