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
42
46
49MRC_API unsigned int MR_ViewportId_value(const MR_ViewportId *_this);
50
54
58
62
66
70
74
78MRC_API const unsigned int *MR_ViewportMask_Get_mask_(const MR_ViewportMask *_this);
79
84MRC_API void MR_ViewportMask_Set_mask_(MR_ViewportMask *_this, unsigned int value);
85
90
94
99
103
107
113
118
123
126
129
137
142
146
150
154
158
163
168
173
178
184
190
196
201
207
213
219
223
228
232
236
242
249
252
255
263
268
273
277
282
288
294
295#ifdef __cplusplus
296} // extern "C"
297#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)
MRC_API MR_ViewportMask * MR_ViewportMask_any(void)
MRC_API const MR_ViewportMask * MR_ViewportMask_OffsetPtr(const MR_ViewportMask *ptr, ptrdiff_t i)
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)
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)
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)
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