Syntalos::MetaSize

Syntalos::MetaSize

Syntalos::MetaSize

Represents the dimensions of a two-dimensional object with width and height. More…

#include <streammeta.h>

Public Functions

Name
constexprMetaSize() =default
constexprMetaSize(int32_t w, int32_t h)
constexpr boolisEmpty() const
booloperator==(const MetaSize & ) const =default

Public Attributes

Name
int32_twidth
int32_theight

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() =default

function MetaSize

inline constexpr MetaSize(
    int32_t w,
    int32_t h
)

function isEmpty

inline constexpr bool isEmpty() const

function operator==

bool operator==(
    const MetaSize & 
) const =default

Public Attributes Documentation

variable width

int32_t width = 0;

variable height

int32_t height = 0;

Updated on 2026-04-20 at 00:59:18 +0000