|
CeresEngine 0.2.0
A game development framework
|
#include <CeresEngine/RenderAPI/Vulkan/VKRenderTarget.hpp>
Public Types | |
| using | Allocator = VKObjectAllocator |
An allocator type used to allocate new VKRenderTarget instances from a memory pool. | |
Public Types inherited from CeresEngine::TDeviceObject< GPURenderTargetDescriptor > | |
| using | Descriptor = GPURenderTargetDescriptor |
| An type-alias to the descriptor struct type. | |
Static Public Member Functions | |
| static Allocator & | getAllocator () noexcept |
Returns the allocator for VKRenderTarget. | |
| static void * | operator new (size_t size) noexcept |
Allocates memory for a new instance of VKRenderTarget. | |
| static void | operator delete (void *p, std::size_t sz) noexcept |
Deletes memory for an instance of VKRenderTarget. | |
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 GPURenderTargetDescriptor | descriptorVK |
| The descriptor used to create the render target. | |
| VkFramebuffer | mFramebuffer = VK_NULL_HANDLE |
| The Vulkan framebuffer object. | |
| SmallVector< VKImageViewPtr, 8, VKAllocator > | mImageViews {gVKAllocator()} |
| A reference to the images views attached to the render target. | |
| SmallVector< VKImagePtr, 8, VKAllocator > | mImages {gVKAllocator()} |
| A reference to the images attached to the render target. | |
| TExtent2< UInt32 > | mExtent |
Additional Inherited Members | |
Public Attributes inherited from CeresEngine::TDeviceObject< GPURenderTargetDescriptor > | |
| 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< VKRenderTarget, GPURenderTarget > | |
| VKDeviceObject (VKDevice &device) noexcept | |
Creates a new VKDeviceObject from the given device. | |
An allocator type used to allocate new VKRenderTarget instances from a memory pool.
| CeresEngine::VKRenderTarget::VKRenderTarget | ( | VKDevice & | device, |
| const GPURenderTargetDescriptor & | descriptor | ||
| ) |
|
final |
|
finalvirtualnoexcept |
Reimplemented from CeresEngine::GPUObject.
Returns the allocator for VKRenderTarget.
|
inline |
|
inline |
|
staticnoexcept |
Deletes memory for an instance of VKRenderTarget.
Allocates memory for a new instance of VKRenderTarget.
|
inlinenoexcept |
The Vulkan framebuffer object.
|
private |
The descriptor used to create the render target.
|
private |
|
private |
The Vulkan framebuffer object.
|
private |
A reference to the images attached to the render target.
|
private |
A reference to the images views attached to the render target.