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

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

+ Inheritance diagram for MR.VertColors:

Public Member Functions

unsafe VertColors ()
 Constructs an empty (default-constructed) instance.
 
unsafe VertColors (MR._ByValue_VertColors _other)
 Generated from constructor MR.VertColors.VertColors.
 
unsafe VertColors (ulong size)
 creates a vector with size elements with default value Generated from constructor MR.VertColors.VertColors.
 
unsafe VertColors (ulong size, in MR.Color val)
 creates a vector with size elements with the given value Generated from constructor MR.VertColors.VertColors.
 
unsafe VertColors (MR.Misc._Moved< MR.Std.Vector_MRColor > vec)
 moves data from the given std.vector<T> Generated from constructor MR.VertColors.VertColors.
 
unsafe MR.VertColors assign (MR._ByValue_VertColors _other)
 Generated from method MR.VertColors.operator=.
 
unsafe void clear ()
 Generated from method MR.VertColors.clear.
 
unsafe void resize (ulong newSize)
 Generated from method MR.VertColors.resize.
 
unsafe void resize (ulong newSize, in MR.Color t)
 Generated from method MR.VertColors.resize.
 
unsafe void resizeNoInit (ulong targetSize)
 Generated from method MR.VertColors.resizeNoInit.
 
unsafe void reserve (ulong capacity)
 Generated from method MR.VertColors.reserve.
 
unsafe void resizeWithReserve (ulong newSize)
 doubles reserved memory until resize(newSize) can be done without reallocation Generated from method MR.VertColors.resizeWithReserve.
 
unsafe void resizeWithReserve (ulong newSize, in MR.Color value)
 doubles reserved memory until resize(newSize, value) can be done without reallocation Generated from method MR.VertColors.resizeWithReserve.
 
unsafe void autoResizeSet (MR.VertId pos, ulong len, MR.Color 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.VertColors.autoResizeSet.
 
unsafe void autoResizeSet (MR.VertId i, MR.Color val)
 sets the element #i to the given value, adjusting the size of the vector to include new element Generated from method MR.VertColors.autoResizeSet.
 
unsafe ref MR.Color autoResizeAt (MR.VertId i)
 this accessor automatically adjusts the size of the vector Generated from method MR.VertColors.autoResizeAt.
 
unsafe void pushBack (in MR.Color t)
 Generated from method MR.VertColors.push_back.
 
unsafe void pushBack (MR.Misc._MoveRef _move_t, in MR.Color t)
 Generated from method MR.VertColors.push_back.
 
unsafe void popBack ()
 Generated from method MR.VertColors.pop_back.
 
unsafe ref MR.Color emplaceBack ()
 Generated from method MR.VertColors.emplace_back<>.
 
unsafe new ref MR.Color front ()
 Generated from method MR.VertColors.front.
 
unsafe new ref MR.Color back ()
 Generated from method MR.VertColors.back.
 
unsafe new MR.Misc.? Ref< MR.Colordata ()
 Generated from method MR.VertColors.data.
 
unsafe void swap (MR.VertColors b)
 Generated from method MR.VertColors.swap.
 
- Public Member Functions inherited from MR.Const_VertColors
virtual void Dispose ()
 
unsafe Const_VertColors ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_VertColors (MR._ByValue_VertColors _other)
 Generated from constructor MR.VertColors.VertColors.
 
unsafe Const_VertColors (ulong size)
 creates a vector with size elements with default value Generated from constructor MR.VertColors.VertColors.
 
unsafe Const_VertColors (ulong size, in MR.Color val)
 creates a vector with size elements with the given value Generated from constructor MR.VertColors.VertColors.
 
unsafe Const_VertColors (MR.Misc._Moved< MR.Std.Vector_MRColor > vec)
 moves data from the given std.vector<T> Generated from constructor MR.VertColors.VertColors.
 
unsafe bool empty ()
 Generated from method MR.VertColors.empty.
 
unsafe ulong size ()
 Generated from method MR.VertColors.size.
 
unsafe ulong capacity ()
 Generated from method MR.VertColors.capacity.
 
unsafe ref readonly MR.Color front ()
 Generated from method MR.VertColors.front.
 
unsafe ref readonly MR.Color back ()
 Generated from method MR.VertColors.back.
 
unsafe MR.VertId beginId ()
 returns the identifier of the first element Generated from method MR.VertColors.beginId.
 
unsafe MR.VertId backId ()
 returns the identifier of the back() element Generated from method MR.VertColors.backId.
 
unsafe MR.VertId endId ()
 returns backId() + 1 Generated from method MR.VertColors.endId.
 
unsafe MR.? Color data ()
 Generated from method MR.VertColors.data.
 
unsafe ulong heapBytes ()
 returns the amount of memory this object occupies on heap Generated from method MR.VertColors.heapBytes.
 
bool Equals (MR.Const_VertColors? b)
 
override bool Equals (object? other)
 

Static Public Member Functions

static unsafe implicit operator VertColors (MR.Misc._Moved< MR.Std.Vector_MRColor > vec)
 moves data from the given std.vector<T> Generated from constructor MR.VertColors.VertColors.
 
- Static Public Member Functions inherited from MR.Const_VertColors
static unsafe implicit operator Const_VertColors (MR.Misc._Moved< MR.Std.Vector_MRColor > vec)
 moves data from the given std.vector<T> Generated from constructor MR.VertColors.VertColors.
 
static unsafe bool operator== (MR.Const_VertColors _this, MR.Const_VertColors b)
 Generated from method MR.VertColors.operator==.
 
static unsafe bool operator!= (MR.Const_VertColors _this, MR.Const_VertColors b)
 

Properties

new unsafe MR.Std.Vector_MRColor vec [get]
 the user can directly manipulate the vector, anyway she cannot break anything
 
unsafe new ref MR.Color this[MR.VertId i] [get]
 Generated from method MR.VertColors.operator[].
 
- Properties inherited from MR.Const_VertColors
unsafe MR.Std.Const_Vector_MRColor vec [get]
 the user can directly manipulate the vector, anyway she cannot break anything
 
unsafe ref readonly MR.Color this[MR.VertId i] [get]
 Generated from method MR.VertColors.operator[].
 
- Properties inherited from MR.Misc.Object< Const_VertColors >
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 Member Functions inherited from MR.Const_VertColors
virtual unsafe void Dispose (bool disposing)
 
- Protected Attributes inherited from MR.Misc.Object< Const_VertColors >
bool _IsOwningVal
 

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.VertColors. This is the non-const half of the class.

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