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

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.
 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.Const_Image (Const_MeshTexture self)

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe MR.FilterType__ref_storage_filter
unsafe MR.WrapType__ref_storage_wrap
unsafe MR.Vector2i__ref_storage_resolution

Properties

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]

Detailed Description

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

Constructor & Destructor Documentation

◆ Const_MeshTexture() [1/4]

unsafe MR.Const_MeshTexture.Const_MeshTexture ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_MeshTexture() [2/4]

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

Generated from constructor MR.MeshTexture.MeshTexture.

◆ Const_MeshTexture() [3/4]

MR.Const_MeshTexture.Const_MeshTexture ( Const_MeshTexture _other)
inline

Generated from constructor MR.MeshTexture.MeshTexture.

◆ Const_MeshTexture() [4/4]

MR.Const_MeshTexture.Const_MeshTexture ( MeshTexture _other)
inline

Generated from constructor MR.MeshTexture.MeshTexture.

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_MeshTexture.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_MeshTexture.Dispose ( bool disposing)
inlineprotectedvirtual

◆ heapBytes()

unsafe ulong MR.Const_MeshTexture.heapBytes ( )
inline

returns the amount of memory this object occupies on heap Generated from method MR.MeshTexture.heapBytes.

◆ operator MR.Const_Image()

unsafe implicit MR.Const_MeshTexture.operator MR.Const_Image ( Const_MeshTexture self)
inlinestatic

◆ sample()

unsafe MR.Color MR.Const_MeshTexture.sample ( MR.FilterType filter,
in MR.Vector2f pos )
inline

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.

◆ sampleBilinear()

unsafe MR.Color MR.Const_MeshTexture.sampleBilinear ( in MR.Vector2f pos)
inline

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.

◆ sampleDiscrete()

unsafe MR.Color MR.Const_MeshTexture.sampleDiscrete ( in MR.Vector2f pos)
inline

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.

Member Data Documentation

◆ __ref_storage_filter

unsafe MR.FilterType* MR.Const_MeshTexture.__ref_storage_filter
protected

◆ __ref_storage_resolution

unsafe MR.Vector2i* MR.Const_MeshTexture.__ref_storage_resolution
protected

◆ __ref_storage_wrap

unsafe MR.WrapType* MR.Const_MeshTexture.__ref_storage_wrap
protected

Property Documentation

◆ filter

unsafe MR.FilterType MR.Const_MeshTexture.filter
get

◆ pixels

unsafe MR.Std.Const_Vector_MRColor MR.Const_MeshTexture.pixels
getprotected set

◆ resolution

unsafe ref readonly MR.Vector2i MR.Const_MeshTexture.resolution
get

◆ wrap

unsafe MR.WrapType MR.Const_MeshTexture.wrap
get

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