![]() |
PeriDyno 1.0.0
|
#include <VkConstant.h>
Public Member Functions | |
VkConstant () | |
VkConstant (T val) | |
~VkConstant () | |
void | setValue (const T val) |
T | getValue () |
VariableType | type () override |
uint32_t | bufferSize () override |
void * | data () const override |
![]() | |
VkVariable () | |
~VkVariable () | |
VkContext * | currentContext () const |
VkDescriptorBufferInfo & | getDescriptor () |
VkBuffer | bufferHandle () const |
Protected Attributes | |
T | mVal |
![]() | |
VkContext * | ctx = nullptr |
std::shared_ptr< vks::Buffer > | buffer |
Additional Inherited Members | |
![]() | |
static VkDescriptorType | descriptorType (const VariableType varType) |
Definition at line 7 of file VkConstant.h.
dyno::VkConstant< T >::VkConstant | ( | ) |
dyno::VkConstant< T >::VkConstant | ( | T | val | ) |
Definition at line 12 of file VkConstant.inl.
dyno::VkConstant< T >::~VkConstant | ( | ) |
Definition at line 18 of file VkConstant.inl.
|
inlineoverridevirtual |
Implements dyno::VkVariable.
Definition at line 19 of file VkConstant.h.
|
inlineoverridevirtual |
Reimplemented from dyno::VkVariable.
Definition at line 21 of file VkConstant.h.
T dyno::VkConstant< T >::getValue | ( | ) |
void dyno::VkConstant< T >::setValue | ( | const T | val | ) |
|
overridevirtual |
Implements dyno::VkVariable.
Definition at line 36 of file VkConstant.inl.
|
protected |
Definition at line 24 of file VkConstant.h.