33#ifndef DVD_PUSH_CONSTANTS_INL_
34#define DVD_PUSH_CONSTANTS_INL_
41 set( bindingHash, type, &value, 1u);
47 const U32 newValue = value ? 1u : 0u;
48 set(bindingHash, type, &newValue, 1);
51 template<
typename T>
requires (!std::is_same_v<bool, T>)
54 const size_t dataSize =
sizeof(T) * count;
61 if (
entry._bindingHash == bindingHash)
73 ._startOffset = _buffer.size(),
76 _buffer.insert(_buffer.end(), dataSize,
Byte_ZERO);
78 Entry& newEntry = _data.emplace_back( bindingHash );
81 newEntry.
_type = type;
84 std::memcpy(&_buffer[range._startOffset], values,
sizeof(T) * count);
Handle console commands that start with a forward slash.
Project const SceneEntry & entry