#include <MRMeshTexture.h>
Inheritance diagram for MR::MeshTexture:Public Attributes | |
| FilterType | filter = FilterType::Discrete |
| WrapType | wrap = WrapType::Clamp |
Public Attributes inherited from MR::Image | |
| std::vector< Color > | pixels |
| Vector2i | resolution |
Additional Inherited Members | |
Public Member Functions inherited from MR::Image | |
| 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 |
| FilterType MR::MeshTexture::filter = FilterType::Discrete |
| WrapType MR::MeshTexture::wrap = WrapType::Clamp |