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

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

Inheritance diagram for MR.MeshTexture:

Public Member Functions

unsafe MeshTexture ()
 Constructs an empty (default-constructed) instance.
unsafe MeshTexture (MR._ByValue_MeshTexture _other)
 Generated from constructor MR.MeshTexture.MeshTexture.
 MeshTexture (Const_MeshTexture _other)
 Generated from constructor MR.MeshTexture.MeshTexture.
 MeshTexture (MeshTexture _other)
 Generated from constructor MR.MeshTexture.MeshTexture.
unsafe MR.MeshTexture assign (MR._ByValue_MeshTexture _other)
 Generated from method MR::MeshTexture::operator=.
Public Member Functions inherited from MR.Const_MeshTexture
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.
 Const_MeshTexture (Const_MeshTexture _other)
 Generated from constructor MR.MeshTexture.MeshTexture.
 Const_MeshTexture (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.Image (MeshTexture self)
Static Public Member Functions inherited from MR.Const_MeshTexture
static unsafe implicit operator MR.Const_Image (Const_MeshTexture self)

Properties

new unsafe ref MR.FilterType filter [get]
new unsafe ref MR.WrapType wrap [get]
new unsafe MR.Std.Vector_MRColor pixels [get, protected set]
new unsafe ref MR.Vector2i resolution [get]
Properties inherited from MR.Const_MeshTexture
unsafe MR.FilterType filter [get]
unsafe MR.WrapType wrap [get]
unsafe MR.Std.Const_Vector_MRColor pixels [get, protected set]
unsafe ref readonly MR.Vector2i resolution [get]

Additional Inherited Members

Protected Member Functions inherited from MR.Const_MeshTexture
virtual unsafe void Dispose (bool disposing)
Protected Attributes inherited from MR.Const_MeshTexture
unsafe MR.FilterType__ref_storage_filter
unsafe MR.WrapType__ref_storage_wrap
unsafe MR.Vector2i__ref_storage_resolution

Detailed Description

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

Constructor & Destructor Documentation

◆ MeshTexture() [1/4]

unsafe MR.MeshTexture.MeshTexture ( )
inline

Constructs an empty (default-constructed) instance.

◆ MeshTexture() [2/4]

unsafe MR.MeshTexture.MeshTexture ( MR._ByValue_MeshTexture _other)
inline

Generated from constructor MR.MeshTexture.MeshTexture.

◆ MeshTexture() [3/4]

MR.MeshTexture.MeshTexture ( Const_MeshTexture _other)
inline

Generated from constructor MR.MeshTexture.MeshTexture.

◆ MeshTexture() [4/4]

MR.MeshTexture.MeshTexture ( MeshTexture _other)
inline

Generated from constructor MR.MeshTexture.MeshTexture.

Member Function Documentation

◆ assign()

unsafe MR.MeshTexture MR.MeshTexture.assign ( MR._ByValue_MeshTexture _other)
inline

Generated from method MR::MeshTexture::operator=.

◆ operator MR.Image()

unsafe implicit MR.MeshTexture.operator MR.Image ( MeshTexture self)
inlinestatic

Property Documentation

◆ filter

new unsafe ref MR.FilterType MR.MeshTexture.filter
get

◆ pixels

new unsafe MR.Std.Vector_MRColor MR.MeshTexture.pixels
getprotected set

◆ resolution

new unsafe ref MR.Vector2i MR.MeshTexture.resolution
get

◆ wrap

new unsafe ref MR.WrapType MR.MeshTexture.wrap
get

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