|
CeresEngine 0.2.0
A game development framework
|
#include <CeresEngine/RenderAPI/Vulkan/VKImage.hpp>
Public Types | |
| using | Allocator = VKObjectAllocator |
An allocator type used to allocate new VKImageView instances from a memory pool. | |
Public Types inherited from CeresEngine::TDeviceObject< GPUImageViewDescriptor > | |
| using | Descriptor = GPUImageViewDescriptor |
| An type-alias to the descriptor struct type. | |
Static Public Member Functions | |
| static Allocator & | getAllocator () noexcept |
Returns the allocator for VKImageView. | |
| static void * | operator new (size_t size) noexcept |
Allocates memory for a new instance of VKImageView. | |
| static void | operator delete (void *p, std::size_t size) noexcept |
Deletes memory for an instance of VKImageView. | |
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 GPUImageViewDescriptor | mDescriptor |
| A structure that describes the and it's properties. | |
| VkImageView | mImageView |
| The Vulkan image view. | |
| VKImagePtr | mImage |
| The parent image. | |
Additional Inherited Members | |
Public Attributes inherited from CeresEngine::GPUImageView | |
| GPUImage & | image |
| The image that this view belongs to. | |
Public Attributes inherited from CeresEngine::TDeviceObject< GPUImageViewDescriptor > | |
| 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< VKImageView, GPUImageView > | |
| VKDeviceObject (VKDevice &device) noexcept | |
Creates a new VKDeviceObject from the given device. | |
An allocator type used to allocate new VKImageView instances from a memory pool.
| CeresEngine::VKImageView::VKImageView | ( | VKImage & | image, |
| const GPUImageViewDescriptor & | descriptor | ||
| ) |
|
final |
|
finalvirtualnoexcept |
Reimplemented from CeresEngine::GPUObject.
Returns the allocator for VKImageView.
Deletes memory for an instance of VKImageView.
Allocates memory for a new instance of VKImageView.
|
inlinenoexcept |
The Vulkan image view.
|
private |
A structure that describes the and it's properties.
|
private |
The parent image.
|
private |
The Vulkan image view.