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

#include <VkDeviceArray.h>

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

Public Member Functions

 VkDeviceArray ()
 
 VkDeviceArray (uint32_t num)
 
 ~VkDeviceArray ()
 
VkResizeType resize (uint32_t num, VkBufferUsageFlags usageFlags=0)
 
uint32_t size () const
 
VariableType type () override
 
uint32_t bufferSize () override
 
bool bufferUpdated ()
 
void clear ()
 
void reset ()
 
- Public Member Functions inherited from dyno::VkVariable
 VkVariable ()
 
 ~VkVariable ()
 
VkContextcurrentContext () const
 
VkDescriptorBufferInfo & getDescriptor ()
 
VkBuffer bufferHandle () const
 
virtual void * data () const
 

Private Attributes

bool mBufferUpdated = false
 
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::VkDeviceArray< T >

Definition at line 8 of file VkDeviceArray.h.

Constructor & Destructor Documentation

◆ VkDeviceArray() [1/2]

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

Definition at line 11 of file VkDeviceArray.h.

◆ VkDeviceArray() [2/2]

template<typename T>
dyno::VkDeviceArray< T >::VkDeviceArray ( uint32_t num)

Definition at line 9 of file VkDeviceArray.inl.

Here is the call graph for this function:

◆ ~VkDeviceArray()

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

Definition at line 4 of file VkDeviceArray.inl.

Member Function Documentation

◆ bufferSize()

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

Implements dyno::VkVariable.

Definition at line 22 of file VkDeviceArray.h.

◆ bufferUpdated()

template<typename T>
bool dyno::VkDeviceArray< T >::bufferUpdated ( )
inline

Definition at line 24 of file VkDeviceArray.h.

◆ clear()

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

Definition at line 61 of file VkDeviceArray.inl.

Here is the caller graph for this function:

◆ reset()

template<typename T>
void dyno::VkDeviceArray< T >::reset ( )

Definition at line 68 of file VkDeviceArray.inl.

◆ resize()

template<typename T>
VkResizeType dyno::VkDeviceArray< T >::resize ( uint32_t num,
VkBufferUsageFlags usageFlags = 0 )

Definition at line 15 of file VkDeviceArray.inl.

Here is the caller graph for this function:

◆ size()

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

Definition at line 18 of file VkDeviceArray.h.

Here is the caller graph for this function:

◆ type()

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

Implements dyno::VkVariable.

Definition at line 55 of file VkDeviceArray.inl.

Member Data Documentation

◆ m_num

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

Definition at line 32 of file VkDeviceArray.h.

◆ mBufferUpdated

template<typename T>
bool dyno::VkDeviceArray< T >::mBufferUpdated = false
private

Definition at line 31 of file VkDeviceArray.h.


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