Functions | |
template<typename BufferType > | |
constexpr std::size_t | mixedPackSizeHelper (const std::size_t offset, const std::size_t size) |
Helper for mixedPackSize(). More... | |
template<typename BufferType , typename InputType , typename... Rest> | |
constexpr std::size_t | mixedPackSizeHelper (std::size_t offset, std::size_t size) |
Recursive helper for mixedPackSize(). More... | |
template<typename BufferType , typename BufferIter , typename ValueType > | |
void | mixedUnpackHelper (BufferIter &in, const BufferType *&src, std::size_t &src_offset, ValueType &output) |
Helper for mixedUnpack() More... | |
template<typename BufferIter , typename BufferType , typename ValueType > | |
void | mixedPackHelper (BufferIter &out, BufferType &dest, std::size_t &dest_offset, const ValueType &input) |
Helper for mixedPack() More... | |
void RayTracingPackingUtils::detail::mixedPackHelper | ( | BufferIter & | out, |
BufferType & | dest, | ||
std::size_t & | dest_offset, | ||
const ValueType & | input | ||
) |
Helper for mixedPack()
Definition at line 161 of file RayTracingPackingUtils.h.
Referenced by RayTracingPackingUtils::mixedPack().
constexpr std::size_t RayTracingPackingUtils::detail::mixedPackSizeHelper | ( | const std::size_t | offset, |
const std::size_t | size | ||
) |
Helper for mixedPackSize().
Called after evaluating the last InputType, and increases the size if any offset remains
Definition at line 114 of file RayTracingPackingUtils.h.
Referenced by RayTracingPackingUtils::mixedPackSize(), and mixedPackSizeHelper().
constexpr std::size_t RayTracingPackingUtils::detail::mixedPackSizeHelper | ( | std::size_t | offset, |
std::size_t | size | ||
) |
Recursive helper for mixedPackSize().
Recurses through the types (in InputType and rest), and increments the offset and size as needed
Definition at line 127 of file RayTracingPackingUtils.h.
void RayTracingPackingUtils::detail::mixedUnpackHelper | ( | BufferIter & | in, |
const BufferType *& | src, | ||
std::size_t & | src_offset, | ||
ValueType & | output | ||
) |
Helper for mixedUnpack()
Definition at line 139 of file RayTracingPackingUtils.h.
Referenced by RayTracingPackingUtils::mixedUnpack().