#include <GraphicsBufferVK.hpp>
◆ Destroy()
| void Faro::GraphicsBufferVK::Destroy |
( |
| ) |
|
|
overridevirtual |
Run the destruction logic of this class. This also frees its memory.
- Warning
- When overriding, the super call must be performed last
Reimplemented from Faro::IObject.
◆ GetAdapter()
◆ GetBufferType()
◆ GetDesc()
◆ GetMemoryType()
| uint32 Faro::GraphicsBufferVK::GetMemoryType |
( |
| ) |
|
|
protected |
◆ GetResourceState()
Get the current resource state of this buffer.
- Returns
- GraphicsResourceState Current resource state
◆ GetTypedAdapter()
template<class T >
| T * Faro::IGraphicsAdapterChild::GetTypedAdapter |
( |
| ) |
|
|
inlineinherited |
◆ Init() [1/3]
| void Faro::GraphicsBufferVK::Init |
( |
| ) |
|
|
overridevirtual |
Run the initialization logic of this object. Should be overriden by deriving classes.
Reimplemented from Faro::IObject.
◆ Init() [2/3]
Initialize this as a child object for an adapter. Also invokes IObject::Init, derived classes should use that for initialization.
- Parameters
-
| adapter | Graphics adapter to initialize this child on. |
◆ Init() [3/3]
◆ SetResourceState()
Set the resource state flag for internal referencing.
- Parameters
-
◆ TransitionResource()
| void Faro::GraphicsBufferVK::TransitionResource |
( |
VkCommandBuffer |
commandBuffer, |
|
|
GraphicsResourceState |
state |
|
) |
| |
◆ Upload()
| void Faro::GraphicsBufferVK::Upload |
( |
uint8 * |
data | ) |
|
|
overridevirtual |
Prepare the given data so it can be uploaded to the graphics adapter. This buffer must be created as BT_Upload!
- Parameters
-
| data | Pointer to the data to upload |
Implements Faro::GraphicsBuffer.
◆ heapBuffer
| VkBuffer Faro::GraphicsBufferVK::heapBuffer = nullptr |
|
protected |
◆ heapImage
| VkImage Faro::GraphicsBufferVK::heapImage = nullptr |
|
protected |
◆ heapMemory
| VkDeviceMemory Faro::GraphicsBufferVK::heapMemory = nullptr |
|
protected |
The documentation for this class was generated from the following files: