MeshLib C++ Docs
Loading...
Searching...
No Matches

#include <MRMesh/MRImage.h>

Inheritance diagram for MR::Image:

Public Member Functions

Coloroperator[] (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
Color sampleDiscrete (const UVCoord &pos) const
Color sampleBilinear (const UVCoord &pos) const
Color sample (FilterType filter, const UVCoord &pos) const

Public Attributes

std::vector< Colorpixels
Vector2i resolution

Detailed Description

struct to hold Image data


The documentation for this struct was generated from the following file: