Class VkScopedBuffer¶
- Defined in File VkScopedBuffer.h
Class Documentation¶
-
class
VkScopedBuffer
¶ Public Functions
-
VkScopedBuffer
(VkDevice device, VkBufferUsageFlags usage, U32 bufferSize, VkMemoryPropertyFlags memoryProperties, const VkPhysicalDeviceMemoryProperties &phyDeviceMemoryProperties, const Log &logger)¶
-
void
Create
(VkDevice device, VkBufferUsageFlags usage, U32 bufferSize, VkMemoryPropertyFlags memoryProperties, const VkPhysicalDeviceMemoryProperties &phyDeviceMemoryProperties)¶
-
void *
MapMemory
(VkDeviceSize size, VkDeviceSize offset) const¶
-
void
UnMapMemory
() const¶
-
VkBuffer
Real
() const¶
-
VkDeviceMemory
Memory
() const¶
-
VkDescriptorBufferInfo
GetDescriptorInfo
(U32 offset, U32 range) const¶
-
void
CleanUp
() const¶
-