MeshLib C Docs
Loading...
Searching...
No Matches
MRMeshTexture.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMesh/MRMeshFwd.h>
4#include <MRCMisc/common.h>
5#include <MRCMisc/exports.h>
6
7#include <stddef.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct MR_Image MR_Image; // Defined in `#include <MRCMesh/MRImage.h>`.
14
15
21
26
30
35
40
44
49
53
58
61
64
68
71
75
78
81
86
87#ifdef __cplusplus
88} // extern "C"
89#endif
struct MR_MeshTexture MR_MeshTexture
Definition MRImage.h:15
struct MR_Image MR_Image
Definition MRJpeg.h:10
char MR_WrapType
Definition MRMeshFwd.h:22
char MR_FilterType
Definition MRMeshFwd.h:15
MRC_API const MR_Image * MR_MeshTexture_UpcastTo_MR_Image(const MR_MeshTexture *object)
MRC_API MR_Image * MR_MeshTexture_MutableUpcastTo_MR_Image(MR_MeshTexture *object)
Upcasts an instance of MR::MeshTexture to its base class MR::Image.
MRC_API void MR_MeshTexture_Set_wrap(MR_MeshTexture *_this, MR_WrapType value)
MRC_API void MR_MeshTexture_Set_filter(MR_MeshTexture *_this, MR_FilterType value)
MRC_API void MR_MeshTexture_Destroy(const MR_MeshTexture *_this)
Destroys a heap-allocated instance of MR_MeshTexture. Does nothing if the pointer is null.
MRC_API void MR_MeshTexture_DestroyArray(const MR_MeshTexture *_this)
Destroys a heap-allocated array of MR_MeshTexture. Does nothing if the pointer is null.
MRC_API const MR_FilterType * MR_MeshTexture_Get_filter(const MR_MeshTexture *_this)
MRC_API MR_MeshTexture * MR_MeshTexture_ConstructFromAnother(MR_PassBy _other_pass_by, MR_MeshTexture *_other)
MRC_API MR_MeshTexture * MR_MeshTexture_OffsetMutablePtr(MR_MeshTexture *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 MR_MeshTexture * MR_MeshTexture_OffsetPtr(const MR_MeshTexture *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_MeshTexture * MR_MeshTexture_DefaultConstruct(void)
MRC_API const MR_WrapType * MR_MeshTexture_Get_wrap(const MR_MeshTexture *_this)
MRC_API MR_FilterType * MR_MeshTexture_GetMutable_filter(MR_MeshTexture *_this)
MRC_API MR_MeshTexture * MR_MeshTexture_AssignFromAnother(MR_MeshTexture *_this, MR_PassBy _other_pass_by, MR_MeshTexture *_other)
MRC_API MR_MeshTexture * MR_MeshTexture_DefaultConstructArray(size_t num_elems)
MRC_API MR_WrapType * MR_MeshTexture_GetMutable_wrap(MR_MeshTexture *_this)
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11