![]() |
PeriDyno 1.0.0
|
#include <VkHostArray.h>
Public Member Functions | |
VkHostArray () | |
~VkHostArray () | |
void | resize (uint32_t num, const T *data=nullptr) |
uint32_t | size () const |
VariableType | type () override |
uint32_t | bufferSize () override |
void | clear () |
void * | mapped () |
void | unmap () |
![]() | |
VkVariable () | |
~VkVariable () | |
VkContext * | currentContext () const |
VkDescriptorBufferInfo & | getDescriptor () |
VkBuffer | bufferHandle () const |
virtual void * | data () const |
Private Attributes | |
uint32_t | m_num = 0 |
Additional Inherited Members | |
![]() | |
static VkDescriptorType | descriptorType (const VariableType varType) |
![]() | |
VkContext * | ctx = nullptr |
std::shared_ptr< vks::Buffer > | buffer |
Definition at line 8 of file VkHostArray.h.
|
inline |
Definition at line 12 of file VkHostArray.h.
dyno::VkHostArray< T >::~VkHostArray | ( | ) |
Definition at line 4 of file VkHostArray.inl.
|
inlineoverridevirtual |
Implements dyno::VkVariable.
Definition at line 21 of file VkHostArray.h.
void dyno::VkHostArray< T >::clear | ( | ) |
void * dyno::VkHostArray< T >::mapped | ( | ) |
void dyno::VkHostArray< T >::resize | ( | uint32_t | num, |
const T * | data = nullptr ) |
Definition at line 9 of file VkHostArray.inl.
|
inline |
|
overridevirtual |
Implements dyno::VkVariable.
Definition at line 45 of file VkHostArray.inl.
void dyno::VkHostArray< T >::unmap | ( | ) |
Definition at line 64 of file VkHostArray.inl.
|
private |
Definition at line 29 of file VkHostArray.h.