Top Description Inners Fields Constructors Methods
org.lwjgl.openxr

public Class XrVulkanDeviceCreateInfoKHR

extends Struct<XrVulkanDeviceCreateInfoKHR>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*, org.lwjgl.vulkan.*

Vulkan Device Create Info.
Description

If the vulkanPhysicalDevice parameter does not match the output of GetVulkanGraphicsDeviceKHR, then the runtime must return ERROR_HANDLE_INVALID.

Valid Usage (Implicit)
See Also

CreateVulkanDeviceKHR

Layout


struct XrVulkanDeviceCreateInfoKHR {
    XrStructureType type;
    void const * next;
    XrSystemId systemId;
    XrVulkanDeviceCreateFlagsKHR createFlags;
    PFN_vkGetInstanceProcAddr pfnGetInstanceProcAddr;
    VkPhysicalDevice vulkanPhysicalDevice;
    VkDeviceCreateInfo const * vulkanCreateInfo;
    VkAllocationCallbacks const * vulkanAllocator;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
CREATEFLAGS

The struct member offsets.

public static final int
NEXT

The struct member offsets.

public static final int
PFNGETINSTANCEPROCADDR

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
SYSTEMID

The struct member offsets.

public static final int
TYPE

The struct member offsets.

public static final int
VULKANALLOCATOR

The struct member offsets.

public static final int
VULKANCREATEINFO

The struct member offsets.

public static final int
VULKANPHYSICALDEVICE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

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

public
XrVulkanDeviceCreateInfoKHR(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public static XrVulkanDeviceCreateInfoKHR
calloc()

Returns a new XrVulkanDeviceCreateInfoKHR instance allocated with memCalloc.

public static XrVulkanDeviceCreateInfoKHR.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new XrVulkanDeviceCreateInfoKHR.Buffer instance allocated with memCalloc.

public static XrVulkanDeviceCreateInfoKHR
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new XrVulkanDeviceCreateInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static XrVulkanDeviceCreateInfoKHR.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new XrVulkanDeviceCreateInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

protected XrVulkanDeviceCreateInfoKHR
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 XrVulkanDeviceCreateInfoKHR
create()

Returns a new XrVulkanDeviceCreateInfoKHR instance allocated with BufferUtils.

public static XrVulkanDeviceCreateInfoKHR
create(long address)

Returns a new XrVulkanDeviceCreateInfoKHR instance for the specified memory address.

public static XrVulkanDeviceCreateInfoKHR.Buffer
create(int
the buffer capacity
capacity
)

Returns a new XrVulkanDeviceCreateInfoKHR.Buffer instance allocated with BufferUtils.

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

Create a XrVulkanDeviceCreateInfoKHR.Buffer instance at the specified memory.

public long
createFlags()

a bitmask of XrVulkanDeviceCreateFlagBitsKHR

public XrVulkanDeviceCreateInfoKHR
createFlags(long value)

Sets the specified value to the createFlags field.

public static XrVulkanDeviceCreateInfoKHR
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public static XrVulkanDeviceCreateInfoKHR
malloc()

Returns a new XrVulkanDeviceCreateInfoKHR instance allocated with memAlloc.

public static XrVulkanDeviceCreateInfoKHR.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new XrVulkanDeviceCreateInfoKHR.Buffer instance allocated with memAlloc.

public static XrVulkanDeviceCreateInfoKHR
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new XrVulkanDeviceCreateInfoKHR instance allocated on the specified MemoryStack.

public static XrVulkanDeviceCreateInfoKHR.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new XrVulkanDeviceCreateInfoKHR.Buffer instance allocated on the specified MemoryStack.

public static long
ncreateFlags(long struct)

Unsafe version of createFlags.

public static void
ncreateFlags(long struct, long value)

Unsafe version of createFlags.

public long

Returns:

the value of the next field.
next
()

public XrVulkanDeviceCreateInfoKHR
next(long value)

Sets the specified value to the next field.

public static long
nnext(long struct)

Unsafe version of next.

public static void
nnext(long struct, long value)

Unsafe version of next.

public static long
npfnGetInstanceProcAddr(long struct)

Unsafe version of pfnGetInstanceProcAddr.

public static void
npfnGetInstanceProcAddr(long struct, long value)

Unsafe version of pfnGetInstanceProcAddr.

public static long
nsystemId(long struct)

Unsafe version of systemId.

public static void
nsystemId(long struct, long value)

Unsafe version of systemId.

public static int
ntype(long struct)

Unsafe version of type.

public static void
ntype(long struct, int value)

Unsafe version of type.

public static VkAllocationCallbacks
nvulkanAllocator(long struct)

Unsafe version of vulkanAllocator.

public static void
nvulkanAllocator(long struct, VkAllocationCallbacks value)

Unsafe version of vulkanAllocator.

public static VkDeviceCreateInfo
nvulkanCreateInfo(long struct)

Unsafe version of vulkanCreateInfo.

public static void
nvulkanCreateInfo(long struct, VkDeviceCreateInfo value)

Unsafe version of vulkanCreateInfo.

public static long
nvulkanPhysicalDevice(long struct)

Unsafe version of vulkanPhysicalDevice.

public static void
nvulkanPhysicalDevice(long struct, VkPhysicalDevice value)

Unsafe version of vulkanPhysicalDevice.

public long
pfnGetInstanceProcAddr()

a function pointer to vkGetInstanceProcAddr or a compatible entry point.

public XrVulkanDeviceCreateInfoKHR
pfnGetInstanceProcAddr(long value)

Sets the specified value to the pfnGetInstanceProcAddr field.

public XrVulkanDeviceCreateInfoKHR
set(int type, long next, long systemId, long createFlags, long pfnGetInstanceProcAddr, VkPhysicalDevice vulkanPhysicalDevice, VkDeviceCreateInfo vulkanCreateInfo, VkAllocationCallbacks vulkanAllocator)

Initializes this struct with the specified values.

public XrVulkanDeviceCreateInfoKHR

Returns:

this struct
set
(XrVulkanDeviceCreateInfoKHR
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

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

Returns sizeof(struct).
public long
systemId()

an XrSystemId handle for the system which will be used to create a session.

public XrVulkanDeviceCreateInfoKHR
systemId(long value)

Sets the specified value to the systemId field.

public int

Returns:

the value of the type field.
type
()

public XrVulkanDeviceCreateInfoKHR
type(int value)

Sets the specified value to the type field.

public XrVulkanDeviceCreateInfoKHR
type$Default()

Sets the TYPE_VULKAN_DEVICE_CREATE_INFO_KHR value to the type field.

public static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

public VkAllocationCallbacks
public XrVulkanDeviceCreateInfoKHR
vulkanAllocator(VkAllocationCallbacks value)

Sets the address of the specified VkAllocationCallbacks to the vulkanAllocator field.

public VkDeviceCreateInfo
public XrVulkanDeviceCreateInfoKHR
vulkanCreateInfo(VkDeviceCreateInfo value)

Sets the address of the specified VkDeviceCreateInfo to the vulkanCreateInfo field.

public long
public XrVulkanDeviceCreateInfoKHR
vulkanPhysicalDevice(VkPhysicalDevice value)

Sets the specified value to the vulkanPhysicalDevice field.

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.

CREATEFLAGSback to summary
public static final int CREATEFLAGS

The struct member offsets.

NEXTback to summary
public static final int NEXT

The struct member offsets.

PFNGETINSTANCEPROCADDRback to summary
public static final int PFNGETINSTANCEPROCADDR

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

SYSTEMIDback to summary
public static final int SYSTEMID

The struct member offsets.

TYPEback to summary
public static final int TYPE

The struct member offsets.

VULKANALLOCATORback to summary
public static final int VULKANALLOCATOR

The struct member offsets.

VULKANCREATEINFOback to summary
public static final int VULKANCREATEINFO

The struct member offsets.

VULKANPHYSICALDEVICEback to summary
public static final int VULKANPHYSICALDEVICE

The struct member offsets.

Constructor Detail

XrVulkanDeviceCreateInfoKHRback to summary
protected XrVulkanDeviceCreateInfoKHR(long address, ByteBuffer container)
XrVulkanDeviceCreateInfoKHRback to summary
public XrVulkanDeviceCreateInfoKHR(ByteBuffer container)

Creates a XrVulkanDeviceCreateInfoKHR 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

callocback to summary
public static XrVulkanDeviceCreateInfoKHR calloc()

Returns a new XrVulkanDeviceCreateInfoKHR instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static XrVulkanDeviceCreateInfoKHR.Buffer calloc(int capacity)

Returns a new XrVulkanDeviceCreateInfoKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static XrVulkanDeviceCreateInfoKHR calloc(MemoryStack stack)

Returns a new XrVulkanDeviceCreateInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static XrVulkanDeviceCreateInfoKHR.Buffer calloc(int capacity, MemoryStack stack)

Returns a new XrVulkanDeviceCreateInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

createback to summary
protected XrVulkanDeviceCreateInfoKHR 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 XrVulkanDeviceCreateInfoKHR create()

Returns a new XrVulkanDeviceCreateInfoKHR instance allocated with BufferUtils.

createback to summary
public static XrVulkanDeviceCreateInfoKHR create(long address)

Returns a new XrVulkanDeviceCreateInfoKHR instance for the specified memory address.

createback to summary
public static XrVulkanDeviceCreateInfoKHR.Buffer create(int capacity)

Returns a new XrVulkanDeviceCreateInfoKHR.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

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

Create a XrVulkanDeviceCreateInfoKHR.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createFlagsback to summary
public long createFlags()

a bitmask of XrVulkanDeviceCreateFlagBitsKHR

Annotations
@NativeType:XrVulkanDeviceCreateFlagsKHR
createFlagsback to summary
public XrVulkanDeviceCreateInfoKHR createFlags(long value)

Sets the specified value to the createFlags field.

createSafeback to summary
public static XrVulkanDeviceCreateInfoKHR createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

Annotations
@Nullable
mallocback to summary
public static XrVulkanDeviceCreateInfoKHR malloc()

Returns a new XrVulkanDeviceCreateInfoKHR instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static XrVulkanDeviceCreateInfoKHR.Buffer malloc(int capacity)

Returns a new XrVulkanDeviceCreateInfoKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static XrVulkanDeviceCreateInfoKHR malloc(MemoryStack stack)

Returns a new XrVulkanDeviceCreateInfoKHR instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static XrVulkanDeviceCreateInfoKHR.Buffer malloc(int capacity, MemoryStack stack)

Returns a new XrVulkanDeviceCreateInfoKHR.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

ncreateFlagsback to summary
public static long ncreateFlags(long struct)

Unsafe version of createFlags.

ncreateFlagsback to summary
public static void ncreateFlags(long struct, long value)

Unsafe version of createFlags.

nextback to summary
public long next()
Returns:long

the value of the next field.

Annotations
@NativeType:void const *
nextback to summary
public XrVulkanDeviceCreateInfoKHR next(long value)

Sets the specified value to the next field.

nnextback to summary
public static long nnext(long struct)

Unsafe version of next.

nnextback to summary
public static void nnext(long struct, long value)

Unsafe version of next.

npfnGetInstanceProcAddrback to summary
public static long npfnGetInstanceProcAddr(long struct)

Unsafe version of pfnGetInstanceProcAddr.

npfnGetInstanceProcAddrback to summary
public static void npfnGetInstanceProcAddr(long struct, long value)

Unsafe version of pfnGetInstanceProcAddr.

nsystemIdback to summary
public static long nsystemId(long struct)

Unsafe version of systemId.

nsystemIdback to summary
public static void nsystemId(long struct, long value)

Unsafe version of systemId.

ntypeback to summary
public static int ntype(long struct)

Unsafe version of type.

ntypeback to summary
public static void ntype(long struct, int value)

Unsafe version of type.

nvulkanAllocatorback to summary
public static VkAllocationCallbacks nvulkanAllocator(long struct)

Unsafe version of vulkanAllocator.

Annotations
@Nullable
nvulkanAllocatorback to summary
public static void nvulkanAllocator(long struct, VkAllocationCallbacks value)

Unsafe version of vulkanAllocator.

nvulkanCreateInfoback to summary
public static VkDeviceCreateInfo nvulkanCreateInfo(long struct)

Unsafe version of vulkanCreateInfo.

nvulkanCreateInfoback to summary
public static void nvulkanCreateInfo(long struct, VkDeviceCreateInfo value)

Unsafe version of vulkanCreateInfo.

nvulkanPhysicalDeviceback to summary
public static long nvulkanPhysicalDevice(long struct)

Unsafe version of vulkanPhysicalDevice.

nvulkanPhysicalDeviceback to summary
public static void nvulkanPhysicalDevice(long struct, VkPhysicalDevice value)

Unsafe version of vulkanPhysicalDevice.

pfnGetInstanceProcAddrback to summary
public long pfnGetInstanceProcAddr()

a function pointer to vkGetInstanceProcAddr or a compatible entry point.

Annotations
@NativeType:PFN_vkGetInstanceProcAddr
pfnGetInstanceProcAddrback to summary
public XrVulkanDeviceCreateInfoKHR pfnGetInstanceProcAddr(long value)

Sets the specified value to the pfnGetInstanceProcAddr field.

setback to summary
public XrVulkanDeviceCreateInfoKHR set(int type, long next, long systemId, long createFlags, long pfnGetInstanceProcAddr, VkPhysicalDevice vulkanPhysicalDevice, VkDeviceCreateInfo vulkanCreateInfo, VkAllocationCallbacks vulkanAllocator)

Initializes this struct with the specified values.

setback to summary
public XrVulkanDeviceCreateInfoKHR set(XrVulkanDeviceCreateInfoKHR src)

Copies the specified struct data to this struct.

Parameters
src:XrVulkanDeviceCreateInfoKHR

the source struct

Returns:XrVulkanDeviceCreateInfoKHR

this struct

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
systemIdback to summary
public long systemId()

an XrSystemId handle for the system which will be used to create a session.

Annotations
@NativeType:XrSystemId
systemIdback to summary
public XrVulkanDeviceCreateInfoKHR systemId(long value)

Sets the specified value to the systemId field.

typeback to summary
public int type()
Returns:int

the value of the type field.

Annotations
@NativeType:XrStructureType
typeback to summary
public XrVulkanDeviceCreateInfoKHR type(int value)

Sets the specified value to the type field.

type$Defaultback to summary
public XrVulkanDeviceCreateInfoKHR type$Default()

Sets the TYPE_VULKAN_DEVICE_CREATE_INFO_KHR value to the type field.

validateback to summary
public static void validate(long struct)

Validates pointer members that should not be NULL.

Parameters
struct:long

the struct to validate

vulkanAllocatorback to summary
public VkAllocationCallbacks vulkanAllocator()

the VkAllocationCallbacks as specified by Vulkan.

Annotations
@Nullable
@NativeType:VkAllocationCallbacks const *
vulkanAllocatorback to summary
public XrVulkanDeviceCreateInfoKHR vulkanAllocator(VkAllocationCallbacks value)

Sets the address of the specified VkAllocationCallbacks to the vulkanAllocator field.

vulkanCreateInfoback to summary
public VkDeviceCreateInfo vulkanCreateInfo()

the VkDeviceCreateInfo as specified by Vulkan.

Annotations
@NativeType:VkDeviceCreateInfo const *
vulkanCreateInfoback to summary
public XrVulkanDeviceCreateInfoKHR vulkanCreateInfo(VkDeviceCreateInfo value)

Sets the address of the specified VkDeviceCreateInfo to the vulkanCreateInfo field.

vulkanPhysicalDeviceback to summary
public long vulkanPhysicalDevice()

must match GetVulkanGraphicsDeviceKHR.

Annotations
@NativeType:VkPhysicalDevice
vulkanPhysicalDeviceback to summary
public XrVulkanDeviceCreateInfoKHR vulkanPhysicalDevice(VkPhysicalDevice value)

Sets the specified value to the vulkanPhysicalDevice field.

org.lwjgl.openxr back to summary

public Class XrVulkanDeviceCreateInfoKHR.Buffer

extends StructBuffer<XrVulkanDeviceCreateInfoKHR, XrVulkanDeviceCreateInfoKHR.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of XrVulkanDeviceCreateInfoKHR structs.

Field Summary

Modifier and TypeField and Description
private static final XrVulkanDeviceCreateInfoKHR

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new XrVulkanDeviceCreateInfoKHR.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 long

Returns:

the value of the XrVulkanDeviceCreateInfoKHR#createFlags field.
createFlags
()

public XrVulkanDeviceCreateInfoKHR.Buffer
createFlags(long value)

Sets the specified value to the XrVulkanDeviceCreateInfoKHR#createFlags field.

protected XrVulkanDeviceCreateInfoKHR
public long

Returns:

the value of the next field.
next
()

public XrVulkanDeviceCreateInfoKHR.Buffer
next(long value)

Sets the specified value to the next field.

public long
public XrVulkanDeviceCreateInfoKHR.Buffer
pfnGetInstanceProcAddr(long value)

Sets the specified value to the XrVulkanDeviceCreateInfoKHR#pfnGetInstanceProcAddr field.

protected XrVulkanDeviceCreateInfoKHR.Buffer
public long

Returns:

the value of the XrVulkanDeviceCreateInfoKHR#systemId field.
systemId
()

public XrVulkanDeviceCreateInfoKHR.Buffer
systemId(long value)

Sets the specified value to the XrVulkanDeviceCreateInfoKHR#systemId field.

public int

Returns:

the value of the type field.
type
()

public XrVulkanDeviceCreateInfoKHR.Buffer
type(int value)

Sets the specified value to the type field.

public XrVulkanDeviceCreateInfoKHR.Buffer
type$Default()

Sets the TYPE_VULKAN_DEVICE_CREATE_INFO_KHR value to the type field.

public VkAllocationCallbacks

Returns:

a VkAllocationCallbacks view of the struct pointed to by the XrVulkanDeviceCreateInfoKHR#vulkanAllocator field.
vulkanAllocator
()

public XrVulkanDeviceCreateInfoKHR.Buffer
public VkDeviceCreateInfo

Returns:

a VkDeviceCreateInfo view of the struct pointed to by the XrVulkanDeviceCreateInfoKHR#vulkanCreateInfo field.
vulkanCreateInfo
()

public XrVulkanDeviceCreateInfoKHR.Buffer
public long
public XrVulkanDeviceCreateInfoKHR.Buffer
Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final XrVulkanDeviceCreateInfoKHR ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new XrVulkanDeviceCreateInfoKHR.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 XrVulkanDeviceCreateInfoKHR#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

createFlagsback to summary
public long createFlags()
Returns:long

the value of the XrVulkanDeviceCreateInfoKHR#createFlags field.

Annotations
@NativeType:XrVulkanDeviceCreateFlagsKHR
createFlagsback to summary
public XrVulkanDeviceCreateInfoKHR.Buffer createFlags(long value)

Sets the specified value to the XrVulkanDeviceCreateInfoKHR#createFlags field.

getElementFactoryback to summary
protected XrVulkanDeviceCreateInfoKHR getElementFactory()

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

Annotations
@Override
nextback to summary
public long next()
Returns:long

the value of the next field.

Annotations
@NativeType:void const *
nextback to summary
public XrVulkanDeviceCreateInfoKHR.Buffer next(long value)

Sets the specified value to the next field.

pfnGetInstanceProcAddrback to summary
public long pfnGetInstanceProcAddr()
Returns:long

the value of the XrVulkanDeviceCreateInfoKHR#pfnGetInstanceProcAddr field.

Annotations
@NativeType:PFN_vkGetInstanceProcAddr
pfnGetInstanceProcAddrback to summary
public XrVulkanDeviceCreateInfoKHR.Buffer pfnGetInstanceProcAddr(long value)

Sets the specified value to the XrVulkanDeviceCreateInfoKHR#pfnGetInstanceProcAddr field.

selfback to summary
protected XrVulkanDeviceCreateInfoKHR.Buffer self()

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

Annotations
@Override
systemIdback to summary
public long systemId()
Returns:long

the value of the XrVulkanDeviceCreateInfoKHR#systemId field.

Annotations
@NativeType:XrSystemId
systemIdback to summary
public XrVulkanDeviceCreateInfoKHR.Buffer systemId(long value)

Sets the specified value to the XrVulkanDeviceCreateInfoKHR#systemId field.

typeback to summary
public int type()
Returns:int

the value of the type field.

Annotations
@NativeType:XrStructureType
typeback to summary
public XrVulkanDeviceCreateInfoKHR.Buffer type(int value)

Sets the specified value to the type field.

type$Defaultback to summary
public XrVulkanDeviceCreateInfoKHR.Buffer type$Default()

Sets the TYPE_VULKAN_DEVICE_CREATE_INFO_KHR value to the type field.

vulkanAllocatorback to summary
public VkAllocationCallbacks vulkanAllocator()
Returns:VkAllocationCallbacks

a VkAllocationCallbacks view of the struct pointed to by the XrVulkanDeviceCreateInfoKHR#vulkanAllocator field.

Annotations
@Nullable
@NativeType:VkAllocationCallbacks const *
vulkanAllocatorback to summary
public XrVulkanDeviceCreateInfoKHR.Buffer vulkanAllocator(VkAllocationCallbacks value)

Sets the address of the specified VkAllocationCallbacks to the XrVulkanDeviceCreateInfoKHR#vulkanAllocator field.

vulkanCreateInfoback to summary
public VkDeviceCreateInfo vulkanCreateInfo()
Returns:VkDeviceCreateInfo

a VkDeviceCreateInfo view of the struct pointed to by the XrVulkanDeviceCreateInfoKHR#vulkanCreateInfo field.

Annotations
@NativeType:VkDeviceCreateInfo const *
vulkanCreateInfoback to summary
public XrVulkanDeviceCreateInfoKHR.Buffer vulkanCreateInfo(VkDeviceCreateInfo value)

Sets the address of the specified VkDeviceCreateInfo to the XrVulkanDeviceCreateInfoKHR#vulkanCreateInfo field.

vulkanPhysicalDeviceback to summary
public long vulkanPhysicalDevice()
Returns:long

the value of the XrVulkanDeviceCreateInfoKHR#vulkanPhysicalDevice field.

Annotations
@NativeType:VkPhysicalDevice
vulkanPhysicalDeviceback to summary
public XrVulkanDeviceCreateInfoKHR.Buffer vulkanPhysicalDevice(VkPhysicalDevice value)

Sets the specified value to the XrVulkanDeviceCreateInfoKHR#vulkanPhysicalDevice field.