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

Vector<bool, I> like container (random-access, I - index type, bool - value type) with all bits after size() considered off during testing Generated from class MR.TextureBitSet. Base classes: Direct: (non-virtual) MR.BitSet This is the non-const half of the class. More...

+ Inheritance diagram for MR.TextureBitSet:

Public Member Functions

unsafe TextureBitSet ()
 Constructs an empty (default-constructed) instance.
 
unsafe TextureBitSet (MR._ByValue_TextureBitSet _other)
 Generated from constructor MR.TextureBitSet.TextureBitSet.
 
unsafe TextureBitSet (ulong numBits, bool? fillValue=null)
 creates bitset of given size filled with given value Generated from constructor MR.TextureBitSet.TextureBitSet. Parameter fillValue defaults to false.
 
unsafe TextureBitSet (MR.Const_BitSet src)
 copies all bits from another BitSet (or a descending class, e.g. TypedBitSet) Generated from constructor MR.TextureBitSet.TextureBitSet.
 
unsafe TextureBitSet (MR.Misc._Moved< MR.BitSet > src)
 moves all bits from another BitSet (or a descending class, e.g. TypedBitSet) Generated from constructor MR.TextureBitSet.TextureBitSet.
 
unsafe MR.TextureBitSet assign (MR._ByValue_TextureBitSet _other)
 Generated from method MR.TextureBitSet.operator=.
 
unsafe MR.TextureBitSet set (MR.TextureId n, ulong len, bool val)
 Generated from method MR.TextureBitSet.set.
 
unsafe MR.TextureBitSet set (MR.TextureId n, bool val)
 Generated from method MR.TextureBitSet.set.
 
unsafe MR.TextureBitSet set (MR.TextureId n)
 Generated from method MR.TextureBitSet.set.
 
unsafe MR.TextureBitSet set ()
 Generated from method MR.TextureBitSet.set.
 
unsafe MR.TextureBitSet reset (MR.TextureId n, ulong len)
 Generated from method MR.TextureBitSet.reset.
 
unsafe MR.TextureBitSet reset (MR.TextureId n)
 Generated from method MR.TextureBitSet.reset.
 
unsafe MR.TextureBitSet reset ()
 Generated from method MR.TextureBitSet.reset.
 
unsafe MR.TextureBitSet flip (MR.TextureId n, ulong len)
 Generated from method MR.TextureBitSet.flip.
 
unsafe MR.TextureBitSet flip (MR.TextureId n)
 Generated from method MR.TextureBitSet.flip.
 
unsafe MR.TextureBitSet flip ()
 Generated from method MR.TextureBitSet.flip.
 
unsafe bool testSet (MR.TextureId n, bool? val=null)
 Generated from method MR.TextureBitSet.test_set. Parameter val defaults to true.
 
unsafe MR.TextureBitSet bitandAssign (MR.Const_TextureBitSet b)
 Generated from method MR.TextureBitSet.operator&=.
 
unsafe MR.TextureBitSet bitorAssign (MR.Const_TextureBitSet b)
 Generated from method MR.TextureBitSet.operator|=.
 
unsafe MR.TextureBitSet xorAssign (MR.Const_TextureBitSet b)
 Generated from method MR.TextureBitSet.operator^=.
 
unsafe MR.TextureBitSet subAssign (MR.Const_TextureBitSet b)
 Generated from method MR.TextureBitSet.operator-=.
 
unsafe MR.TextureBitSet subtract (MR.Const_TextureBitSet b, int bShiftInBlocks)
 subtracts b from this, considering that bits in b are shifted right on bShiftInBlocks*bits_per_block Generated from method MR.TextureBitSet.subtract.
 
unsafe void autoResizeSet (MR.TextureId pos, ulong len, bool? val=null)
 Generated from method MR.TextureBitSet.autoResizeSet. Parameter val defaults to true.
 
unsafe void autoResizeSet (MR.TextureId pos, bool? val=null)
 Generated from method MR.TextureBitSet.autoResizeSet. Parameter val defaults to true.
 
unsafe bool autoResizeTestSet (MR.TextureId pos, bool? val=null)
 Generated from method MR.TextureBitSet.autoResizeTestSet. Parameter val defaults to true.
 
unsafe void reserve (ulong numBits)
 Generated from method MR.TextureBitSet.reserve.
 
unsafe void resize (ulong numBits, bool? fillValue=null)
 Generated from method MR.TextureBitSet.resize. Parameter fillValue defaults to false.
 
unsafe void clear ()
 Generated from method MR.TextureBitSet.clear.
 
unsafe void shrinkToFit ()
 Generated from method MR.TextureBitSet.shrink_to_fit.
 
unsafe bool uncheckedTestSet (ulong n, bool? val=null)
 Generated from method MR.TextureBitSet.uncheckedTestSet. Parameter val defaults to true.
 
unsafe void reverse ()
 changes the order of bits on the opposite Generated from method MR.TextureBitSet.reverse.
 
unsafe void pushBack (bool val)
 adds one more bit with the given value in the container, increasing its size on 1 Generated from method MR.TextureBitSet.push_back.
 
unsafe void popBack ()
 removes last bit from the container, decreasing its size on 1 Generated from method MR.TextureBitSet.pop_back.
 
unsafe void resizeWithReserve (ulong newSize)
 doubles reserved memory until resize(newSize) can be done without reallocation Generated from method MR.TextureBitSet.resizeWithReserve.
 
- Public Member Functions inherited from MR.Const_TextureBitSet
virtual void Dispose ()
 
unsafe Const_TextureBitSet ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_TextureBitSet (MR._ByValue_TextureBitSet _other)
 Generated from constructor MR.TextureBitSet.TextureBitSet.
 
unsafe Const_TextureBitSet (ulong numBits, bool? fillValue=null)
 creates bitset of given size filled with given value Generated from constructor MR.TextureBitSet.TextureBitSet. Parameter fillValue defaults to false.
 
unsafe Const_TextureBitSet (MR.Const_BitSet src)
 copies all bits from another BitSet (or a descending class, e.g. TypedBitSet) Generated from constructor MR.TextureBitSet.TextureBitSet.
 
unsafe Const_TextureBitSet (MR.Misc._Moved< MR.BitSet > src)
 moves all bits from another BitSet (or a descending class, e.g. TypedBitSet) Generated from constructor MR.TextureBitSet.TextureBitSet.
 
unsafe bool test (MR.TextureId n)
 Generated from method MR.TextureBitSet.test.
 
unsafe MR.TextureId findFirst ()
 Generated from method MR.TextureBitSet.find_first.
 
unsafe MR.TextureId findNext (MR.TextureId pos)
 Generated from method MR.TextureBitSet.find_next.
 
unsafe MR.TextureId findLast ()
 Generated from method MR.TextureBitSet.find_last.
 
unsafe MR.TextureId nthSetBit (ulong n)
 returns the location of nth set bit (where the first bit corresponds to n=0) or IndexType(npos) if there are less bit set Generated from method MR.TextureBitSet.nthSetBit.
 
unsafe bool isSubsetOf (MR.Const_TextureBitSet a)
 returns true if, for every bit that is set in this bitset, the corresponding bit in bitset a is also set. Otherwise this function returns false. Generated from method MR.TextureBitSet.is_subset_of.
 
unsafe bool intersects (MR.Const_TextureBitSet a)
 returns true if, there is a bit which is set in this bitset, such that the corresponding bit in bitset a is also set. Otherwise this function returns false. Generated from method MR.TextureBitSet.intersects.
 
unsafe MR.TextureBitSet getMapping (MR.Const_Vector_MRTextureId_MRTextureId map)
 Generated from method MR.TextureBitSet.getMapping.
 
unsafe MR.TextureBitSet getMapping (MR.Const_BMap_MRTextureId_MRTextureId map)
 Generated from method MR.TextureBitSet.getMapping.
 
unsafe MR.TextureBitSet getMapping (MR.Phmap.Const_FlatHashMap_MRTextureId_MRTextureId map)
 Generated from method MR.TextureBitSet.getMapping.
 
unsafe MR.TextureBitSet getMapping (MR.Const_Vector_MRTextureId_MRTextureId map, ulong resSize)
 Generated from method MR.TextureBitSet.getMapping.
 
unsafe MR.TextureBitSet getMapping (MR.Phmap.Const_FlatHashMap_MRTextureId_MRTextureId map, ulong resSize)
 Generated from method MR.TextureBitSet.getMapping.
 
unsafe MR.TextureId backId ()
 returns the identifier of the back() element Generated from method MR.TextureBitSet.backId.
 
unsafe MR.TextureId endId ()
 Generated from method MR.TextureBitSet.endId.
 
unsafe bool empty ()
 Generated from method MR.TextureBitSet.empty.
 
unsafe ulong size ()
 Generated from method MR.TextureBitSet.size.
 
unsafe ulong numBlocks ()
 Generated from method MR.TextureBitSet.num_blocks.
 
unsafe ulong capacity ()
 Generated from method MR.TextureBitSet.capacity.
 
unsafe bool uncheckedTest (ulong n)
 Generated from method MR.TextureBitSet.uncheckedTest.
 
unsafe MR.Std.Const_Vector_MRUint64T bits ()
 read-only access to all bits stored as a vector of uint64 blocks Generated from method MR.TextureBitSet.bits.
 
unsafe bool all ()
 returns true if all bits in this container are set Generated from method MR.TextureBitSet.all.
 
unsafe bool any ()
 returns true if at least one bits in this container is set Generated from method MR.TextureBitSet.any.
 
unsafe bool none ()
 returns true if all bits in this container are reset Generated from method MR.TextureBitSet.none.
 
unsafe ulong count ()
 computes the number of set bits in the whole set Generated from method MR.TextureBitSet.count.
 
unsafe ulong heapBytes ()
 returns the amount of memory this object occupies on heap Generated from method MR.TextureBitSet.heapBytes.
 

Static Public Member Functions

static unsafe implicit operator MR.BitSet (TextureBitSet self)
 
- Static Public Member Functions inherited from MR.Const_TextureBitSet
static unsafe implicit operator MR.Const_BitSet (Const_TextureBitSet self)
 
static MR.TextureId beginId ()
 [beginId(), endId()) is the range of all bits in the set Generated from method MR.TextureBitSet.beginId.
 
static unsafe MR.BitSet fromBlocks (MR.Misc._Moved< MR.Std.Vector_MRUint64T > blocks)
 creates bitset from the given blocks of bits Generated from method MR.TextureBitSet.fromBlocks.
 
static unsafe MR.TextureBitSet operator& (MR.Const_TextureBitSet a, MR.Const_TextureBitSet b)
 Generated from function MR.operator&.
 
static unsafe MR.TextureBitSet operator| (MR.Const_TextureBitSet a, MR.Const_TextureBitSet b)
 Generated from function MR.operator|.
 
static unsafe MR.TextureBitSet operator^ (MR.Const_TextureBitSet a, MR.Const_TextureBitSet b)
 Generated from function MR.operator^.
 
static unsafe MR.TextureBitSet operator- (MR.Const_TextureBitSet a, MR.Const_TextureBitSet b)
 Generated from function MR.operator-.
 

Additional Inherited Members

- Protected Member Functions inherited from MR.Const_TextureBitSet
virtual unsafe void Dispose (bool disposing)
 
- Protected Attributes inherited from MR.Misc.Object< Const_TextureBitSet >
bool _IsOwningVal
 
- Properties inherited from MR.Const_TextureBitSet
static unsafe ulong BitsPerBlock [get]
 
static unsafe ulong Npos [get]
 
- Properties inherited from MR.Misc.Object< Const_TextureBitSet >
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.
 

Detailed Description

Vector<bool, I> like container (random-access, I - index type, bool - value type) with all bits after size() considered off during testing Generated from class MR.TextureBitSet. Base classes: Direct: (non-virtual) MR.BitSet This is the non-const half of the class.


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