MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::MeshTexture Struct Reference

#include <MRMesh/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< Colorpixels
Vector2i resolution

Additional Inherited Members

Public Member Functions inherited from MR::Image
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

Member Data Documentation

◆ filter

FilterType MR::MeshTexture::filter = FilterType::Discrete

◆ wrap

WrapType MR::MeshTexture::wrap = WrapType::Clamp

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