|
CeresEngine 0.2.0
A game development framework
|
#include <CeresEngine/RenderAPI/Vulkan/VKResourceSet.hpp>
Public Types | |
| using | Allocator = VKObjectAllocator |
An allocator type used to allocate new VKResourceSet instances from a memory pool. | |
Public Types inherited from CeresEngine::TDeviceObject< GPUResourceSetDescriptor > | |
| using | Descriptor = GPUResourceSetDescriptor |
| An type-alias to the descriptor struct type. | |
Static Public Member Functions | |
| static Allocator & | getAllocator () noexcept |
Returns the allocator for VKResourceSet. | |
| static void * | operator new (size_t size) noexcept |
Allocates memory for a new instance of VKResourceSet. | |
| static void | operator delete (void *p, std::size_t sz) noexcept |
Deletes memory for an instance of VKResourceSet. | |
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 | |
| VkDescriptorSet | mDescriptorSet = {VK_NULL_HANDLE} |
| The Vulkan ResourceSet object. | |
| GPUResourceSetDescriptor | mDescriptor |
| The descriptors holding the data for the ResourceSet. | |
| VKPipelineLayoutPtr | mPipelineLayout |
| The pipeline layout used to create and allocate the ResourceSet object. | |
| SmallVector< VKImageViewPtr, 16, VKAllocator > | mImageViews {gVKAllocator()} |
| The image views used by the resource set. | |
| UInt32 | mSet |
Additional Inherited Members | |
Public Attributes inherited from CeresEngine::GPUResourceSet | |
| GPUPipelineLayout & | pipelineLayout |
| The owning pipeline layout object this ResourceSet was created from. | |
Public Attributes inherited from CeresEngine::TDeviceObject< GPUResourceSetDescriptor > | |
| 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< VKResourceSet, GPUResourceSet > | |
| VKDeviceObject (VKDevice &device) noexcept | |
Creates a new VKDeviceObject from the given device. | |
An allocator type used to allocate new VKResourceSet instances from a memory pool.
| CeresEngine::VKResourceSet::VKResourceSet | ( | VKPipelineLayout & | pipelineLayout, |
| const GPUResourceSetDescriptor & | descriptor, | ||
| UInt32 | set = 0 |
||
| ) |
|
final |
|
finalvirtualnoexcept |
Reimplemented from CeresEngine::GPUObject.
Returns the allocator for VKResourceSet.
Deletes memory for an instance of VKResourceSet.
Allocates memory for a new instance of VKResourceSet.
|
inlinenoexcept |
The pipeline layout used to create and allocate the ResourceSet object.
|
private |
The descriptors holding the data for the ResourceSet.
|
private |
The Vulkan ResourceSet object.
|
private |
The image views used by the resource set.
|
private |
The pipeline layout used to create and allocate the ResourceSet object.
|
private |