Top Description Inners Fields Constructors Methods
org.lwjgl.util.yoga

public Class YGLayout

extends Struct<YGLayout>
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

Unstable/private API.

Layout


struct YGLayout {
    float positions[4];
    float dimensions[2];
    float margin[4];
    float border[4];
    float padding[4];
    YGDirection direction : 2;
    bool didUseLegacyFlag : 1;
    bool doesLegacyStretchFlagAffectsLayout : 1;
    bool hadOverflow : 1;
    uint32_t computedFlexBasisGeneration;
    YGFloatOptional computedFlexBasis;
    uint32_t generationCount;
    YGDirection lastOwnerDirection;
    uint32_t nextCachedMeasurementsIndex;
    YGCachedMeasurement cachedMeasurements[16];
    float measuredDimensions[2];
    YGCachedMeasurement cachedLayout;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
YGLayout.Buffer

An array of YGLayout structs.

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
BORDER

The struct member offsets.

public static final int
CACHEDLAYOUT

The struct member offsets.

public static final int
CACHEDMEASUREMENTS

The struct member offsets.

public static final int
COMPUTEDFLEXBASIS

The struct member offsets.

public static final int
COMPUTEDFLEXBASISGENERATION

The struct member offsets.

public static final int
DIMENSIONS

The struct member offsets.

public static final int
FLAGS

The struct member offsets.

public static final int
GENERATIONCOUNT

The struct member offsets.

public static final int
LASTOWNERDIRECTION

The struct member offsets.

public static final int
MARGIN

The struct member offsets.

public static final int
MEASUREDDIMENSIONS

The struct member offsets.

public static final int
NEXTCACHEDMEASUREMENTSINDEX

The struct member offsets.

public static final int
PADDING

The struct member offsets.

public static final int
POSITIONS

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
YGLayout(long address, ByteBuffer container)

public
YGLayout(ByteBuffer container)

Creates a YGLayout instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public FloatBuffer

Returns:

a FloatBuffer view of the border field.
border
()

public float

Returns:

the value at the specified index of the border field.
border
(int index)

public YGCachedMeasurement

Returns:

a YGCachedMeasurement view of the cachedLayout field.
cachedLayout
()

public YGCachedMeasurement.Buffer

Returns:

a YGCachedMeasurement.Buffer view of the cachedMeasurements field.
cachedMeasurements
()

public YGCachedMeasurement

Returns:

a YGCachedMeasurement view of the struct at the specified index of the cachedMeasurements field.
cachedMeasurements
(int index)

public YGFloatOptional

Returns:

a YGFloatOptional view of the computedFlexBasis field.
computedFlexBasis
()

public int

Returns:

the value of the computedFlexBasisGeneration field.
computedFlexBasisGeneration
()

protected YGLayout
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static YGLayout
create(long address)

Returns a new YGLayout instance for the specified memory address.

public static YGLayout.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a YGLayout.Buffer instance at the specified memory.

public static YGLayout
createSafe(long address)

Like create, but returns null if address is NULL.

public static YGLayout.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public boolean

Returns:

the value of the didUseLegacyFlag field.
didUseLegacyFlag
()

public FloatBuffer

Returns:

a FloatBuffer view of the dimensions field.
dimensions
()

public float

Returns:

the value at the specified index of the dimensions field.
dimensions
(int index)

public int

Returns:

the value of the direction field.
direction
()

public boolean

Returns:

the value of the doesLegacyStretchFlagAffectsLayout field.
doesLegacyStretchFlagAffectsLayout
()

public int

Returns:

the value of the generationCount field.
generationCount
()

public boolean

Returns:

the value of the hadOverflow field.
hadOverflow
()

public int

Returns:

the value of the lastOwnerDirection field.
lastOwnerDirection
()

public FloatBuffer

Returns:

a FloatBuffer view of the margin field.
margin
()

public float

Returns:

the value at the specified index of the margin field.
margin
(int index)

public FloatBuffer

Returns:

a FloatBuffer view of the measuredDimensions field.
measuredDimensions
()

public float

Returns:

the value at the specified index of the measuredDimensions field.
measuredDimensions
(int index)

public static FloatBuffer
nborder(long struct)

Unsafe version of border.

public static float
nborder(long struct, int index)

Unsafe version of border.

public static YGCachedMeasurement
ncachedLayout(long struct)

Unsafe version of cachedLayout.

public static YGCachedMeasurement.Buffer
ncachedMeasurements(long struct)

Unsafe version of cachedMeasurements.

public static YGCachedMeasurement
ncachedMeasurements(long struct, int index)

Unsafe version of cachedMeasurements.

public static YGFloatOptional
ncomputedFlexBasis(long struct)

Unsafe version of computedFlexBasis.

public static int
public static boolean
ndidUseLegacyFlag(long struct)

Unsafe version of didUseLegacyFlag.

public static FloatBuffer
ndimensions(long struct)

Unsafe version of dimensions.

public static float
ndimensions(long struct, int index)

Unsafe version of dimensions.

public static int
ndirection(long struct)

Unsafe version of direction.

public static boolean
public int

Returns:

the value of the nextCachedMeasurementsIndex field.
nextCachedMeasurementsIndex
()

public static byte
nflags(long struct)

public static int
ngenerationCount(long struct)

Unsafe version of generationCount.

public static boolean
nhadOverflow(long struct)

Unsafe version of hadOverflow.

public static int
nlastOwnerDirection(long struct)

Unsafe version of lastOwnerDirection.

public static FloatBuffer
nmargin(long struct)

Unsafe version of margin.

public static float
nmargin(long struct, int index)

Unsafe version of margin.

public static FloatBuffer
nmeasuredDimensions(long struct)

Unsafe version of measuredDimensions.

public static float
nmeasuredDimensions(long struct, int index)

Unsafe version of measuredDimensions.

public static int
public static FloatBuffer
npadding(long struct)

Unsafe version of padding.

public static float
npadding(long struct, int index)

Unsafe version of padding.

public static FloatBuffer
npositions(long struct)

Unsafe version of positions.

public static float
npositions(long struct, int index)

Unsafe version of positions.

public FloatBuffer

Returns:

a FloatBuffer view of the padding field.
padding
()

public float

Returns:

the value at the specified index of the padding field.
padding
(int index)

public FloatBuffer

Returns:

a FloatBuffer view of the positions field.
positions
()

public float

Returns:

the value at the specified index of the positions field.
positions
(int index)

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

BORDERback to summary
public static final int BORDER

The struct member offsets.

CACHEDLAYOUTback to summary
public static final int CACHEDLAYOUT

The struct member offsets.

CACHEDMEASUREMENTSback to summary
public static final int CACHEDMEASUREMENTS

The struct member offsets.

COMPUTEDFLEXBASISback to summary
public static final int COMPUTEDFLEXBASIS

The struct member offsets.

COMPUTEDFLEXBASISGENERATIONback to summary
public static final int COMPUTEDFLEXBASISGENERATION

The struct member offsets.

DIMENSIONSback to summary
public static final int DIMENSIONS

The struct member offsets.

FLAGSback to summary
public static final int FLAGS

The struct member offsets.

GENERATIONCOUNTback to summary
public static final int GENERATIONCOUNT

The struct member offsets.

LASTOWNERDIRECTIONback to summary
public static final int LASTOWNERDIRECTION

The struct member offsets.

MARGINback to summary
public static final int MARGIN

The struct member offsets.

MEASUREDDIMENSIONSback to summary
public static final int MEASUREDDIMENSIONS

The struct member offsets.

NEXTCACHEDMEASUREMENTSINDEXback to summary
public static final int NEXTCACHEDMEASUREMENTSINDEX

The struct member offsets.

PADDINGback to summary
public static final int PADDING

The struct member offsets.

POSITIONSback to summary
public static final int POSITIONS

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

Constructor Detail

YGLayoutback to summary
protected YGLayout(long address, ByteBuffer container)
YGLayoutback to summary
public YGLayout(ByteBuffer container)

Creates a YGLayout instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

The created instance holds a strong reference to the container object.

Method Detail

borderback to summary
public FloatBuffer border()
Returns:FloatBuffer

a FloatBuffer view of the border field.

Annotations
@NativeType:float[4]
borderback to summary
public float border(int index)
Returns:float

the value at the specified index of the border field.

cachedLayoutback to summary
public YGCachedMeasurement cachedLayout()
Returns:YGCachedMeasurement

a YGCachedMeasurement view of the cachedLayout field.

cachedMeasurementsback to summary
public YGCachedMeasurement.Buffer cachedMeasurements()
Returns:YGCachedMeasurement.Buffer

a YGCachedMeasurement.Buffer view of the cachedMeasurements field.

Annotations
@NativeType:YGCachedMeasurement[16]
cachedMeasurementsback to summary
public YGCachedMeasurement cachedMeasurements(int index)
Returns:YGCachedMeasurement

a YGCachedMeasurement view of the struct at the specified index of the cachedMeasurements field.

computedFlexBasisback to summary
public YGFloatOptional computedFlexBasis()
Returns:YGFloatOptional

a YGFloatOptional view of the computedFlexBasis field.

computedFlexBasisGenerationback to summary
public int computedFlexBasisGeneration()
Returns:int

the value of the computedFlexBasisGeneration field.

Annotations
@NativeType:uint32_t
createback to summary
protected YGLayout create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static YGLayout create(long address)

Returns a new YGLayout instance for the specified memory address.

createback to summary
public static YGLayout.Buffer create(long address, int capacity)

Create a YGLayout.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static YGLayout createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static YGLayout.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
didUseLegacyFlagback to summary
public boolean didUseLegacyFlag()
Returns:boolean

the value of the didUseLegacyFlag field.

Annotations
@NativeType:bool
dimensionsback to summary
public FloatBuffer dimensions()
Returns:FloatBuffer

a FloatBuffer view of the dimensions field.

Annotations
@NativeType:float[2]
dimensionsback to summary
public float dimensions(int index)
Returns:float

the value at the specified index of the dimensions field.

directionback to summary
public int direction()
Returns:int

the value of the direction field.

Annotations
@NativeType:YGDirection
doesLegacyStretchFlagAffectsLayoutback to summary
public boolean doesLegacyStretchFlagAffectsLayout()
Returns:boolean

the value of the doesLegacyStretchFlagAffectsLayout field.

Annotations
@NativeType:bool
generationCountback to summary
public int generationCount()
Returns:int

the value of the generationCount field.

Annotations
@NativeType:uint32_t
hadOverflowback to summary
public boolean hadOverflow()
Returns:boolean

the value of the hadOverflow field.

Annotations
@NativeType:bool
lastOwnerDirectionback to summary
public int lastOwnerDirection()
Returns:int

the value of the lastOwnerDirection field.

Annotations
@NativeType:YGDirection
marginback to summary
public FloatBuffer margin()
Returns:FloatBuffer

a FloatBuffer view of the margin field.

Annotations
@NativeType:float[4]
marginback to summary
public float margin(int index)
Returns:float

the value at the specified index of the margin field.

measuredDimensionsback to summary
public FloatBuffer measuredDimensions()
Returns:FloatBuffer

a FloatBuffer view of the measuredDimensions field.

Annotations
@NativeType:float[2]
measuredDimensionsback to summary
public float measuredDimensions(int index)
Returns:float

the value at the specified index of the measuredDimensions field.

nborderback to summary
public static FloatBuffer nborder(long struct)

Unsafe version of border.

nborderback to summary
public static float nborder(long struct, int index)

Unsafe version of border.

ncachedLayoutback to summary
public static YGCachedMeasurement ncachedLayout(long struct)

Unsafe version of cachedLayout.

ncachedMeasurementsback to summary
public static YGCachedMeasurement.Buffer ncachedMeasurements(long struct)

Unsafe version of cachedMeasurements.

ncachedMeasurementsback to summary
public static YGCachedMeasurement ncachedMeasurements(long struct, int index)

Unsafe version of cachedMeasurements.

ncomputedFlexBasisback to summary
public static YGFloatOptional ncomputedFlexBasis(long struct)

Unsafe version of computedFlexBasis.

ncomputedFlexBasisGenerationback to summary
public static int ncomputedFlexBasisGeneration(long struct)

Unsafe version of computedFlexBasisGeneration.

ndidUseLegacyFlagback to summary
public static boolean ndidUseLegacyFlag(long struct)

Unsafe version of didUseLegacyFlag.

ndimensionsback to summary
public static FloatBuffer ndimensions(long struct)

Unsafe version of dimensions.

ndimensionsback to summary
public static float ndimensions(long struct, int index)

Unsafe version of dimensions.

ndirectionback to summary
public static int ndirection(long struct)

Unsafe version of direction.

ndoesLegacyStretchFlagAffectsLayoutback to summary
public static boolean ndoesLegacyStretchFlagAffectsLayout(long struct)

Unsafe version of doesLegacyStretchFlagAffectsLayout.

nextCachedMeasurementsIndexback to summary
public int nextCachedMeasurementsIndex()
Returns:int

the value of the nextCachedMeasurementsIndex field.

Annotations
@NativeType:uint32_t
nflagsback to summary
public static byte nflags(long struct)
ngenerationCountback to summary
public static int ngenerationCount(long struct)

Unsafe version of generationCount.

nhadOverflowback to summary
public static boolean nhadOverflow(long struct)

Unsafe version of hadOverflow.

nlastOwnerDirectionback to summary
public static int nlastOwnerDirection(long struct)

Unsafe version of lastOwnerDirection.

nmarginback to summary
public static FloatBuffer nmargin(long struct)

Unsafe version of margin.

nmarginback to summary
public static float nmargin(long struct, int index)

Unsafe version of margin.

nmeasuredDimensionsback to summary
public static FloatBuffer nmeasuredDimensions(long struct)

Unsafe version of measuredDimensions.

nmeasuredDimensionsback to summary
public static float nmeasuredDimensions(long struct, int index)

Unsafe version of measuredDimensions.

nnextCachedMeasurementsIndexback to summary
public static int nnextCachedMeasurementsIndex(long struct)

Unsafe version of nextCachedMeasurementsIndex.

npaddingback to summary
public static FloatBuffer npadding(long struct)

Unsafe version of padding.

npaddingback to summary
public static float npadding(long struct, int index)

Unsafe version of padding.

npositionsback to summary
public static FloatBuffer npositions(long struct)

Unsafe version of positions.

npositionsback to summary
public static float npositions(long struct, int index)

Unsafe version of positions.

paddingback to summary
public FloatBuffer padding()
Returns:FloatBuffer

a FloatBuffer view of the padding field.

Annotations
@NativeType:float[4]
paddingback to summary
public float padding(int index)
Returns:float

the value at the specified index of the padding field.

positionsback to summary
public FloatBuffer positions()
Returns:FloatBuffer

a FloatBuffer view of the positions field.

Annotations
@NativeType:float[4]
positionsback to summary
public float positions(int index)
Returns:float

the value at the specified index of the positions field.

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
org.lwjgl.util.yoga back to summary

public Class YGLayout.Buffer

extends StructBuffer<YGLayout, YGLayout.Buffer>
Class Inheritance

An array of YGLayout structs.

Field Summary

Modifier and TypeField and Description
private static final YGLayout

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new YGLayout.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public FloatBuffer

Returns:

a FloatBuffer view of the border field.
border
()

public float

Returns:

the value at the specified index of the border field.
border
(int index)

public YGCachedMeasurement

Returns:

a YGCachedMeasurement view of the cachedLayout field.
cachedLayout
()

public YGCachedMeasurement.Buffer

Returns:

a YGCachedMeasurement.Buffer view of the cachedMeasurements field.
cachedMeasurements
()

public YGCachedMeasurement

Returns:

a YGCachedMeasurement view of the struct at the specified index of the cachedMeasurements field.
cachedMeasurements
(int index)

public YGFloatOptional

Returns:

a YGFloatOptional view of the computedFlexBasis field.
computedFlexBasis
()

public int

Returns:

the value of the computedFlexBasisGeneration field.
computedFlexBasisGeneration
()

public boolean

Returns:

the value of the didUseLegacyFlag field.
didUseLegacyFlag
()

public FloatBuffer

Returns:

a FloatBuffer view of the dimensions field.
dimensions
()

public float

Returns:

the value at the specified index of the dimensions field.
dimensions
(int index)

public int

Returns:

the value of the direction field.
direction
()

public boolean

Returns:

the value of the doesLegacyStretchFlagAffectsLayout field.
doesLegacyStretchFlagAffectsLayout
()

public int

Returns:

the value of the generationCount field.
generationCount
()

protected YGLayout
public boolean

Returns:

the value of the hadOverflow field.
hadOverflow
()

public int

Returns:

the value of the lastOwnerDirection field.
lastOwnerDirection
()

public FloatBuffer

Returns:

a FloatBuffer view of the margin field.
margin
()

public float

Returns:

the value at the specified index of the margin field.
margin
(int index)

public FloatBuffer

Returns:

a FloatBuffer view of the measuredDimensions field.
measuredDimensions
()

public float

Returns:

the value at the specified index of the measuredDimensions field.
measuredDimensions
(int index)

public int

Returns:

the value of the nextCachedMeasurementsIndex field.
nextCachedMeasurementsIndex
()

public FloatBuffer

Returns:

a FloatBuffer view of the padding field.
padding
()

public float

Returns:

the value at the specified index of the padding field.
padding
(int index)

public FloatBuffer

Returns:

a FloatBuffer view of the positions field.
positions
()

public float

Returns:

the value at the specified index of the positions field.
positions
(int index)

protected YGLayout.Buffer
Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final YGLayout ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new YGLayout.Buffer instance backed by the specified container.

Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by YGLayout#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

borderback to summary
public FloatBuffer border()
Returns:FloatBuffer

a FloatBuffer view of the border field.

Annotations
@NativeType:float[4]
borderback to summary
public float border(int index)
Returns:float

the value at the specified index of the border field.

cachedLayoutback to summary
public YGCachedMeasurement cachedLayout()
Returns:YGCachedMeasurement

a YGCachedMeasurement view of the cachedLayout field.

cachedMeasurementsback to summary
public YGCachedMeasurement.Buffer cachedMeasurements()
Returns:YGCachedMeasurement.Buffer

a YGCachedMeasurement.Buffer view of the cachedMeasurements field.

Annotations
@NativeType:YGCachedMeasurement[16]
cachedMeasurementsback to summary
public YGCachedMeasurement cachedMeasurements(int index)
Returns:YGCachedMeasurement

a YGCachedMeasurement view of the struct at the specified index of the cachedMeasurements field.

computedFlexBasisback to summary
public YGFloatOptional computedFlexBasis()
Returns:YGFloatOptional

a YGFloatOptional view of the computedFlexBasis field.

computedFlexBasisGenerationback to summary
public int computedFlexBasisGeneration()
Returns:int

the value of the computedFlexBasisGeneration field.

Annotations
@NativeType:uint32_t
didUseLegacyFlagback to summary
public boolean didUseLegacyFlag()
Returns:boolean

the value of the didUseLegacyFlag field.

Annotations
@NativeType:bool
dimensionsback to summary
public FloatBuffer dimensions()
Returns:FloatBuffer

a FloatBuffer view of the dimensions field.

Annotations
@NativeType:float[2]
dimensionsback to summary
public float dimensions(int index)
Returns:float

the value at the specified index of the dimensions field.

directionback to summary
public int direction()
Returns:int

the value of the direction field.

Annotations
@NativeType:YGDirection
doesLegacyStretchFlagAffectsLayoutback to summary
public boolean doesLegacyStretchFlagAffectsLayout()
Returns:boolean

the value of the doesLegacyStretchFlagAffectsLayout field.

Annotations
@NativeType:bool
generationCountback to summary
public int generationCount()
Returns:int

the value of the generationCount field.

Annotations
@NativeType:uint32_t
getElementFactoryback to summary
protected YGLayout getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
hadOverflowback to summary
public boolean hadOverflow()
Returns:boolean

the value of the hadOverflow field.

Annotations
@NativeType:bool
lastOwnerDirectionback to summary
public int lastOwnerDirection()
Returns:int

the value of the lastOwnerDirection field.

Annotations
@NativeType:YGDirection
marginback to summary
public FloatBuffer margin()
Returns:FloatBuffer

a FloatBuffer view of the margin field.

Annotations
@NativeType:float[4]
marginback to summary
public float margin(int index)
Returns:float

the value at the specified index of the margin field.

measuredDimensionsback to summary
public FloatBuffer measuredDimensions()
Returns:FloatBuffer

a FloatBuffer view of the measuredDimensions field.

Annotations
@NativeType:float[2]
measuredDimensionsback to summary
public float measuredDimensions(int index)
Returns:float

the value at the specified index of the measuredDimensions field.

nextCachedMeasurementsIndexback to summary
public int nextCachedMeasurementsIndex()
Returns:int

the value of the nextCachedMeasurementsIndex field.

Annotations
@NativeType:uint32_t
paddingback to summary
public FloatBuffer padding()
Returns:FloatBuffer

a FloatBuffer view of the padding field.

Annotations
@NativeType:float[4]
paddingback to summary
public float padding(int index)
Returns:float

the value at the specified index of the padding field.

positionsback to summary
public FloatBuffer positions()
Returns:FloatBuffer

a FloatBuffer view of the positions field.

Annotations
@NativeType:float[4]
positionsback to summary
public float positions(int index)
Returns:float

the value at the specified index of the positions field.

selfback to summary
protected YGLayout.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override