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

Vector<T> is indexed by size_t Generated from class MR.TexturePerFace. This is the non-const half of the class. More...

Inheritance diagram for MR.TexturePerFace:

Public Member Functions

unsafe TexturePerFace ()
 creates empty vector
unsafe TexturePerFace (MR._ByValue_TexturePerFace _other)
 Generated from constructor MR.TexturePerFace.TexturePerFace.
 TexturePerFace (Const_TexturePerFace _other)
 Generated from constructor MR.TexturePerFace.TexturePerFace.
 TexturePerFace (TexturePerFace _other)
 Generated from constructor MR.TexturePerFace.TexturePerFace.
unsafe TexturePerFace (nuint size)
 creates a vector with size elements with default value Generated from constructor MR.TexturePerFace.TexturePerFace.
unsafe TexturePerFace (nuint size, in MR.TextureId val)
 creates a vector with size elements with the given value Generated from constructor MR.TexturePerFace.TexturePerFace.
unsafe MR.TexturePerFace assign (MR._ByValue_TexturePerFace _other)
 Generated from method MR::TexturePerFace::operator=.
unsafe void assign (nuint count, in MR.TextureId val)
 replaces the contents with count copies of val Generated from method MR.TexturePerFace.assign.
unsafe void clear ()
 Generated from method MR.TexturePerFace.clear.
unsafe void resize (nuint newSize)
 Generated from method MR.TexturePerFace.resize.
unsafe void resize (nuint newSize, in MR.TextureId t)
 Generated from method MR.TexturePerFace.resize.
unsafe void resizeNoInit (nuint targetSize, MR.ReserveMode? mode=null)
 Generated from method MR.TexturePerFace.resizeNoInit. Parameter mode defaults to MR.ReserveMode.Exact.
unsafe void reserve (nuint capacity)
 Generated from method MR.TexturePerFace.reserve.
unsafe void shrinkToFit ()
 Generated from method MR::TexturePerFace::shrink_to_fit.
unsafe void resizeWithReserve (nuint newSize)
 same as resize(newSize), which already grows the capacity geometrically Generated from method MR.TexturePerFace.resizeWithReserve.
unsafe void resizeWithReserve (nuint newSize, in MR.TextureId value)
 same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR.TexturePerFace.resizeWithReserve.
unsafe void autoResizeSet (MR.FaceId pos, nuint len, MR.TextureId val)
 sets elements [pos, pos+len) to the given value, adjusting the size of the vector to include new elements; the elements in between old size and pos are also set to val (for faster implementation) Generated from method MR.TexturePerFace.autoResizeSet.
unsafe void autoResizeSet (MR.FaceId i, MR.TextureId val)
 sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR.TexturePerFace.autoResizeSet.
unsafe ref MR.TextureId autoResizeAt (MR.FaceId i)
 this accessor automatically adjusts the size of the vector Generated from method MR.TexturePerFace.autoResizeAt.
unsafe void pushBack (in MR.TextureId t)
 Generated from method MR::TexturePerFace::push_back.
unsafe void pushBack (MR.Misc._MoveRef _move_t, in MR.TextureId t)
 Generated from method MR::TexturePerFace::push_back.
unsafe void popBack ()
 Generated from method MR::TexturePerFace::pop_back.
unsafe new ref MR.TextureId front ()
 Generated from method MR.TexturePerFace.front.
unsafe new ref MR.TextureId back ()
 Generated from method MR.TexturePerFace.back.
unsafe new MR.Misc.? Ref< MR.TextureId > data ()
 Generated from method MR.TexturePerFace.data.
unsafe void swap (MR.TexturePerFace b)
 Generated from method MR.TexturePerFace.swap.
Public Member Functions inherited from MR.Const_TexturePerFace
virtual void Dispose ()
unsafe Const_TexturePerFace ()
 creates empty vector
unsafe Const_TexturePerFace (MR._ByValue_TexturePerFace _other)
 Generated from constructor MR.TexturePerFace.TexturePerFace.
 Const_TexturePerFace (Const_TexturePerFace _other)
 Generated from constructor MR.TexturePerFace.TexturePerFace.
 Const_TexturePerFace (TexturePerFace _other)
 Generated from constructor MR.TexturePerFace.TexturePerFace.
unsafe Const_TexturePerFace (nuint size)
 creates a vector with size elements with default value Generated from constructor MR.TexturePerFace.TexturePerFace.
unsafe Const_TexturePerFace (nuint size, in MR.TextureId val)
 creates a vector with size elements with the given value Generated from constructor MR.TexturePerFace.TexturePerFace.
unsafe bool empty ()
 Generated from method MR.TexturePerFace.empty.
unsafe nuint size ()
 Generated from method MR.TexturePerFace.size.
unsafe nuint maxSize ()
 Generated from method MR::TexturePerFace::max_size.
unsafe nuint capacity ()
 Generated from method MR.TexturePerFace.capacity.
unsafe ref readonly MR.TextureId front ()
 Generated from method MR.TexturePerFace.front.
unsafe ref readonly MR.TextureId back ()
 Generated from method MR.TexturePerFace.back.
unsafe MR.FaceId beginId ()
 returns the identifier of the first element Generated from method MR.TexturePerFace.beginId.
unsafe MR.FaceId backId ()
 returns the identifier of the back() element Generated from method MR.TexturePerFace.backId.
unsafe MR.FaceId endId ()
 returns backId() + 1 Generated from method MR.TexturePerFace.endId.
unsafe MR.? TextureId data ()
 Generated from method MR.TexturePerFace.data.
unsafe nuint heapBytes ()
 returns the amount of memory this object occupies on heap Generated from method MR.TexturePerFace.heapBytes.
bool Equals (MR.Const_TexturePerFace? b)
override bool Equals (object? other)

Properties

new unsafe MR.Std.Vector_MRTextureId_MRAllocatorMRTextureId vec [get, protected set]
 The user can directly manipulate the vector, they can't break anything anyway.
unsafe new ref MR.TextureId this[MR.FaceId i] [get]
 Generated from method MR::TexturePerFace::operator[].
Properties inherited from MR.Const_TexturePerFace
unsafe MR.Std.Const_Vector_MRTextureId_MRAllocatorMRTextureId vec [get, protected set]
 The user can directly manipulate the vector, they can't break anything anyway.
unsafe ref readonly MR.TextureId this[MR.FaceId i] [get]
 Generated from method MR::TexturePerFace::operator[].

Additional Inherited Members

Static Public Member Functions inherited from MR.Const_TexturePerFace
static unsafe bool operator== (MR.Const_TexturePerFace _this, MR.Const_TexturePerFace b)
 Generated from method MR::TexturePerFace::operator==.
static unsafe bool operator!= (MR.Const_TexturePerFace _this, MR.Const_TexturePerFace b)
Protected Member Functions inherited from MR.Const_TexturePerFace
virtual unsafe void Dispose (bool disposing)

Detailed Description

Vector<T> is indexed by size_t Generated from class MR.TexturePerFace. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ TexturePerFace() [1/6]

unsafe MR.TexturePerFace.TexturePerFace ( )
inline

creates empty vector

◆ TexturePerFace() [2/6]

unsafe MR.TexturePerFace.TexturePerFace ( MR._ByValue_TexturePerFace _other)
inline

Generated from constructor MR.TexturePerFace.TexturePerFace.

◆ TexturePerFace() [3/6]

MR.TexturePerFace.TexturePerFace ( Const_TexturePerFace _other)
inline

Generated from constructor MR.TexturePerFace.TexturePerFace.

◆ TexturePerFace() [4/6]

MR.TexturePerFace.TexturePerFace ( TexturePerFace _other)
inline

Generated from constructor MR.TexturePerFace.TexturePerFace.

◆ TexturePerFace() [5/6]

unsafe MR.TexturePerFace.TexturePerFace ( nuint size)
inline

creates a vector with size elements with default value Generated from constructor MR.TexturePerFace.TexturePerFace.

◆ TexturePerFace() [6/6]

unsafe MR.TexturePerFace.TexturePerFace ( nuint size,
in MR.TextureId val )
inline

creates a vector with size elements with the given value Generated from constructor MR.TexturePerFace.TexturePerFace.

Member Function Documentation

◆ assign() [1/2]

unsafe MR.TexturePerFace MR.TexturePerFace.assign ( MR._ByValue_TexturePerFace _other)
inline

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

◆ assign() [2/2]

unsafe void MR.TexturePerFace.assign ( nuint count,
in MR.TextureId val )
inline

replaces the contents with count copies of val Generated from method MR.TexturePerFace.assign.

◆ autoResizeAt()

unsafe ref MR.TextureId MR.TexturePerFace.autoResizeAt ( MR.FaceId i)
inline

this accessor automatically adjusts the size of the vector Generated from method MR.TexturePerFace.autoResizeAt.

◆ autoResizeSet() [1/2]

unsafe void MR.TexturePerFace.autoResizeSet ( MR.FaceId i,
MR.TextureId val )
inline

sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR.TexturePerFace.autoResizeSet.

◆ autoResizeSet() [2/2]

unsafe void MR.TexturePerFace.autoResizeSet ( MR.FaceId pos,
nuint len,
MR.TextureId val )
inline

sets elements [pos, pos+len) to the given value, adjusting the size of the vector to include new elements; the elements in between old size and pos are also set to val (for faster implementation) Generated from method MR.TexturePerFace.autoResizeSet.

◆ back()

unsafe new ref MR.TextureId MR.TexturePerFace.back ( )
inline

Generated from method MR.TexturePerFace.back.

◆ clear()

unsafe void MR.TexturePerFace.clear ( )
inline

Generated from method MR.TexturePerFace.clear.

◆ data()

unsafe new MR.Misc.? Ref< MR.TextureId > MR.TexturePerFace.data ( )
inline

Generated from method MR.TexturePerFace.data.

◆ front()

unsafe new ref MR.TextureId MR.TexturePerFace.front ( )
inline

Generated from method MR.TexturePerFace.front.

◆ popBack()

unsafe void MR.TexturePerFace.popBack ( )
inline

Generated from method MR::TexturePerFace::pop_back.

◆ pushBack() [1/2]

unsafe void MR.TexturePerFace.pushBack ( in MR.TextureId t)
inline

Generated from method MR::TexturePerFace::push_back.

◆ pushBack() [2/2]

unsafe void MR.TexturePerFace.pushBack ( MR.Misc._MoveRef _move_t,
in MR.TextureId t )
inline

Generated from method MR::TexturePerFace::push_back.

◆ reserve()

unsafe void MR.TexturePerFace.reserve ( nuint capacity)
inline

Generated from method MR.TexturePerFace.reserve.

◆ resize() [1/2]

unsafe void MR.TexturePerFace.resize ( nuint newSize)
inline

Generated from method MR.TexturePerFace.resize.

◆ resize() [2/2]

unsafe void MR.TexturePerFace.resize ( nuint newSize,
in MR.TextureId t )
inline

Generated from method MR.TexturePerFace.resize.

◆ resizeNoInit()

unsafe void MR.TexturePerFace.resizeNoInit ( nuint targetSize,
MR.ReserveMode? mode = null )
inline

Generated from method MR.TexturePerFace.resizeNoInit. Parameter mode defaults to MR.ReserveMode.Exact.

◆ resizeWithReserve() [1/2]

unsafe void MR.TexturePerFace.resizeWithReserve ( nuint newSize)
inline

same as resize(newSize), which already grows the capacity geometrically Generated from method MR.TexturePerFace.resizeWithReserve.

◆ resizeWithReserve() [2/2]

unsafe void MR.TexturePerFace.resizeWithReserve ( nuint newSize,
in MR.TextureId value )
inline

same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR.TexturePerFace.resizeWithReserve.

◆ shrinkToFit()

unsafe void MR.TexturePerFace.shrinkToFit ( )
inline

Generated from method MR::TexturePerFace::shrink_to_fit.

◆ swap()

unsafe void MR.TexturePerFace.swap ( MR.TexturePerFace b)
inline

Generated from method MR.TexturePerFace.swap.

Property Documentation

◆ this[MR.FaceId i]

unsafe new ref MR.TextureId MR.TexturePerFace.this[MR.FaceId i]
get

Generated from method MR::TexturePerFace::operator[].

◆ vec

new unsafe MR.Std.Vector_MRTextureId_MRAllocatorMRTextureId MR.TexturePerFace.vec
getprotected set

The user can directly manipulate the vector, they can't break anything anyway.


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