struct MR_std_vector_MR_Color MR_std_vector_MR_Color
Definition MRCtm.h:33
struct MR_MeshTexture MR_MeshTexture
Definition MRCtm.h:18
char MR_WrapType
Definition MREnums.h:19
char MR_FilterType
Definition MREnums.h:12
struct MR_Image MR_Image
Definition MRJpeg.h:10
MRC_API const MR_Image * MR_MeshTexture_UpcastTo_MR_Image(const MR_MeshTexture *object)
MRC_API void MR_MeshTexture_Set_pixels(MR_MeshTexture *_this, MR_PassBy value_pass_by, MR_std_vector_MR_Color *value)
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_Set_resolution(MR_MeshTexture *_this, MR_Vector2i 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_Color MR_MeshTexture_sampleDiscrete(const MR_MeshTexture *_this, const MR_Vector2f *pos)
MRC_API const MR_std_vector_MR_Color * MR_MeshTexture_Get_pixels(const MR_MeshTexture *_this)
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 MR_Vector2i * MR_MeshTexture_GetMutable_resolution(MR_MeshTexture *_this)
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_uint64_t MR_MeshTexture_heapBytes(const MR_MeshTexture *_this)
MRC_API MR_Color MR_MeshTexture_sampleBilinear(const MR_MeshTexture *_this, const MR_Vector2f *pos)
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_std_vector_MR_Color * MR_MeshTexture_GetMutable_pixels(MR_MeshTexture *_this)
MRC_API MR_WrapType * MR_MeshTexture_GetMutable_wrap(MR_MeshTexture *_this)
MRC_API const MR_Vector2i * MR_MeshTexture_Get_resolution(const MR_MeshTexture *_this)
MRC_API MR_Color MR_MeshTexture_sample(const MR_MeshTexture *_this, MR_FilterType filter, const MR_Vector2f *pos)
MR_PassBy
Definition common.h:23
uint64_t MR_uint64_t
Definition common.h:18
#define MRC_API
Definition exports.h:11
Generated from class MR::Color.
Definition MRColor.h:18
Definition MRVector2.h:45
Definition MRVector2.h:29