|
jaulib v1.4.0-2-g788cf73
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 | |
| 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 type signature of implementing class's stored component value type. | |
| 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. | |
| virtual const Mat4 * | matrices () const noexcept=0 |
| Return the underlying Mat4 pointer, used to synchronize via action() to the buffer(). | |
| virtual size_t | matrixCount () const noexcept=0 |
| 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 |
| virtual sync_action_t & | action () noexcept=0 |
| Return the defined sync_action_t. | |
| 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 123 of file syncbuffer.hpp.
| typedef Value_type jau::math::util::SyncMatrices4< Value_type >::value_type |
Definition at line 125 of file syncbuffer.hpp.
| typedef Matrix4<value_type> jau::math::util::SyncMatrices4< Value_type >::Mat4 |
Definition at line 126 of file syncbuffer.hpp.
|
pure virtualnoexcept |
|
pure virtualnoexcept |
|
inlineconstexprnoexcept |
Return the underlying float data buffer.
Definition at line 134 of file syncbuffer.hpp.
|
inlineoverridevirtualnoexcept |
Return the underlying data buffer as bytes w/o sync action().
Implements jau::math::util::SyncBuffer.
Definition at line 136 of file syncbuffer.hpp.
|
inlineoverridevirtualnoexcept |
Returns type signature of implementing class's stored component value type.
Implements jau::math::util::SyncBuffer.
Definition at line 138 of file syncbuffer.hpp.
|
inlineconstexprnoexcept |
The component's size in bytes.
Definition at line 140 of file syncbuffer.hpp.
|
inlineconstexprnoexcept |
The number of components per element.
Definition at line 142 of file syncbuffer.hpp.
|
inlineconstexprnoexcept |
Returns element count.
One element consist compsPerElem() components.
Definition at line 144 of file syncbuffer.hpp.
|
inlineconstexprnoexcept |
Returns the byte size of all elements, i.e.
elementCount() * compsPerElem() * bytesPerComp().
Definition at line 146 of file syncbuffer.hpp.
|
inlineoverridevirtual |
Implements jau::math::util::SyncBuffer.
Definition at line 148 of file syncbuffer.hpp.