Package org.lwjgl.openxr
Class XrGraphicsRequirementsVulkan2KHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openxr.XrGraphicsRequirementsVulkanKHR
-
- org.lwjgl.openxr.XrGraphicsRequirementsVulkan2KHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class XrGraphicsRequirementsVulkan2KHR extends XrGraphicsRequirementsVulkanKHR
SeeXrGraphicsRequirementsVulkanKHR.Layout
struct XrGraphicsRequirementsVulkan2KHR { XrStructureType type; void * next; XrVersion minApiVersionSupported; XrVersion maxApiVersionSupported; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXrGraphicsRequirementsVulkan2KHR.BufferAn array ofXrGraphicsRequirementsVulkan2KHRstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.openxr.XrGraphicsRequirementsVulkanKHR
ALIGNOF, MAXAPIVERSIONSUPPORTED, MINAPIVERSIONSUPPORTED, NEXT, SIZEOF, TYPE
-
-
Constructor Summary
Constructors Constructor Description XrGraphicsRequirementsVulkan2KHR(java.nio.ByteBuffer container)Creates aXrGraphicsRequirementsVulkan2KHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XrGraphicsRequirementsVulkan2KHRcalloc()Returns a newXrGraphicsRequirementsVulkan2KHRinstance allocated withmemCalloc.static XrGraphicsRequirementsVulkan2KHR.Buffercalloc(int capacity)Returns a newXrGraphicsRequirementsVulkan2KHR.Bufferinstance allocated withmemCalloc.static XrGraphicsRequirementsVulkan2KHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newXrGraphicsRequirementsVulkan2KHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrGraphicsRequirementsVulkan2KHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newXrGraphicsRequirementsVulkan2KHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrGraphicsRequirementsVulkan2KHRcreate()Returns a newXrGraphicsRequirementsVulkan2KHRinstance allocated withBufferUtils.static XrGraphicsRequirementsVulkan2KHR.Buffercreate(int capacity)Returns a newXrGraphicsRequirementsVulkan2KHR.Bufferinstance allocated withBufferUtils.static XrGraphicsRequirementsVulkan2KHRcreate(long address)Returns a newXrGraphicsRequirementsVulkan2KHRinstance for the specified memory address.static XrGraphicsRequirementsVulkan2KHR.Buffercreate(long address, int capacity)Create aXrGraphicsRequirementsVulkan2KHR.Bufferinstance at the specified memory.static XrGraphicsRequirementsVulkan2KHRcreateSafe(long address)static XrGraphicsRequirementsVulkan2KHR.BuffercreateSafe(long address, int capacity)static XrGraphicsRequirementsVulkan2KHRmalloc()Returns a newXrGraphicsRequirementsVulkan2KHRinstance allocated withmemAlloc.static XrGraphicsRequirementsVulkan2KHR.Buffermalloc(int capacity)Returns a newXrGraphicsRequirementsVulkan2KHR.Bufferinstance allocated withmemAlloc.static XrGraphicsRequirementsVulkan2KHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newXrGraphicsRequirementsVulkan2KHR.Bufferinstance allocated on the specifiedMemoryStack.static XrGraphicsRequirementsVulkan2KHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newXrGraphicsRequirementsVulkan2KHRinstance allocated on the specifiedMemoryStack.XrGraphicsRequirementsVulkan2KHRmaxApiVersionSupported(long value)Sets the specified value to themaxApiVersionSupportedfield.XrGraphicsRequirementsVulkan2KHRminApiVersionSupported(long value)Sets the specified value to theminApiVersionSupportedfield.XrGraphicsRequirementsVulkan2KHRnext(long value)Sets the specified value to thenextfield.XrGraphicsRequirementsVulkan2KHRset(int type, long next, long minApiVersionSupported, long maxApiVersionSupported)Initializes this struct with the specified values.XrGraphicsRequirementsVulkan2KHRset(XrGraphicsRequirementsVulkan2KHR src)Copies the specified struct data to this struct.XrGraphicsRequirementsVulkan2KHRtype(int value)Sets the specified value to thetypefield.XrGraphicsRequirementsVulkan2KHRtype$Default()Sets theTYPE_GRAPHICS_REQUIREMENTS_VULKAN_KHRvalue to thetypefield.-
Methods inherited from class org.lwjgl.openxr.XrGraphicsRequirementsVulkanKHR
maxApiVersionSupported, minApiVersionSupported, next, nmaxApiVersionSupported, nmaxApiVersionSupported, nminApiVersionSupported, nminApiVersionSupported, nnext, nnext, ntype, ntype, set, sizeof, type
-
-
-
-
Constructor Detail
-
XrGraphicsRequirementsVulkan2KHR
public XrGraphicsRequirementsVulkan2KHR(java.nio.ByteBuffer container)
Creates aXrGraphicsRequirementsVulkan2KHRinstance at the current position of the specifiedByteBuffercontainer. 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
-
type
public XrGraphicsRequirementsVulkan2KHR type(int value)
Sets the specified value to thetypefield.- Overrides:
typein classXrGraphicsRequirementsVulkanKHR
-
type$Default
public XrGraphicsRequirementsVulkan2KHR type$Default()
Sets theTYPE_GRAPHICS_REQUIREMENTS_VULKAN_KHRvalue to thetypefield.- Overrides:
type$Defaultin classXrGraphicsRequirementsVulkanKHR
-
next
public XrGraphicsRequirementsVulkan2KHR next(long value)
Sets the specified value to thenextfield.- Overrides:
nextin classXrGraphicsRequirementsVulkanKHR
-
minApiVersionSupported
public XrGraphicsRequirementsVulkan2KHR minApiVersionSupported(long value)
Sets the specified value to theminApiVersionSupportedfield.- Overrides:
minApiVersionSupportedin classXrGraphicsRequirementsVulkanKHR
-
maxApiVersionSupported
public XrGraphicsRequirementsVulkan2KHR maxApiVersionSupported(long value)
Sets the specified value to themaxApiVersionSupportedfield.- Overrides:
maxApiVersionSupportedin classXrGraphicsRequirementsVulkanKHR
-
set
public XrGraphicsRequirementsVulkan2KHR set(int type, long next, long minApiVersionSupported, long maxApiVersionSupported)
Initializes this struct with the specified values.- Overrides:
setin classXrGraphicsRequirementsVulkanKHR
-
set
public XrGraphicsRequirementsVulkan2KHR set(XrGraphicsRequirementsVulkan2KHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static XrGraphicsRequirementsVulkan2KHR malloc()
Returns a newXrGraphicsRequirementsVulkan2KHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static XrGraphicsRequirementsVulkan2KHR calloc()
Returns a newXrGraphicsRequirementsVulkan2KHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static XrGraphicsRequirementsVulkan2KHR create()
Returns a newXrGraphicsRequirementsVulkan2KHRinstance allocated withBufferUtils.
-
create
public static XrGraphicsRequirementsVulkan2KHR create(long address)
Returns a newXrGraphicsRequirementsVulkan2KHRinstance for the specified memory address.
-
createSafe
@Nullable public static XrGraphicsRequirementsVulkan2KHR createSafe(long address)
-
malloc
public static XrGraphicsRequirementsVulkan2KHR.Buffer malloc(int capacity)
Returns a newXrGraphicsRequirementsVulkan2KHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static XrGraphicsRequirementsVulkan2KHR.Buffer calloc(int capacity)
Returns a newXrGraphicsRequirementsVulkan2KHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static XrGraphicsRequirementsVulkan2KHR.Buffer create(int capacity)
Returns a newXrGraphicsRequirementsVulkan2KHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static XrGraphicsRequirementsVulkan2KHR.Buffer create(long address, int capacity)
Create aXrGraphicsRequirementsVulkan2KHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static XrGraphicsRequirementsVulkan2KHR.Buffer createSafe(long address, int capacity)
-
malloc
public static XrGraphicsRequirementsVulkan2KHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newXrGraphicsRequirementsVulkan2KHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static XrGraphicsRequirementsVulkan2KHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newXrGraphicsRequirementsVulkan2KHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static XrGraphicsRequirementsVulkan2KHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newXrGraphicsRequirementsVulkan2KHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static XrGraphicsRequirementsVulkan2KHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newXrGraphicsRequirementsVulkan2KHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-