MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.Vector_MR_MeshTexture_MR_TextureId Class Reference
Inheritance diagram for meshlib.Vector_MR_MeshTexture_MR_TextureId:

Public Member Functions

 Vector_MR_MeshTexture_MR_TextureId (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 Vector_MR_MeshTexture_MR_TextureId ()
 Vector_MR_MeshTexture_MR_TextureId (meshlib.Vector_MR_MeshTexture_MR_TextureId _other)
 Vector_MR_MeshTexture_MR_TextureId (long size)
 Vector_MR_MeshTexture_MR_TextureId (long size, meshlib.MeshTexture val)
meshlib.Vector_MR_MeshTexture_MR_TextureId assignFromAnother (meshlib.Vector_MR_MeshTexture_MR_TextureId _other)
void assign (long count, meshlib.MeshTexture val)
void clear ()
boolean empty ()
long size ()
long max_size ()
void resize (long newSize)
void resize (long newSize, meshlib.MeshTexture t)
long capacity ()
void reserve (long capacity)
void shrink_to_fit ()
meshlib.MeshTexture index (meshlib.TextureId i)
meshlib.MeshTexture index_mut (meshlib.TextureId i)
void resizeWithReserve (long newSize)
void resizeWithReserve (long newSize, meshlib.MeshTexture value)
void autoResizeSet (meshlib.TextureId pos, long len, meshlib.MeshTexture val)
void autoResizeSet (meshlib.TextureId i, meshlib.MeshTexture val)
meshlib.MeshTexture autoResizeAt (meshlib.TextureId i)
void push_back_const_MR_MeshTexture_ref (meshlib.MeshTexture t)
void push_back_MR_MeshTexture_rvalue_ref (meshlib.MeshTexture t)
void pop_back ()
meshlib.MeshTexture emplace_back (meshlib.MeshTexture args)
meshlib.MeshTexture front ()
meshlib.MeshTexture front_mut ()
meshlib.MeshTexture back ()
meshlib.MeshTexture back_mut ()
meshlib.TextureId beginId ()
meshlib.TextureId backId ()
meshlib.TextureId endId ()
meshlib.MeshTexture data_mut ()
meshlib.MeshTexture data ()
void swap (meshlib.Vector_MR_MeshTexture_MR_TextureId b)
long heapBytes ()
meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture vec ()
void setVec (meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture value)
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

Vector<T> is indexed by size_t Generated from class MR::Vector<MR::MeshTexture, MR::TextureId>.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ Vector_MR_MeshTexture_MR_TextureId() [1/5]

meshlib.Vector_MR_MeshTexture_MR_TextureId.Vector_MR_MeshTexture_MR_TextureId ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ Vector_MR_MeshTexture_MR_TextureId() [2/5]

meshlib.Vector_MR_MeshTexture_MR_TextureId.Vector_MR_MeshTexture_MR_TextureId ( )

creates empty vector

Calls MR_Vector_MR_MeshTexture_MR_TextureId_DefaultConstruct().

◆ Vector_MR_MeshTexture_MR_TextureId() [3/5]

meshlib.Vector_MR_MeshTexture_MR_TextureId.Vector_MR_MeshTexture_MR_TextureId ( meshlib.Vector_MR_MeshTexture_MR_TextureId _other)

Generated from constructor MR::Vector<MR::MeshTexture, MR::TextureId>::Vector. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_ConstructFromAnother().

◆ Vector_MR_MeshTexture_MR_TextureId() [4/5]

meshlib.Vector_MR_MeshTexture_MR_TextureId.Vector_MR_MeshTexture_MR_TextureId ( long size)

creates a vector with size elements with default value Generated from constructor MR::Vector<MR::MeshTexture, MR::TextureId>::Vector. The reference to the parameter size might be preserved in the constructed object.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_Construct().

◆ Vector_MR_MeshTexture_MR_TextureId() [5/5]

meshlib.Vector_MR_MeshTexture_MR_TextureId.Vector_MR_MeshTexture_MR_TextureId ( long size,
meshlib.MeshTexture val )

creates a vector with size elements with the given value Generated from constructor MR::Vector<MR::MeshTexture, MR::TextureId>::Vector. The reference to the parameter size might be preserved in the constructed object. The reference to the parameter val might be preserved in the constructed object.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_Construct_fill().

Member Function Documentation

◆ assign()

void meshlib.Vector_MR_MeshTexture_MR_TextureId.assign ( long count,
meshlib.MeshTexture val )

replaces the contents with count copies of val Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::assign. The reference to things referred to by the parameter val (if any) might be preserved in this object.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_assign().

◆ assignFromAnother()

meshlib.Vector_MR_MeshTexture_MR_TextureId meshlib.Vector_MR_MeshTexture_MR_TextureId.assignFromAnother ( meshlib.Vector_MR_MeshTexture_MR_TextureId _other)

Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_AssignFromAnother().

◆ autoResizeAt()

meshlib.MeshTexture meshlib.Vector_MR_MeshTexture_MR_TextureId.autoResizeAt ( meshlib.TextureId i)

this accessor automatically adjusts the size of the vector Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::autoResizeAt.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_autoResizeAt().

◆ autoResizeSet() [1/2]

void meshlib.Vector_MR_MeshTexture_MR_TextureId.autoResizeSet ( meshlib.TextureId i,
meshlib.MeshTexture val )

sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::autoResizeSet.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_autoResizeSet_2().

◆ autoResizeSet() [2/2]

void meshlib.Vector_MR_MeshTexture_MR_TextureId.autoResizeSet ( meshlib.TextureId pos,
long len,
meshlib.MeshTexture 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::Vector<MR::MeshTexture, MR::TextureId>::autoResizeSet.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_autoResizeSet_3().

◆ back()

meshlib.MeshTexture meshlib.Vector_MR_MeshTexture_MR_TextureId.back ( )

Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::back. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_back().

◆ back_mut()

meshlib.MeshTexture meshlib.Vector_MR_MeshTexture_MR_TextureId.back_mut ( )

Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::back. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_back_mut().

◆ backId()

meshlib.TextureId meshlib.Vector_MR_MeshTexture_MR_TextureId.backId ( )

returns the identifier of the back() element Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::backId.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_backId().

◆ beginId()

meshlib.TextureId meshlib.Vector_MR_MeshTexture_MR_TextureId.beginId ( )

returns the identifier of the first element Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::beginId.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_beginId().

◆ capacity()

long meshlib.Vector_MR_MeshTexture_MR_TextureId.capacity ( )

Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::capacity.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_capacity().

◆ clear()

void meshlib.Vector_MR_MeshTexture_MR_TextureId.clear ( )

Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::clear.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_clear().

◆ data()

meshlib.MeshTexture meshlib.Vector_MR_MeshTexture_MR_TextureId.data ( )

Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::data. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_data().

◆ data_mut()

meshlib.MeshTexture meshlib.Vector_MR_MeshTexture_MR_TextureId.data_mut ( )

Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::data. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_data_mut().

◆ emplace_back()

meshlib.MeshTexture meshlib.Vector_MR_MeshTexture_MR_TextureId.emplace_back ( meshlib.MeshTexture args)

Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::emplace_back<MR::MeshTexture>.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_emplace_back().

◆ empty()

boolean meshlib.Vector_MR_MeshTexture_MR_TextureId.empty ( )

Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::empty.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_empty().

◆ endId()

meshlib.TextureId meshlib.Vector_MR_MeshTexture_MR_TextureId.endId ( )

returns backId() + 1 Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::endId.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_endId().

◆ front()

meshlib.MeshTexture meshlib.Vector_MR_MeshTexture_MR_TextureId.front ( )

Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::front. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_front().

◆ front_mut()

meshlib.MeshTexture meshlib.Vector_MR_MeshTexture_MR_TextureId.front_mut ( )

Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::front. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_front_mut().

◆ heapBytes()

long meshlib.Vector_MR_MeshTexture_MR_TextureId.heapBytes ( )

returns the amount of memory this object occupies on heap Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::heapBytes.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_heapBytes().

◆ index()

meshlib.MeshTexture meshlib.Vector_MR_MeshTexture_MR_TextureId.index ( meshlib.TextureId i)

Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::operator[]. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_index().

◆ index_mut()

meshlib.MeshTexture meshlib.Vector_MR_MeshTexture_MR_TextureId.index_mut ( meshlib.TextureId i)

Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::operator[]. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_index_mut().

◆ max_size()

long meshlib.Vector_MR_MeshTexture_MR_TextureId.max_size ( )

Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::max_size.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_max_size().

◆ pop_back()

void meshlib.Vector_MR_MeshTexture_MR_TextureId.pop_back ( )

Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::pop_back.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_pop_back().

◆ push_back_const_MR_MeshTexture_ref()

void meshlib.Vector_MR_MeshTexture_MR_TextureId.push_back_const_MR_MeshTexture_ref ( meshlib.MeshTexture t)

Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::push_back. The reference to things referred to by the parameter t (if any) might be preserved in this object.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_push_back_const_MR_MeshTexture_ref().

◆ push_back_MR_MeshTexture_rvalue_ref()

void meshlib.Vector_MR_MeshTexture_MR_TextureId.push_back_MR_MeshTexture_rvalue_ref ( meshlib.MeshTexture t)

Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::push_back. The reference to things referred to by the parameter t (if any) might be preserved in this object.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_push_back_MR_MeshTexture_rvalue_ref().

◆ reserve()

void meshlib.Vector_MR_MeshTexture_MR_TextureId.reserve ( long capacity)

Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::reserve.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_reserve().

◆ resize() [1/2]

void meshlib.Vector_MR_MeshTexture_MR_TextureId.resize ( long newSize)

Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::resize.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_resize_1().

◆ resize() [2/2]

void meshlib.Vector_MR_MeshTexture_MR_TextureId.resize ( long newSize,
meshlib.MeshTexture t )

Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::resize.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_resize_2().

◆ resizeWithReserve() [1/2]

void meshlib.Vector_MR_MeshTexture_MR_TextureId.resizeWithReserve ( long newSize)

same as resize(newSize), which already grows the capacity geometrically Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::resizeWithReserve.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_resizeWithReserve_1().

◆ resizeWithReserve() [2/2]

void meshlib.Vector_MR_MeshTexture_MR_TextureId.resizeWithReserve ( long newSize,
meshlib.MeshTexture value )

same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::resizeWithReserve.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_resizeWithReserve_2().

◆ setVec()

void meshlib.Vector_MR_MeshTexture_MR_TextureId.setVec ( meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture value)

The user can directly manipulate the vector, they can't break anything anyway. Modifies a member variable of class MR::Vector<MR::MeshTexture, MR::TextureId> named vec. The reference to the parameter value might be preserved in this object in element vec.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_Set_vec().

◆ shrink_to_fit()

void meshlib.Vector_MR_MeshTexture_MR_TextureId.shrink_to_fit ( )

Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::shrink_to_fit.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_shrink_to_fit().

◆ size()

long meshlib.Vector_MR_MeshTexture_MR_TextureId.size ( )

Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::size.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_size().

◆ swap()

void meshlib.Vector_MR_MeshTexture_MR_TextureId.swap ( meshlib.Vector_MR_MeshTexture_MR_TextureId b)

Generated from method MR::Vector<MR::MeshTexture, MR::TextureId>::swap.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_swap().

◆ vec()

meshlib.std_vector_MR_MeshTexture_MR_Allocator_MR_MeshTexture meshlib.Vector_MR_MeshTexture_MR_TextureId.vec ( )

The user can directly manipulate the vector, they can't break anything anyway. Returns a pointer to a member variable of class MR::Vector<MR::MeshTexture, MR::TextureId> named vec. The reference to this object might be preserved as the return value.

Calls MR_Vector_MR_MeshTexture_MR_TextureId_Get_vec().


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