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
24
28
31
36
39
43
46MRC_API unsigned int MR_ViewportId_value(const MR_ViewportId *_this);
47
51
55
59
63
67
71
75MRC_API const unsigned int *MR_ViewportMask_Get_mask_(const MR_ViewportMask *_this);
76
79MRC_API void MR_ViewportMask_Set_mask_(MR_ViewportMask *_this, unsigned int value);
80
85
89
94
97
100
105
109
113
116
119
125
130
134
138
142
146
151
156
161
166
172
178
184
189
195
201
207
211
216
219
222
227
233
236
239
245
250
255
259
264
269
274
275#ifdef __cplusplus
276} // extern "C"
277#endif
struct MR_ViewportMask MR_ViewportMask
Definition MRAddVisualPropertiesMixin.h:20
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:27
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 a constructor of class MR::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