Class BBFloatMxN
java.lang.Object
de.linusdev.lutils.struct.abstracts.Structure
de.linusdev.lutils.math.matrix.buffer.floatn.BBFloatMxN
- All Implemented Interfaces:
FloatElements,FloatMxN,Matrix,MemorySizeable,NativeParsable
- Direct Known Subclasses:
BBFloat3x3,BBFloat4x4
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.linusdev.lutils.math.matrix.Matrix
Matrix.MatrixGetter<M extends Matrix> -
Field Summary
FieldsFields inherited from class de.linusdev.lutils.struct.abstracts.Structure
byteBuf, modified, mostParentStructure, offsetFields inherited from interface de.linusdev.lutils.math.general.FloatElements
ELEMENT_SIZE, ELEMENT_TYPE_NAME -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.linusdev.lutils.struct.abstracts.Structure
allocate, callUseBufferOf, claimBuffer, generateStructCode, getAlignment, getByteBuffer, getInfo, getMostParentStructure, getOffset, getRequiredSize, isInitialised, isModified, modified, modified, onModification, toString, unmodifiedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.linusdev.lutils.math.matrix.abstracts.floatn.FloatMxN
fillFromArrayMethods inherited from interface de.linusdev.lutils.struct.abstracts.NativeParsable
getPointer
-
Field Details
-
GENERATOR
-
buf
-
-
Constructor Details
-
BBFloatMxN
public BBFloatMxN(boolean allocateBuffer)
-
-
Method Details
-
useBuffer
Description copied from class:StructureSet thisStructureto be a child ofmostParentStructure. -
get
public float get(int y, int x) -
put
public void put(int y, int x, float value) -
isArrayBacked
public boolean isArrayBacked()Description copied from interface:MatrixWhether this matrix is array backed.- Specified by:
isArrayBackedin interfaceMatrix- Returns:
trueif this matrix is array backed.
-
isBufferBacked
public boolean isBufferBacked()Description copied from interface:MatrixWhether this vector is buffer backed.- Specified by:
isBufferBackedin interfaceMatrix- Returns:
trueif this vector is buffer backed.
-
toString
-