Package org.lwjgl.openxr
Class XrSystemSpaceWarpPropertiesFB
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openxr.XrSystemSpaceWarpPropertiesFB
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class XrSystemSpaceWarpPropertiesFB extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceComposition Layer Space Warp structure.Valid Usage (Implicit)
- The
XR_FB_space_warpextension must be enabled prior to usingXrSystemSpaceWarpPropertiesFB typemust beTYPE_SYSTEM_SPACE_WARP_PROPERTIES_FBnextmust beNULLor a valid pointer to the next structure in a structure chain
See Also
Layout
struct XrSystemSpaceWarpPropertiesFB { XrStructureTypetype(); void *next(); uint32_trecommendedMotionVectorImageRectWidth(); uint32_trecommendedMotionVectorImageRectHeight(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXrSystemSpaceWarpPropertiesFB.BufferAn array ofXrSystemSpaceWarpPropertiesFBstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intNEXT
RECOMMENDEDMOTIONVECTORIMAGERECTHEIGHT
RECOMMENDEDMOTIONVECTORIMAGERECTWIDTHThe struct member offsets.static intSIZEOFThe struct size in bytes.static intTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description XrSystemSpaceWarpPropertiesFB(java.nio.ByteBuffer container)Creates aXrSystemSpaceWarpPropertiesFBinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XrSystemSpaceWarpPropertiesFBcalloc()Returns a newXrSystemSpaceWarpPropertiesFBinstance allocated withmemCalloc.static XrSystemSpaceWarpPropertiesFB.Buffercalloc(int capacity)Returns a newXrSystemSpaceWarpPropertiesFB.Bufferinstance allocated withmemCalloc.static XrSystemSpaceWarpPropertiesFB.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newXrSystemSpaceWarpPropertiesFB.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrSystemSpaceWarpPropertiesFBcalloc(org.lwjgl.system.MemoryStack stack)Returns a newXrSystemSpaceWarpPropertiesFBinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrSystemSpaceWarpPropertiesFBcreate()Returns a newXrSystemSpaceWarpPropertiesFBinstance allocated withBufferUtils.static XrSystemSpaceWarpPropertiesFB.Buffercreate(int capacity)Returns a newXrSystemSpaceWarpPropertiesFB.Bufferinstance allocated withBufferUtils.static XrSystemSpaceWarpPropertiesFBcreate(long address)Returns a newXrSystemSpaceWarpPropertiesFBinstance for the specified memory address.static XrSystemSpaceWarpPropertiesFB.Buffercreate(long address, int capacity)Create aXrSystemSpaceWarpPropertiesFB.Bufferinstance at the specified memory.static XrSystemSpaceWarpPropertiesFBcreateSafe(long address)static XrSystemSpaceWarpPropertiesFB.BuffercreateSafe(long address, int capacity)static XrSystemSpaceWarpPropertiesFBmalloc()Returns a newXrSystemSpaceWarpPropertiesFBinstance allocated withmemAlloc.static XrSystemSpaceWarpPropertiesFB.Buffermalloc(int capacity)Returns a newXrSystemSpaceWarpPropertiesFB.Bufferinstance allocated withmemAlloc.static XrSystemSpaceWarpPropertiesFB.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newXrSystemSpaceWarpPropertiesFB.Bufferinstance allocated on the specifiedMemoryStack.static XrSystemSpaceWarpPropertiesFBmalloc(org.lwjgl.system.MemoryStack stack)Returns a newXrSystemSpaceWarpPropertiesFBinstance allocated on the specifiedMemoryStack.longnext()NULLor a pointer to the next structure in a structure chain.XrSystemSpaceWarpPropertiesFBnext(long value)Sets the specified value to thenext()field.static longnnext(long struct)Unsafe version ofnext().static voidnnext(long struct, long value)Unsafe version ofnext.static intnrecommendedMotionVectorImageRectHeight(long struct)Unsafe version ofrecommendedMotionVectorImageRectHeight().static voidnrecommendedMotionVectorImageRectHeight(long struct, int value)Unsafe version ofrecommendedMotionVectorImageRectHeight.static intnrecommendedMotionVectorImageRectWidth(long struct)Unsafe version ofrecommendedMotionVectorImageRectWidth().static voidnrecommendedMotionVectorImageRectWidth(long struct, int value)Unsafe version ofrecommendedMotionVectorImageRectWidth.static intntype(long struct)Unsafe version oftype().static voidntype(long struct, int value)Unsafe version oftype.intrecommendedMotionVectorImageRectHeight()recommended motion vector and depth image heightXrSystemSpaceWarpPropertiesFBrecommendedMotionVectorImageRectHeight(int value)Sets the specified value to therecommendedMotionVectorImageRectHeight()field.intrecommendedMotionVectorImageRectWidth()recommended motion vector and depth image widthXrSystemSpaceWarpPropertiesFBrecommendedMotionVectorImageRectWidth(int value)Sets the specified value to therecommendedMotionVectorImageRectWidth()field.XrSystemSpaceWarpPropertiesFBset(int type, long next, int recommendedMotionVectorImageRectWidth, int recommendedMotionVectorImageRectHeight)Initializes this struct with the specified values.XrSystemSpaceWarpPropertiesFBset(XrSystemSpaceWarpPropertiesFB src)Copies the specified struct data to this struct.intsizeof()inttype()theXrStructureTypeof this structure.XrSystemSpaceWarpPropertiesFBtype(int value)Sets the specified value to thetype()field.XrSystemSpaceWarpPropertiesFBtype$Default()Sets theTYPE_SYSTEM_SPACE_WARP_PROPERTIES_FBvalue to thetype()field.
-
-
-
Constructor Detail
-
XrSystemSpaceWarpPropertiesFB
public XrSystemSpaceWarpPropertiesFB(java.nio.ByteBuffer container)
Creates aXrSystemSpaceWarpPropertiesFBinstance 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
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
type
public int type()
theXrStructureTypeof this structure.
-
next
public long next()
NULLor a pointer to the next structure in a structure chain.
-
recommendedMotionVectorImageRectWidth
public int recommendedMotionVectorImageRectWidth()
recommended motion vector and depth image width
-
recommendedMotionVectorImageRectHeight
public int recommendedMotionVectorImageRectHeight()
recommended motion vector and depth image height
-
type
public XrSystemSpaceWarpPropertiesFB type(int value)
Sets the specified value to thetype()field.
-
type$Default
public XrSystemSpaceWarpPropertiesFB type$Default()
Sets theTYPE_SYSTEM_SPACE_WARP_PROPERTIES_FBvalue to thetype()field.
-
next
public XrSystemSpaceWarpPropertiesFB next(long value)
Sets the specified value to thenext()field.
-
recommendedMotionVectorImageRectWidth
public XrSystemSpaceWarpPropertiesFB recommendedMotionVectorImageRectWidth(int value)
Sets the specified value to therecommendedMotionVectorImageRectWidth()field.
-
recommendedMotionVectorImageRectHeight
public XrSystemSpaceWarpPropertiesFB recommendedMotionVectorImageRectHeight(int value)
Sets the specified value to therecommendedMotionVectorImageRectHeight()field.
-
set
public XrSystemSpaceWarpPropertiesFB set(int type, long next, int recommendedMotionVectorImageRectWidth, int recommendedMotionVectorImageRectHeight)
Initializes this struct with the specified values.
-
set
public XrSystemSpaceWarpPropertiesFB set(XrSystemSpaceWarpPropertiesFB src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static XrSystemSpaceWarpPropertiesFB malloc()
Returns a newXrSystemSpaceWarpPropertiesFBinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static XrSystemSpaceWarpPropertiesFB calloc()
Returns a newXrSystemSpaceWarpPropertiesFBinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static XrSystemSpaceWarpPropertiesFB create()
Returns a newXrSystemSpaceWarpPropertiesFBinstance allocated withBufferUtils.
-
create
public static XrSystemSpaceWarpPropertiesFB create(long address)
Returns a newXrSystemSpaceWarpPropertiesFBinstance for the specified memory address.
-
createSafe
@Nullable public static XrSystemSpaceWarpPropertiesFB createSafe(long address)
-
malloc
public static XrSystemSpaceWarpPropertiesFB.Buffer malloc(int capacity)
Returns a newXrSystemSpaceWarpPropertiesFB.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static XrSystemSpaceWarpPropertiesFB.Buffer calloc(int capacity)
Returns a newXrSystemSpaceWarpPropertiesFB.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static XrSystemSpaceWarpPropertiesFB.Buffer create(int capacity)
Returns a newXrSystemSpaceWarpPropertiesFB.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static XrSystemSpaceWarpPropertiesFB.Buffer create(long address, int capacity)
Create aXrSystemSpaceWarpPropertiesFB.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static XrSystemSpaceWarpPropertiesFB.Buffer createSafe(long address, int capacity)
-
malloc
public static XrSystemSpaceWarpPropertiesFB malloc(org.lwjgl.system.MemoryStack stack)
Returns a newXrSystemSpaceWarpPropertiesFBinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static XrSystemSpaceWarpPropertiesFB calloc(org.lwjgl.system.MemoryStack stack)
Returns a newXrSystemSpaceWarpPropertiesFBinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static XrSystemSpaceWarpPropertiesFB.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newXrSystemSpaceWarpPropertiesFB.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static XrSystemSpaceWarpPropertiesFB.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newXrSystemSpaceWarpPropertiesFB.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
ntype
public static int ntype(long struct)
Unsafe version oftype().
-
nnext
public static long nnext(long struct)
Unsafe version ofnext().
-
nrecommendedMotionVectorImageRectWidth
public static int nrecommendedMotionVectorImageRectWidth(long struct)
Unsafe version ofrecommendedMotionVectorImageRectWidth().
-
nrecommendedMotionVectorImageRectHeight
public static int nrecommendedMotionVectorImageRectHeight(long struct)
Unsafe version ofrecommendedMotionVectorImageRectHeight().
-
ntype
public static void ntype(long struct, int value)Unsafe version oftype.
-
nnext
public static void nnext(long struct, long value)Unsafe version ofnext.
-
nrecommendedMotionVectorImageRectWidth
public static void nrecommendedMotionVectorImageRectWidth(long struct, int value)Unsafe version ofrecommendedMotionVectorImageRectWidth.
-
nrecommendedMotionVectorImageRectHeight
public static void nrecommendedMotionVectorImageRectHeight(long struct, int value)Unsafe version ofrecommendedMotionVectorImageRectHeight.
-
-