#include <MRImage.h>
Inheritance diagram for MR::Image:Public Member Functions | |
| Color & | operator[] (const Vector2i &p) |
| fetches some texture element specified by integer coordinates | |
| Color | operator[] (const Vector2i &p) const |
| size_t | heapBytes () const |
| returns the amount of memory this object occupies on heap | |
| MRMESH_API Color | sampleDiscrete (const UVCoord &pos) const |
| MRMESH_API Color | sampleBilinear (const UVCoord &pos) const |
| Color | sample (FilterType filter, const UVCoord &pos) const |
Public Attributes | |
| std::vector< Color > | pixels |
| Vector2i | resolution |
struct to hold Image data