Package org.lwjgl.openxr
Class XrSceneComponentsMSFT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrSceneComponentsMSFT,XrSceneComponentsMSFT.Buffer>
-
- org.lwjgl.openxr.XrSceneComponentsMSFT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrSceneComponentsMSFT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrSceneComponentsMSFT
public static class XrSceneComponentsMSFT.Buffer extends org.lwjgl.system.StructBuffer<XrSceneComponentsMSFT,XrSceneComponentsMSFT.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrSceneComponentsMSFTstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrSceneComponentsMSFT.Bufferinstance 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 byXrSceneComponentsMSFT.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
type
public int type()
- Returns:
- the value of the
XrSceneComponentsMSFT.type()field.
-
next
public long next()
- Returns:
- the value of the
XrSceneComponentsMSFT.next()field.
-
componentCapacityInput
public int componentCapacityInput()
- Returns:
- the value of the
XrSceneComponentsMSFT.componentCapacityInput()field.
-
componentCountOutput
public int componentCountOutput()
- Returns:
- the value of the
XrSceneComponentsMSFT.componentCountOutput()field.
-
components
@Nullable public XrSceneComponentMSFT.Buffer components()
- Returns:
- a
XrSceneComponentMSFT.Bufferview of the struct array pointed to by theXrSceneComponentsMSFT.components()field.
-
type
public XrSceneComponentsMSFT.Buffer type(int value)
Sets the specified value to theXrSceneComponentsMSFT.type()field.
-
type$Default
public XrSceneComponentsMSFT.Buffer type$Default()
Sets theTYPE_SCENE_COMPONENTS_MSFTvalue to theXrSceneComponentsMSFT.type()field.
-
next
public XrSceneComponentsMSFT.Buffer next(long value)
Sets the specified value to theXrSceneComponentsMSFT.next()field.
-
next
public XrSceneComponentsMSFT.Buffer next(XrSceneMeshesMSFT value)
Prepends the specifiedXrSceneMeshesMSFTvalue to thenextchain.
-
next
public XrSceneComponentsMSFT.Buffer next(XrSceneObjectsMSFT value)
Prepends the specifiedXrSceneObjectsMSFTvalue to thenextchain.
-
next
public XrSceneComponentsMSFT.Buffer next(XrScenePlanesMSFT value)
Prepends the specifiedXrScenePlanesMSFTvalue to thenextchain.
-
componentCapacityInput
public XrSceneComponentsMSFT.Buffer componentCapacityInput(int value)
Sets the specified value to theXrSceneComponentsMSFT.componentCapacityInput()field.
-
componentCountOutput
public XrSceneComponentsMSFT.Buffer componentCountOutput(int value)
Sets the specified value to theXrSceneComponentsMSFT.componentCountOutput()field.
-
components
public XrSceneComponentsMSFT.Buffer components(@Nullable XrSceneComponentMSFT.Buffer value)
Sets the address of the specifiedXrSceneComponentMSFT.Bufferto theXrSceneComponentsMSFT.components()field.
-
-