jaulib v1.3.8
Jau Support Library (C++, Java, ..)
|
SyncBuffer interface with multiple underlying Matrix4. More...
#include <syncbuffer.hpp>
Public Types | |
typedef Matrix4< value_type, std::is_floating_point_v< value_type > > | Mat4 |
typedef Value_type | value_type |
Public Member Functions | |
size_t | byteCount () const noexcept |
Returns the byte size of all elements, i.e. | |
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. | |
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(). | |
size_t | elementCount () const noexcept |
Returns element count. | |
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 |
![]() | |
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 124 of file syncbuffer.hpp.
typedef Value_type jau::math::util::SyncMatrices4< Value_type, >::value_type |
Definition at line 126 of file syncbuffer.hpp.
typedef Matrix4<value_type, std::is_floating_point_v<value_type> > jau::math::util::SyncMatrices4< Value_type, >::Mat4 |
Definition at line 127 of file syncbuffer.hpp.
|
pure virtualnoexcept |
|
pure virtualnoexcept |
|
inlinenoexcept |
Return the underlying float data buffer.
Definition at line 135 of file syncbuffer.hpp.
|
inlineoverridevirtualnoexcept |
Return the underlying data buffer as bytes w/o sync action().
Implements jau::math::util::SyncBuffer.
Definition at line 137 of file syncbuffer.hpp.
|
inlineoverridevirtualnoexcept |
Returns type signature of implementing class's stored component value type.
Implements jau::math::util::SyncBuffer.
Definition at line 139 of file syncbuffer.hpp.
|
inlinenoexcept |
The component's size in bytes.
Definition at line 141 of file syncbuffer.hpp.
|
inlinenoexcept |
The number of components per element.
Definition at line 143 of file syncbuffer.hpp.
|
inlinenoexcept |
Returns element count.
One element consist compsPerElem() components.
Definition at line 145 of file syncbuffer.hpp.
|
inlinenoexcept |
Returns the byte size of all elements, i.e.
elementCount() * compsPerElem() * bytesPerComp().
Definition at line 147 of file syncbuffer.hpp.
|
inlineoverridevirtual |
Implements jau::math::util::SyncBuffer.
Definition at line 149 of file syncbuffer.hpp.