PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::VkHostArray< T > Class Template Reference

#include <VkHostArray.h>

Inheritance diagram for dyno::VkHostArray< T >:
Collaboration diagram for dyno::VkHostArray< T >:

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 ()
 
- Public Member Functions inherited from dyno::VkVariable
 VkVariable ()
 
 ~VkVariable ()
 
VkContextcurrentContext () const
 
VkDescriptorBufferInfo & getDescriptor ()
 
VkBuffer bufferHandle () const
 
virtual void * data () const
 

Private Attributes

uint32_t m_num = 0
 

Additional Inherited Members

- Static Public Member Functions inherited from dyno::VkVariable
static VkDescriptorType descriptorType (const VariableType varType)
 
- Protected Attributes inherited from dyno::VkVariable
VkContextctx = nullptr
 
std::shared_ptr< vks::Bufferbuffer
 

Detailed Description

template<typename T>
class dyno::VkHostArray< T >

Definition at line 8 of file VkHostArray.h.

Constructor & Destructor Documentation

◆ VkHostArray()

template<typename T>
dyno::VkHostArray< T >::VkHostArray ( )
inline

Definition at line 12 of file VkHostArray.h.

◆ ~VkHostArray()

template<typename T>
dyno::VkHostArray< T >::~VkHostArray ( )

Definition at line 4 of file VkHostArray.inl.

Member Function Documentation

◆ bufferSize()

template<typename T>
uint32_t dyno::VkHostArray< T >::bufferSize ( )
inlineoverridevirtual

Implements dyno::VkVariable.

Definition at line 21 of file VkHostArray.h.

Here is the caller graph for this function:

◆ clear()

template<typename T>
void dyno::VkHostArray< T >::clear ( )

Definition at line 51 of file VkHostArray.inl.

Here is the caller graph for this function:

◆ mapped()

template<typename T>
void * dyno::VkHostArray< T >::mapped ( )

Definition at line 57 of file VkHostArray.inl.

Here is the caller graph for this function:

◆ resize()

template<typename T>
void dyno::VkHostArray< T >::resize ( uint32_t num,
const T * data = nullptr )

Definition at line 9 of file VkHostArray.inl.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ size()

template<typename T>
uint32_t dyno::VkHostArray< T >::size ( ) const
inline

Definition at line 17 of file VkHostArray.h.

Here is the caller graph for this function:

◆ type()

template<typename T>
VariableType dyno::VkHostArray< T >::type ( )
overridevirtual

Implements dyno::VkVariable.

Definition at line 45 of file VkHostArray.inl.

◆ unmap()

template<typename T>
void dyno::VkHostArray< T >::unmap ( )

Definition at line 64 of file VkHostArray.inl.

Member Data Documentation

◆ m_num

template<typename T>
uint32_t dyno::VkHostArray< T >::m_num = 0
private

Definition at line 29 of file VkHostArray.h.


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