Package org.lwjgl.openxr
Class XrInstanceCreateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrInstanceCreateInfo,XrInstanceCreateInfo.Buffer>
-
- org.lwjgl.openxr.XrInstanceCreateInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrInstanceCreateInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrInstanceCreateInfo
public static class XrInstanceCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<XrInstanceCreateInfo,XrInstanceCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrInstanceCreateInfostructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrInstanceCreateInfo.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 byXrInstanceCreateInfo.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
XrInstanceCreateInfo.type()field.
-
next
public long next()
- Returns:
- the value of the
XrInstanceCreateInfo.next()field.
-
createFlags
public long createFlags()
- Returns:
- the value of the
XrInstanceCreateInfo.createFlags()field.
-
applicationInfo
public XrApplicationInfo applicationInfo()
- Returns:
- a
XrApplicationInfoview of theXrInstanceCreateInfo.applicationInfo()field.
-
enabledApiLayerCount
public int enabledApiLayerCount()
- Returns:
- the value of the
XrInstanceCreateInfo.enabledApiLayerCount()field.
-
enabledApiLayerNames
@Nullable public org.lwjgl.PointerBuffer enabledApiLayerNames()
- Returns:
- a
PointerBufferview of the data pointed to by theXrInstanceCreateInfo.enabledApiLayerNames()field.
-
enabledExtensionCount
public int enabledExtensionCount()
- Returns:
- the value of the
XrInstanceCreateInfo.enabledExtensionCount()field.
-
enabledExtensionNames
@Nullable public org.lwjgl.PointerBuffer enabledExtensionNames()
- Returns:
- a
PointerBufferview of the data pointed to by theXrInstanceCreateInfo.enabledExtensionNames()field.
-
type
public XrInstanceCreateInfo.Buffer type(int value)
Sets the specified value to theXrInstanceCreateInfo.type()field.
-
type$Default
public XrInstanceCreateInfo.Buffer type$Default()
Sets theTYPE_INSTANCE_CREATE_INFOvalue to theXrInstanceCreateInfo.type()field.
-
next
public XrInstanceCreateInfo.Buffer next(long value)
Sets the specified value to theXrInstanceCreateInfo.next()field.
-
next
public XrInstanceCreateInfo.Buffer next(XrDebugUtilsMessengerCreateInfoEXT value)
Prepends the specifiedXrDebugUtilsMessengerCreateInfoEXTvalue to thenextchain.
-
createFlags
public XrInstanceCreateInfo.Buffer createFlags(long value)
Sets the specified value to theXrInstanceCreateInfo.createFlags()field.
-
applicationInfo
public XrInstanceCreateInfo.Buffer applicationInfo(XrApplicationInfo value)
Copies the specifiedXrApplicationInfoto theXrInstanceCreateInfo.applicationInfo()field.
-
applicationInfo
public XrInstanceCreateInfo.Buffer applicationInfo(java.util.function.Consumer<XrApplicationInfo> consumer)
Passes theXrInstanceCreateInfo.applicationInfo()field to the specifiedConsumer.
-
enabledApiLayerNames
public XrInstanceCreateInfo.Buffer enabledApiLayerNames(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto theXrInstanceCreateInfo.enabledApiLayerNames()field.
-
enabledExtensionNames
public XrInstanceCreateInfo.Buffer enabledExtensionNames(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto theXrInstanceCreateInfo.enabledExtensionNames()field.
-
-