![]() |
Divide Framework 0.1
A free and open-source 3D Framework under heavy development
|
#include <PushConstants.h>
Classes | |
struct | Entry |
Public Types | |
using | UniformDataContainer = vector< Entry > |
Public Member Functions | |
template<typename T > | |
void | set (U64 bindingHash, PushConstantType type, const T &value) |
template<typename T > requires (!std::is_same_v<bool, T>) | |
void | set (U64 bindingHash, PushConstantType type, const T *values, size_t count) |
bool | remove (U64 bindingHash) |
const UniformDataContainer & | entries () const noexcept |
const Byte * | data (size_t offset) const noexcept |
template<> | |
void | set (const U64 bindingHash, const PushConstantType type, const bool &value) |
Private Attributes | |
UniformDataContainer | _data |
eastl::fixed_vector< Byte, 32, true > | _buffer |
Friends | |
bool | Merge (UniformData &lhs, UniformData &rhs, bool &partial) |
Definition at line 57 of file PushConstants.h.
Definition at line 66 of file PushConstants.h.
|
noexcept |
Definition at line 13 of file PushConstants.cpp.
|
noexcept |
Definition at line 8 of file PushConstants.cpp.
bool Divide::UniformData::remove | ( | U64 | bindingHash | ) |
Definition at line 19 of file PushConstants.cpp.
|
inline |
Definition at line 45 of file PushConstants.inl.
void Divide::UniformData::set | ( | U64 | bindingHash, |
PushConstantType | type, | ||
const T & | value | ||
) |
Definition at line 39 of file PushConstants.inl.
void Divide::UniformData::set | ( | U64 | bindingHash, |
PushConstantType | type, | ||
const T * | values, | ||
size_t | count | ||
) |
Definition at line 52 of file PushConstants.inl.
|
friend |
Definition at line 34 of file PushConstants.cpp.
|
private |
Definition at line 83 of file PushConstants.h.
|
private |
Definition at line 82 of file PushConstants.h.