Syntalos::MetaSize
Syntalos::MetaSize
Represents the dimensions of a two-dimensional object with width and height. More…
#include <streammeta.h>
Public Functions
| Name | |
|---|---|
| constexpr | MetaSize() =default |
| constexpr | MetaSize(int32_t w, int32_t h) |
| constexpr bool | isEmpty() const |
| bool | operator==(const MetaSize & ) const =default |
Public Attributes
| Name | |
|---|---|
| int32_t | width |
| int32_t | height |
Detailed Description
struct Syntalos::MetaSize;Represents the dimensions of a two-dimensional object with width and height.
This structure is used in Syntalos’ stream metadata to declare dimensions of two-dimensional objects in advance.
Dimensions are 32-bit signed integers for compatibility with other libraries.
Public Functions Documentation
function MetaSize
constexpr MetaSize() =defaultfunction MetaSize
inline constexpr MetaSize(
int32_t w,
int32_t h
)function isEmpty
inline constexpr bool isEmpty() constfunction operator==
bool operator==(
const MetaSize &
) const =defaultPublic Attributes Documentation
variable width
int32_t width = 0;variable height
int32_t height = 0;Updated on 2026-04-20 at 00:59:18 +0000