Utility structure containing reference to a data stream in a mesh.
More...
#include <Mesh.h>
|
| template<typename T > |
| T & | getDataAt (uint32_t index) |
| | Gets reference to data at given index. No index or data type checking.
|
| |
| template<typename T > |
| const T & | getDataAt (const size_t index) const |
| | Gets const reference to data at given index. No index or data type checking.
|
| |
| constexpr bool | isValid () const |
| | Checks if the stream is valid.
|
| |
Utility structure containing reference to a data stream in a mesh.
Definition at line 959 of file Mesh.h.
◆ getDataAt() [1/2]
template<typename T >
| const T & Cogs::Core::Mesh::StreamReference::getDataAt |
( |
const size_t |
index | ) |
const |
|
inline |
Gets const reference to data at given index. No index or data type checking.
Definition at line 971 of file Mesh.h.
◆ getDataAt() [2/2]
template<typename T >
| T & Cogs::Core::Mesh::StreamReference::getDataAt |
( |
uint32_t |
index | ) |
|
|
inline |
Gets reference to data at given index. No index or data type checking.
Definition at line 964 of file Mesh.h.
◆ isValid()
| constexpr bool Cogs::Core::Mesh::StreamReference::isValid |
( |
| ) |
const |
|
inlineconstexpr |
Checks if the stream is valid.
Definition at line 977 of file Mesh.h.
◆ count
| uint32_t Cogs::Core::Mesh::StreamReference::count = 0 |
◆ ptr
| uint8_t* Cogs::Core::Mesh::StreamReference::ptr = nullptr |
◆ stride
| uint32_t Cogs::Core::Mesh::StreamReference::stride = 0 |
The documentation for this struct was generated from the following file: