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

std.vector<T>-like container that requires specific indexing type, More...

+ Inheritance diagram for MR.TexturePerFace:

Public Member Functions

unsafe TexturePerFace ()
 Constructs an empty (default-constructed) instance.
 
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 (ulong size)
 creates a vector with size elements with default value Generated from constructor MR.TexturePerFace.TexturePerFace.
 
unsafe TexturePerFace (ulong size, in MR.TextureId val)
 creates a vector with size elements with the given value Generated from constructor MR.TexturePerFace.TexturePerFace.
 
unsafe TexturePerFace (MR.Misc._Moved< MR.Std.Vector_MRTextureId > vec)
 moves data from the given std.vector<T> Generated from constructor MR.TexturePerFace.TexturePerFace.
 
unsafe MR.TexturePerFace assign (MR._ByValue_TexturePerFace _other)
 Generated from method MR.TexturePerFace.operator=.
 
unsafe void clear ()
 Generated from method MR.TexturePerFace.clear.
 
unsafe void resize (ulong newSize)
 Generated from method MR.TexturePerFace.resize.
 
unsafe void resize (ulong newSize, in MR.TextureId t)
 Generated from method MR.TexturePerFace.resize.
 
unsafe void resizeNoInit (ulong targetSize)
 Generated from method MR.TexturePerFace.resizeNoInit.
 
unsafe void reserve (ulong capacity)
 Generated from method MR.TexturePerFace.reserve.
 
unsafe void resizeWithReserve (ulong newSize)
 doubles reserved memory until resize(newSize) can be done without reallocation Generated from method MR.TexturePerFace.resizeWithReserve.
 
unsafe void resizeWithReserve (ulong newSize, in MR.TextureId value)
 doubles reserved memory until resize(newSize, value) can be done without reallocation Generated from method MR.TexturePerFace.resizeWithReserve.
 
unsafe void autoResizeSet (MR.FaceId pos, ulong 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 ref MR.TextureId emplaceBack ()
 Generated from method MR.TexturePerFace.emplace_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.TextureIddata ()
 Generated from method MR.TexturePerFace.data.
 
unsafe void swap (MR.TexturePerFace b)
 Generated from method MR.TexturePerFace.swap.
 

Static Public Member Functions

static unsafe implicit operator TexturePerFace (MR.Misc._Moved< MR.Std.Vector_MRTextureId > vec)
 moves data from the given std.vector<T> Generated from constructor MR.TexturePerFace.TexturePerFace.
 

Properties

new unsafe MR.Std.Vector_MRTextureId vec [get, protected set]
 the user can directly manipulate the vector, anyway she cannot break anything
 
unsafe new ref MR.TextureId this[MR.FaceId i] [get]
 Generated from method MR.TexturePerFace.operator[].
 

Detailed Description

std.vector<T>-like container that requires specific indexing type,

Template Parameters
Ttype of stored elements
Itype of index (shall be convertible to size_t) Generated from class MR.TexturePerFace. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ TexturePerFace() [1/7]

unsafe MR.TexturePerFace.TexturePerFace ( )
inline

Constructs an empty (default-constructed) instance.

◆ TexturePerFace() [2/7]

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

Generated from constructor MR.TexturePerFace.TexturePerFace.

◆ TexturePerFace() [3/7]

MR.TexturePerFace.TexturePerFace ( Const_TexturePerFace _other)
inline

Generated from constructor MR.TexturePerFace.TexturePerFace.

◆ TexturePerFace() [4/7]

MR.TexturePerFace.TexturePerFace ( TexturePerFace _other)
inline

Generated from constructor MR.TexturePerFace.TexturePerFace.

◆ TexturePerFace() [5/7]

unsafe MR.TexturePerFace.TexturePerFace ( ulong size)
inline

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

◆ TexturePerFace() [6/7]

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

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

◆ TexturePerFace() [7/7]

unsafe MR.TexturePerFace.TexturePerFace ( MR.Misc._Moved< MR.Std.Vector_MRTextureId > vec)
inline

moves data from the given std.vector<T> Generated from constructor MR.TexturePerFace.TexturePerFace.

Member Function Documentation

◆ assign()

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

Generated from method MR.TexturePerFace.operator=.

◆ 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,
ulong 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.

◆ emplaceBack()

unsafe ref MR.TextureId MR.TexturePerFace.emplaceBack ( )
inline

Generated from method MR.TexturePerFace.emplace_back<>.

◆ front()

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

Generated from method MR.TexturePerFace.front.

◆ operator TexturePerFace()

static unsafe implicit MR.TexturePerFace.operator TexturePerFace ( MR.Misc._Moved< MR.Std.Vector_MRTextureId > vec)
inlinestatic

moves data from the given std.vector<T> Generated from constructor MR.TexturePerFace.TexturePerFace.

◆ 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 ( ulong capacity)
inline

Generated from method MR.TexturePerFace.reserve.

◆ resize() [1/2]

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

Generated from method MR.TexturePerFace.resize.

◆ resize() [2/2]

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

Generated from method MR.TexturePerFace.resize.

◆ resizeNoInit()

unsafe void MR.TexturePerFace.resizeNoInit ( ulong targetSize)
inline

Generated from method MR.TexturePerFace.resizeNoInit.

◆ resizeWithReserve() [1/2]

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

doubles reserved memory until resize(newSize) can be done without reallocation Generated from method MR.TexturePerFace.resizeWithReserve.

◆ resizeWithReserve() [2/2]

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

doubles reserved memory until resize(newSize, value) can be done without reallocation Generated from method MR.TexturePerFace.resizeWithReserve.

◆ 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 MR.TexturePerFace.vec
getprotected set

the user can directly manipulate the vector, anyway she cannot break anything


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