Rasterfarm-SDK
Loading...
Searching...
No Matches
Engine::Memory Class Referenceabstract

#include <memory.h>

Inheritance diagram for Engine::Memory:
Engine::ImageMemory Engine::UniformMemory Engine::VertexMemory

Public Member Functions

 Memory (VkDevice vkLogicalDevice, MemoryType memoryType)
 
virtual ~Memory ()
 
virtual void allocate ()=0
 
MemoryType getMemoryType ()
 
const VkMemoryRequirements & getMemoryRequirements ()
 
bool isCoherent ()
 

Protected Attributes

VkDevice logicalDevice
 
MemoryType memoryType
 
VkMemoryRequirements memoryRequirements
 

Constructor & Destructor Documentation

◆ Memory()

Engine::Memory::Memory ( VkDevice vkLogicalDevice,
MemoryType memoryType )

◆ ~Memory()

virtual Engine::Memory::~Memory ( )
virtual

Member Function Documentation

◆ allocate()

virtual void Engine::Memory::allocate ( )
pure virtual

◆ getMemoryRequirements()

const VkMemoryRequirements & Engine::Memory::getMemoryRequirements ( )
inline

◆ getMemoryType()

MemoryType Engine::Memory::getMemoryType ( )
inline

◆ isCoherent()

bool Engine::Memory::isCoherent ( )
inline

Member Data Documentation

◆ logicalDevice

VkDevice Engine::Memory::logicalDevice
protected

◆ memoryRequirements

VkMemoryRequirements Engine::Memory::memoryRequirements
protected

◆ memoryType

MemoryType Engine::Memory::memoryType
protected

The documentation for this class was generated from the following file: