Package org.lwjgl.openxr
Class XrNewSceneComputeInfoMSFT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrNewSceneComputeInfoMSFT,XrNewSceneComputeInfoMSFT.Buffer>
-
- org.lwjgl.openxr.XrNewSceneComputeInfoMSFT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrNewSceneComputeInfoMSFT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrNewSceneComputeInfoMSFT
public static class XrNewSceneComputeInfoMSFT.Buffer extends org.lwjgl.system.StructBuffer<XrNewSceneComputeInfoMSFT,XrNewSceneComputeInfoMSFT.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrNewSceneComputeInfoMSFTstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrNewSceneComputeInfoMSFT.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 byXrNewSceneComputeInfoMSFT.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
XrNewSceneComputeInfoMSFT.type()field.
-
next
public long next()
- Returns:
- the value of the
XrNewSceneComputeInfoMSFT.next()field.
-
requestedFeatureCount
public int requestedFeatureCount()
- Returns:
- the value of the
XrNewSceneComputeInfoMSFT.requestedFeatureCount()field.
-
requestedFeatures
public java.nio.IntBuffer requestedFeatures()
- Returns:
- a
IntBufferview of the data pointed to by theXrNewSceneComputeInfoMSFT.requestedFeatures()field.
-
consistency
public int consistency()
- Returns:
- the value of the
XrNewSceneComputeInfoMSFT.consistency()field.
-
bounds
public XrSceneBoundsMSFT bounds()
- Returns:
- a
XrSceneBoundsMSFTview of theXrNewSceneComputeInfoMSFT.bounds()field.
-
type
public XrNewSceneComputeInfoMSFT.Buffer type(int value)
Sets the specified value to theXrNewSceneComputeInfoMSFT.type()field.
-
type$Default
public XrNewSceneComputeInfoMSFT.Buffer type$Default()
Sets theTYPE_NEW_SCENE_COMPUTE_INFO_MSFTvalue to theXrNewSceneComputeInfoMSFT.type()field.
-
next
public XrNewSceneComputeInfoMSFT.Buffer next(long value)
Sets the specified value to theXrNewSceneComputeInfoMSFT.next()field.
-
next
public XrNewSceneComputeInfoMSFT.Buffer next(XrVisualMeshComputeLodInfoMSFT value)
Prepends the specifiedXrVisualMeshComputeLodInfoMSFTvalue to thenextchain.
-
requestedFeatures
public XrNewSceneComputeInfoMSFT.Buffer requestedFeatures(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto theXrNewSceneComputeInfoMSFT.requestedFeatures()field.
-
consistency
public XrNewSceneComputeInfoMSFT.Buffer consistency(int value)
Sets the specified value to theXrNewSceneComputeInfoMSFT.consistency()field.
-
bounds
public XrNewSceneComputeInfoMSFT.Buffer bounds(XrSceneBoundsMSFT value)
Copies the specifiedXrSceneBoundsMSFTto theXrNewSceneComputeInfoMSFT.bounds()field.
-
bounds
public XrNewSceneComputeInfoMSFT.Buffer bounds(java.util.function.Consumer<XrSceneBoundsMSFT> consumer)
Passes theXrNewSceneComputeInfoMSFT.bounds()field to the specifiedConsumer.
-
-