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#include <stdint.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13
17typedef struct MR_ViewportId
18{
19 uint32_t id_;
21
25
29
32
37
40
44
48
52
56
60
64
68
72
77
81
86
90
95
98
101
106
110
114
117
120
126
131
135
139
143
147
152
157
162
167
173
179
185
190
196
202
208
212
217
220
223
228
234
237
240
246
251
256
260
265
270
275
276#ifdef __cplusplus
277} // extern "C"
278#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 const uint32_t * MR_ViewportMask_Get_mask_(const MR_ViewportMask *_this)
MRC_API MR_ViewportMask * MR_ViewportMask_any(void)
MRC_API MR_ViewportMask * MR_ViewportMask_Construct_uint32_t(uint32_t i)
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:28
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 uint32_t * MR_ViewportMask_GetMutable_mask_(MR_ViewportMask *_this)
MRC_API bool MR_ViewportMask_contains(const MR_ViewportMask *_this, MR_ViewportId id)
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 uint32_t MR_ViewportMask_value(const MR_ViewportMask *_this)
MRC_API MR_ViewportId MR_ViewportId_Construct(uint32_t i)
Generated from a constructor of class MR::ViewportId.
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 void MR_ViewportMask_Set_mask_(MR_ViewportMask *_this, uint32_t value)
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 MR_ViewportIterator * MR_begin_MR_ViewportMask(const MR_ViewportMask *mask)
MRC_API MR_ViewportId MR_deref_MR_ViewportIterator(const MR_ViewportIterator *_this)
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 uint32_t MR_ViewportId_value(const MR_ViewportId *_this)
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_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:18
uint32_t id_
Definition MRViewportId.h:19