|
jaulib v1.4.1
Jau Support Library (C++, Java, ..)
|
SyncBuffer interface with multiple underlying Matrix4. More...
#include <syncbuffer.hpp>
Public Types | |
| typedef Matrix4< value_type > | Mat4 |
| typedef Value_type | value_type |
Public Member Functions | |
| SyncMatrices4 (const Mat4 &first, size_t count, sync_action_t s=sync_action_t()) | |
| sync_action_t & | action () noexcept override |
| Return the defined sync_action_t. | |
| constexpr size_t | byteCount () const noexcept |
| Returns the byte size of all elements, i.e. | |
| constexpr size_t | bytesPerComp () const noexcept |
| The component's size in bytes. | |
| const jau::type_info & | compSignature () const noexcept override |
| Returns the component's value_type signature. | |
| constexpr size_t | compsPerElem () const noexcept |
| The number of components per element. | |
| const void * | data () const noexcept override |
| Return the underlying data buffer as bytes w/o sync action(). | |
| constexpr size_t | elementCount () const noexcept |
| Returns element count. | |
| constexpr const value_type * | floats () const noexcept |
| Return the underlying float data buffer. | |
| constexpr const Mat4 * | matrices () const noexcept |
| Return the underlying Mat4 pointer, used to synchronize via action() to the buffer(). | |
| constexpr size_t | matrixCount () const noexcept |
| Return the number of Mat4 referenced by matrices() | |
| std::string | toString () const override |
Public Member Functions inherited from jau::math::util::SyncBuffer | |
| virtual | ~SyncBuffer () noexcept=default |
| SyncBuffer & | sync () noexcept |
| The component's size in bytes. | |
| const void * | syncedData () noexcept |
| Return the underlying data buffer as bytes after invoking sync action(). | |
SyncBuffer interface with multiple underlying Matrix4.
Definition at line 87 of file syncbuffer.hpp.
| typedef Value_type jau::math::util::SyncMatrices4< Value_type >::value_type |
Definition at line 89 of file syncbuffer.hpp.
| typedef Matrix4<value_type> jau::math::util::SyncMatrices4< Value_type >::Mat4 |
Definition at line 90 of file syncbuffer.hpp.
|
inline |
Definition at line 98 of file syncbuffer.hpp.
|
inlineconstexprnoexcept |
Return the underlying Mat4 pointer, used to synchronize via action() to the buffer().
Definition at line 102 of file syncbuffer.hpp.
|
inlineconstexprnoexcept |
Return the number of Mat4 referenced by matrices()
Definition at line 104 of file syncbuffer.hpp.
|
inlineconstexprnoexcept |
Return the underlying float data buffer.
Definition at line 107 of file syncbuffer.hpp.
|
inlineoverridevirtualnoexcept |
Return the defined sync_action_t.
Implements jau::math::util::SyncBuffer.
Definition at line 109 of file syncbuffer.hpp.
|
inlineoverridevirtualnoexcept |
Return the underlying data buffer as bytes w/o sync action().
Implements jau::math::util::SyncBuffer.
Definition at line 110 of file syncbuffer.hpp.
|
inlineoverridevirtualnoexcept |
Returns the component's value_type signature.
Implements jau::math::util::SyncBuffer.
Definition at line 113 of file syncbuffer.hpp.
|
inlineconstexprnoexcept |
The component's size in bytes.
Definition at line 115 of file syncbuffer.hpp.
|
inlineconstexprnoexcept |
The number of components per element.
Definition at line 117 of file syncbuffer.hpp.
|
inlineconstexprnoexcept |
Returns element count.
One element consist compsPerElem() components.
Definition at line 119 of file syncbuffer.hpp.
|
inlineconstexprnoexcept |
Returns the byte size of all elements, i.e.
elementCount() * compsPerElem() * bytesPerComp().
Definition at line 121 of file syncbuffer.hpp.
|
inlineoverridevirtual |
Implements jau::math::util::SyncBuffer.
Definition at line 123 of file syncbuffer.hpp.