MeshLib C Docs
Loading...
Searching...
No Matches
MRViewportId.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#include <stdbool.h>
6#include <stddef.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12
16typedef struct MR_ViewportId
17{
18 unsigned int id_;
20
25
30
33
38
41
45
48MRC_API unsigned int MR_ViewportId_value(const MR_ViewportId *_this);
49
53
57
61
65
69
73
77MRC_API const unsigned int *MR_ViewportMask_Get_mask_(const MR_ViewportMask *_this);
78
81MRC_API void MR_ViewportMask_Set_mask_(MR_ViewportMask *_this, unsigned int value);
82
87
91
96
99
102
107
111
115
118
121
127
132
136
140
144
148
153
158
163
168
174
180
186
191
197
203
209
213
218
221
224
229
235
238
241
247
252
257
261
266
271
276
277#ifdef __cplusplus
278} // extern "C"
279#endif
struct MR_ViewportMask MR_ViewportMask
Definition MRAddVisualPropertiesMixin.h:32
MRC_API void MR_ViewportIterator_DestroyArray(const MR_ViewportIterator *_this)
Destroys a heap-allocated array of MR_ViewportIterator. Does nothing if the pointer is null.
MRC_API MR_ViewportIterator * MR_ViewportIterator_AssignFromAnother(MR_ViewportIterator *_this, const MR_ViewportIterator *_other)
MRC_API MR_ViewportMask * MR_ViewportMask_AssignFromAnother(MR_ViewportMask *_this, const MR_ViewportMask *_other)
MRC_API MR_ViewportMask * MR_ViewportIterator_mask(const MR_ViewportIterator *_this)
MRC_API MR_ViewportIterator * MR_ViewportIterator_OffsetMutablePtr(MR_ViewportIterator *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_ViewportMask * MR_ViewportMask_any(void)
MRC_API const MR_ViewportMask * MR_ViewportMask_OffsetPtr(const MR_ViewportMask *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_ViewportId MR_ViewportId_DefaultConstruct(void)
Constructs an empty (default-constructed) instance.
MRC_API MR_ViewportId * MR_ViewportId_DefaultConstructArray(size_t num_elems)
MRC_API bool MR_not_equal_MR_ViewportMask(const MR_ViewportMask *_this, const MR_ViewportMask *b)
struct MR_ViewportIterator MR_ViewportIterator
Definition MRViewportId.h:29
MRC_API MR_ViewportMask * MR_ViewportMask_OffsetMutablePtr(MR_ViewportMask *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_ViewportMask * MR_ViewportMask_xor_assign(MR_ViewportMask *_this, const MR_ViewportMask *b)
MRC_API MR_ViewportId MR_ViewportId_prev(const MR_ViewportId *_this)
MRC_API unsigned int MR_ViewportMask_value(const MR_ViewportMask *_this)
MRC_API MR_ViewportId MR_ViewportId_Construct(unsigned int i)
Generated from constructor MR::ViewportId::ViewportId.
MRC_API bool MR_ViewportMask_contains(const MR_ViewportMask *_this, MR_ViewportId id)
MRC_API unsigned int * MR_ViewportMask_GetMutable_mask_(MR_ViewportMask *_this)
MRC_API void MR_ViewportIterator_Destroy(const MR_ViewportIterator *_this)
Destroys a heap-allocated instance of MR_ViewportIterator. Does nothing if the pointer is null.
MRC_API bool MR_equal_MR_ViewportId(const MR_ViewportId *_this, MR_ViewportId b)
MRC_API MR_ViewportMask * MR_compl_MR_ViewportMask(const MR_ViewportMask *_this)
MRC_API bool MR_ViewportId_valid(const MR_ViewportId *_this)
struct MR_ViewportId MR_ViewportId
MRC_API bool MR_ViewportId_ConvertTo_bool(const MR_ViewportId *_this)
MRC_API void MR_ViewportMask_set(MR_ViewportMask *_this, MR_ViewportId id, const bool *on)
MRC_API const MR_ViewportIterator * MR_ViewportIterator_OffsetPtr(const MR_ViewportIterator *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_ViewportMask * MR_xor_MR_ViewportMask(const MR_ViewportMask *a, const MR_ViewportMask *b)
MRC_API MR_ViewportIterator * MR_incr_MR_ViewportIterator(MR_ViewportIterator *_this)
MRC_API MR_ViewportIterator * MR_end_MR_ViewportMask(const MR_ViewportMask *_1)
MRC_API MR_ViewportMask * MR_ViewportMask_all(void)
MRC_API MR_ViewportMask * MR_ViewportMask_DefaultConstructArray(size_t num_elems)
MRC_API bool MR_equal_MR_ViewportIterator(const MR_ViewportIterator *a, const MR_ViewportIterator *b)
MRC_API unsigned int MR_ViewportId_value(const MR_ViewportId *_this)
MRC_API MR_ViewportIterator * MR_ViewportIterator_DefaultConstruct(void)
MRC_API void MR_ViewportMask_DestroyArray(const MR_ViewportMask *_this)
Destroys a heap-allocated array of MR_ViewportMask. Does nothing if the pointer is null.
MRC_API MR_ViewportMask * MR_bitor_MR_ViewportMask(const MR_ViewportMask *a, const MR_ViewportMask *b)
MRC_API MR_ViewportId MR_ViewportId_next(const MR_ViewportId *_this)
MRC_API MR_ViewportIterator * MR_ViewportIterator_Construct(const MR_ViewportMask *mask)
MRC_API bool MR_less_MR_ViewportMask(const MR_ViewportMask *_this, const MR_ViewportMask *b)
MRC_API const unsigned int * MR_ViewportMask_Get_mask_(const MR_ViewportMask *_this)
MRC_API MR_ViewportIterator * MR_begin_MR_ViewportMask(const MR_ViewportMask *mask)
MRC_API MR_ViewportId MR_deref_MR_ViewportIterator(const MR_ViewportIterator *_this)
MRC_API void MR_ViewportMask_Set_mask_(MR_ViewportMask *_this, unsigned int value)
MRC_API bool MR_not_equal_MR_ViewportId(const MR_ViewportId *_this, MR_ViewportId b)
MRC_API bool MR_equal_MR_ViewportMask(const MR_ViewportMask *_this, const MR_ViewportMask *b)
MRC_API MR_ViewportMask * MR_ViewportMask_bitor_assign(MR_ViewportMask *_this, const MR_ViewportMask *b)
MRC_API void MR_ViewportMask_Destroy(const MR_ViewportMask *_this)
Destroys a heap-allocated instance of MR_ViewportMask. Does nothing if the pointer is null.
MRC_API MR_ViewportMask * MR_ViewportMask_Construct_MR_ViewportId(MR_ViewportId i)
MRC_API MR_ViewportIterator * MR_ViewportIterator_ConstructFromAnother(const MR_ViewportIterator *_other)
MRC_API MR_ViewportMask * MR_bitand_MR_ViewportMask(const MR_ViewportMask *a, const MR_ViewportMask *b)
MRC_API bool MR_ViewportMask_empty(const MR_ViewportMask *_this)
MRC_API bool MR_less_MR_ViewportId(const MR_ViewportId *_this, MR_ViewportId b)
MRC_API MR_ViewportIterator * MR_ViewportIterator_DefaultConstructArray(size_t num_elems)
MRC_API MR_ViewportMask * MR_ViewportMask_DefaultConstruct(void)
MRC_API MR_ViewportMask * MR_ViewportMask_Construct_unsigned_int(unsigned int i)
MRC_API MR_ViewportMask * MR_ViewportMask_bitand_assign(MR_ViewportMask *_this, const MR_ViewportMask *b)
MRC_API MR_ViewportMask * MR_ViewportMask_ConstructFromAnother(const MR_ViewportMask *_other)
#define MRC_API
Definition exports.h:11
Definition MRViewportId.h:17
unsigned int id_
Definition MRViewportId.h:18