MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Const_MeshTexture Class Reference

Generated from class MR.MeshTexture. Base classes: Direct: (non-virtual) MR.Image This is the const half of the class. More...

+ Inheritance diagram for MR.Const_MeshTexture:

Classes

struct  _Underlying
 

Public Member Functions

virtual void Dispose ()
 
unsafe Const_MeshTexture ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_MeshTexture (MR._ByValue_MeshTexture _other)
 Generated from constructor MR.MeshTexture.MeshTexture.
 
unsafe ulong heapBytes ()
 returns the amount of memory this object occupies on heap Generated from method MR.MeshTexture.heapBytes.
 
unsafe MR.Color sampleDiscrete (in MR.Vector2f pos)
 Given texture position in [0,1]x[0,1] (which is clamped if necessary), returns the color of the closest pixel Generated from method MR.MeshTexture.sampleDiscrete.
 
unsafe MR.Color sampleBilinear (in MR.Vector2f pos)
 Given texture position in [0,1]x[0,1] (which is clamped if necessary), returns bilinear interpolated color at it Generated from method MR.MeshTexture.sampleBilinear.
 
unsafe MR.Color sample (MR.FilterType filter, in MR.Vector2f pos)
 Given texture position in [0,1]x[0,1] (which is clamped if necessary), returns sampled color at it according to given filter Generated from method MR.MeshTexture.sample.
 

Static Public Member Functions

static unsafe implicit operator MR.Const_Image (Const_MeshTexture self)
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

unsafe MR.FilterType filter [get]
 
unsafe MR.WrapType wrap [get]
 
unsafe MR.Std.Const_Vector_MRColor pixels [get]
 
unsafe ref readonly MR.Vector2i resolution [get]
 
- Properties inherited from MR.Misc.Object< Const_MeshTexture >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Additional Inherited Members

- Protected Attributes inherited from MR.Misc.Object< Const_MeshTexture >
bool _IsOwningVal
 

Detailed Description

Generated from class MR.MeshTexture. Base classes: Direct: (non-virtual) MR.Image This is the const half of the class.


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