Class BBMatrixInfo
java.lang.Object
de.linusdev.lutils.struct.info.StructureInfo
de.linusdev.lutils.math.matrix.buffer.BBMatrixInfo
- All Implemented Interfaces:
MemorySizeable
-
Field Summary
FieldsFields inherited from class de.linusdev.lutils.struct.info.StructureInfo
alignment, compressed, size, sizes -
Constructor Summary
ConstructorsConstructorDescriptionBBMatrixInfo(int alignment, boolean compressed, int prePadding, int size, int postPadding, @NotNull String elementTypeName, int width, int height) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull BBMatrixInfo@NotNull StringintintgetWidth()Methods inherited from class de.linusdev.lutils.struct.info.StructureInfo
getAlignment, getRequiredSize, getSizes, isCompressed
-
Field Details
-
width
protected final int width -
height
protected final int height
-
-
Constructor Details
-
BBMatrixInfo
public BBMatrixInfo(int alignment, boolean compressed, int prePadding, int size, int postPadding, @NotNull @NotNull String elementTypeName, int width, int height)
-
-
Method Details
-
create
@Contract("_, _, _, _ -> new") @NotNull public static @NotNull BBMatrixInfo create(int width, int height, int elementSize, @NotNull @NotNull String elementTypeName) -
getElementTypeName
-
getWidth
public int getWidth() -
getHeight
public int getHeight()
-