Top Description Inners Fields Constructors Methods
org.lwjgl.openxr

public Class XrCompositionLayerDepthInfoKHR

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

Depth map layer info.
Description
Note

The window space depth values minDepth and maxDepth are akin to the parameters of glDepthRange that specify the mapping from normalized device coordinates into window space.

Note

A reversed mapping of depth, such that points closer to the view have a window space depth that is greater than points further away can be achieved by making nearZ > farZ.

XrCompositionLayerDepthInfoKHR contains the information needed to associate depth with the color information in a projection layer. When submitting depth images along with projection layers, add the XrCompositionLayerDepthInfoKHR to the next chain for all XrCompositionLayerProjectionView structures in the given layer.

The homogeneous transform from view space z to window space depth is given by the following matrix, where a = minDepth, b = maxDepth, n = nearZ, and f = farZ.

Homogeneous values are constructed from real values by appending a w component with value 1.0.

General homogeneous values are projected back to real space by dividing by the w component.

Valid Usage (Implicit)
See Also

XrCompositionLayerBaseHeader, XrCompositionLayerProjection, XrCompositionLayerProjectionView, XrFrameEndInfo, XrSwapchainSubImage, EndFrame

Layout


struct XrCompositionLayerDepthInfoKHR {
    XrStructureType type;
    void const * next;
    XrSwapchainSubImage subImage;
    float minDepth;
    float maxDepth;
    float nearZ;
    float farZ;
}

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
FARZ

The struct member offsets.

public static final int
MAXDEPTH

The struct member offsets.

public static final int
MINDEPTH

The struct member offsets.

public static final int
NEARZ

The struct member offsets.

public static final int
NEXT

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
SUBIMAGE

The struct member offsets.

public static final int
TYPE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

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

public
XrCompositionLayerDepthInfoKHR(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public static XrCompositionLayerDepthInfoKHR
calloc()

Returns a new XrCompositionLayerDepthInfoKHR instance allocated with memCalloc.

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

Returns a new XrCompositionLayerDepthInfoKHR.Buffer instance allocated with memCalloc.

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

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

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

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

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

Returns a new XrCompositionLayerDepthInfoKHR instance allocated with BufferUtils.

public static XrCompositionLayerDepthInfoKHR
create(long address)

Returns a new XrCompositionLayerDepthInfoKHR instance for the specified memory address.

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

Returns a new XrCompositionLayerDepthInfoKHR.Buffer instance allocated with BufferUtils.

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

Create a XrCompositionLayerDepthInfoKHR.Buffer instance at the specified memory.

public static XrCompositionLayerDepthInfoKHR
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public float
farZ()

see nearZ

public XrCompositionLayerDepthInfoKHR
farZ(float value)

Sets the specified value to the farZ field.

public static XrCompositionLayerDepthInfoKHR
malloc()

Returns a new XrCompositionLayerDepthInfoKHR instance allocated with memAlloc.

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

Returns a new XrCompositionLayerDepthInfoKHR.Buffer instance allocated with memAlloc.

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

Returns a new XrCompositionLayerDepthInfoKHR instance allocated on the specified MemoryStack.

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

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

public float
maxDepth()

see minDepth

public XrCompositionLayerDepthInfoKHR
maxDepth(float value)

Sets the specified value to the maxDepth field.

public float
minDepth()

minDepth and maxDepth are the window space depths that correspond to the near and far frustum planes, respectively.

public XrCompositionLayerDepthInfoKHR
minDepth(float value)

Sets the specified value to the minDepth field.

public float
nearZ()

nearZ and farZ are the positive distances in meters to the near and far frustum planes, respectively.

public XrCompositionLayerDepthInfoKHR
nearZ(float value)

Sets the specified value to the nearZ field.

public long
next()

NULL or a pointer to the next structure in a structure chain.

public XrCompositionLayerDepthInfoKHR
next(long value)

Sets the specified value to the next field.

public static float
nfarZ(long struct)

Unsafe version of farZ.

public static void
nfarZ(long struct, float value)

Unsafe version of farZ.

public static float
nmaxDepth(long struct)

Unsafe version of maxDepth.

public static void
nmaxDepth(long struct, float value)

Unsafe version of maxDepth.

public static float
nminDepth(long struct)

Unsafe version of minDepth.

public static void
nminDepth(long struct, float value)

Unsafe version of minDepth.

public static float
nnearZ(long struct)

Unsafe version of nearZ.

public static void
nnearZ(long struct, float value)

Unsafe version of nearZ.

public static long
nnext(long struct)

Unsafe version of next.

public static void
nnext(long struct, long value)

Unsafe version of next.

public static XrSwapchainSubImage
nsubImage(long struct)

Unsafe version of subImage.

public static void
nsubImage(long struct, XrSwapchainSubImage value)

Unsafe version of subImage.

public static int
ntype(long struct)

Unsafe version of type.

public static void
ntype(long struct, int value)

Unsafe version of type.

public XrCompositionLayerDepthInfoKHR
set(int type, long next, XrSwapchainSubImage subImage, float minDepth, float maxDepth, float nearZ, float farZ)

Initializes this struct with the specified values.

public XrCompositionLayerDepthInfoKHR

Returns:

this struct
set
(XrCompositionLayerDepthInfoKHR
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 XrSwapchainSubImage
subImage()

identifies the depth image XrSwapchainSubImage to be associated with the color swapchain.

public XrCompositionLayerDepthInfoKHR
subImage(XrSwapchainSubImage value)

Copies the specified XrSwapchainSubImage to the subImage field.

public XrCompositionLayerDepthInfoKHR
subImage(Consumer<XrSwapchainSubImage> consumer)

Passes the subImage field to the specified Consumer.

public int
type()

the XrStructureType of this structure.

public XrCompositionLayerDepthInfoKHR
type(int value)

Sets the specified value to the type field.

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

Validates pointer members that should not be NULL.

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.

FARZback to summary
public static final int FARZ

The struct member offsets.

MAXDEPTHback to summary
public static final int MAXDEPTH

The struct member offsets.

MINDEPTHback to summary
public static final int MINDEPTH

The struct member offsets.

NEARZback to summary
public static final int NEARZ

The struct member offsets.

NEXTback to summary
public static final int NEXT

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

SUBIMAGEback to summary
public static final int SUBIMAGE

The struct member offsets.

TYPEback to summary
public static final int TYPE

The struct member offsets.

Constructor Detail

XrCompositionLayerDepthInfoKHRback to summary
protected XrCompositionLayerDepthInfoKHR(long address, ByteBuffer container)
XrCompositionLayerDepthInfoKHRback to summary
public XrCompositionLayerDepthInfoKHR(ByteBuffer container)

Creates a XrCompositionLayerDepthInfoKHR 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 XrCompositionLayerDepthInfoKHR calloc()

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

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

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

Parameters
capacity:int

the buffer capacity

callocback to summary
public static XrCompositionLayerDepthInfoKHR calloc(MemoryStack stack)

Returns a new XrCompositionLayerDepthInfoKHR 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 XrCompositionLayerDepthInfoKHR.Buffer calloc(int capacity, MemoryStack stack)

Returns a new XrCompositionLayerDepthInfoKHR.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 XrCompositionLayerDepthInfoKHR 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 XrCompositionLayerDepthInfoKHR create()

Returns a new XrCompositionLayerDepthInfoKHR instance allocated with BufferUtils.

createback to summary
public static XrCompositionLayerDepthInfoKHR create(long address)

Returns a new XrCompositionLayerDepthInfoKHR instance for the specified memory address.

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

Returns a new XrCompositionLayerDepthInfoKHR.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

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

Create a XrCompositionLayerDepthInfoKHR.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static XrCompositionLayerDepthInfoKHR createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

Annotations
@Nullable
farZback to summary
public float farZ()

see nearZ

farZback to summary
public XrCompositionLayerDepthInfoKHR farZ(float value)

Sets the specified value to the farZ field.

mallocback to summary
public static XrCompositionLayerDepthInfoKHR malloc()

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

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

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

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static XrCompositionLayerDepthInfoKHR malloc(MemoryStack stack)

Returns a new XrCompositionLayerDepthInfoKHR instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

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

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

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

maxDepthback to summary
public float maxDepth()

see minDepth

maxDepthback to summary
public XrCompositionLayerDepthInfoKHR maxDepth(float value)

Sets the specified value to the maxDepth field.

minDepthback to summary
public float minDepth()

minDepth and maxDepth are the window space depths that correspond to the near and far frustum planes, respectively. minDepth must be less than maxDepth. minDepth and maxDepth must be in the range [0, 1].

minDepthback to summary
public XrCompositionLayerDepthInfoKHR minDepth(float value)

Sets the specified value to the minDepth field.

nearZback to summary
public float nearZ()

nearZ and farZ are the positive distances in meters to the near and far frustum planes, respectively. nearZ and farZ must not be equal. nearZ and farZ must be in the range (0, +infinity].

nearZback to summary
public XrCompositionLayerDepthInfoKHR nearZ(float value)

Sets the specified value to the nearZ field.

nextback to summary
public long next()

NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.

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

Sets the specified value to the next field.

nfarZback to summary
public static float nfarZ(long struct)

Unsafe version of farZ.

nfarZback to summary
public static void nfarZ(long struct, float value)

Unsafe version of farZ.

nmaxDepthback to summary
public static float nmaxDepth(long struct)

Unsafe version of maxDepth.

nmaxDepthback to summary
public static void nmaxDepth(long struct, float value)

Unsafe version of maxDepth.

nminDepthback to summary
public static float nminDepth(long struct)

Unsafe version of minDepth.

nminDepthback to summary
public static void nminDepth(long struct, float value)

Unsafe version of minDepth.

nnearZback to summary
public static float nnearZ(long struct)

Unsafe version of nearZ.

nnearZback to summary
public static void nnearZ(long struct, float value)

Unsafe version of nearZ.

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.

nsubImageback to summary
public static XrSwapchainSubImage nsubImage(long struct)

Unsafe version of subImage.

nsubImageback to summary
public static void nsubImage(long struct, XrSwapchainSubImage value)

Unsafe version of subImage.

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.

setback to summary
public XrCompositionLayerDepthInfoKHR set(int type, long next, XrSwapchainSubImage subImage, float minDepth, float maxDepth, float nearZ, float farZ)

Initializes this struct with the specified values.

setback to summary
public XrCompositionLayerDepthInfoKHR set(XrCompositionLayerDepthInfoKHR src)

Copies the specified struct data to this struct.

Parameters
src:XrCompositionLayerDepthInfoKHR

the source struct

Returns:XrCompositionLayerDepthInfoKHR

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
subImageback to summary
public XrSwapchainSubImage subImage()

identifies the depth image XrSwapchainSubImage to be associated with the color swapchain. The swapchain must have been created with a faceCount of 1.

subImageback to summary
public XrCompositionLayerDepthInfoKHR subImage(XrSwapchainSubImage value)

Copies the specified XrSwapchainSubImage to the subImage field.

subImageback to summary
public XrCompositionLayerDepthInfoKHR subImage(Consumer<XrSwapchainSubImage> consumer)

Passes the subImage field to the specified Consumer.

typeback to summary
public int type()

the XrStructureType of this structure.

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

Sets the specified value to the type field.

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

Sets the TYPE_COMPOSITION_LAYER_DEPTH_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

org.lwjgl.openxr back to summary

public Class XrCompositionLayerDepthInfoKHR.Buffer

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

An array of XrCompositionLayerDepthInfoKHR structs.

Field Summary

Modifier and TypeField and Description
private static final XrCompositionLayerDepthInfoKHR

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new XrCompositionLayerDepthInfoKHR.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 float

Returns:

the value of the XrCompositionLayerDepthInfoKHR#farZ field.
farZ
()

public XrCompositionLayerDepthInfoKHR.Buffer
farZ(float value)

Sets the specified value to the XrCompositionLayerDepthInfoKHR#farZ field.

protected XrCompositionLayerDepthInfoKHR
public float

Returns:

the value of the XrCompositionLayerDepthInfoKHR#maxDepth field.
maxDepth
()

public XrCompositionLayerDepthInfoKHR.Buffer
maxDepth(float value)

Sets the specified value to the XrCompositionLayerDepthInfoKHR#maxDepth field.

public float

Returns:

the value of the XrCompositionLayerDepthInfoKHR#minDepth field.
minDepth
()

public XrCompositionLayerDepthInfoKHR.Buffer
minDepth(float value)

Sets the specified value to the XrCompositionLayerDepthInfoKHR#minDepth field.

public float

Returns:

the value of the XrCompositionLayerDepthInfoKHR#nearZ field.
nearZ
()

public XrCompositionLayerDepthInfoKHR.Buffer
nearZ(float value)

Sets the specified value to the XrCompositionLayerDepthInfoKHR#nearZ field.

public long

Returns:

the value of the XrCompositionLayerDepthInfoKHR#next field.
next
()

public XrCompositionLayerDepthInfoKHR.Buffer
next(long value)

Sets the specified value to the XrCompositionLayerDepthInfoKHR#next field.

protected XrCompositionLayerDepthInfoKHR.Buffer
public XrSwapchainSubImage
public XrCompositionLayerDepthInfoKHR.Buffer
public XrCompositionLayerDepthInfoKHR.Buffer
public int

Returns:

the value of the XrCompositionLayerDepthInfoKHR#type field.
type
()

public XrCompositionLayerDepthInfoKHR.Buffer
type(int value)

Sets the specified value to the XrCompositionLayerDepthInfoKHR#type field.

public XrCompositionLayerDepthInfoKHR.Buffer
Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final XrCompositionLayerDepthInfoKHR ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

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

farZback to summary
public float farZ()
Returns:float

the value of the XrCompositionLayerDepthInfoKHR#farZ field.

farZback to summary
public XrCompositionLayerDepthInfoKHR.Buffer farZ(float value)

Sets the specified value to the XrCompositionLayerDepthInfoKHR#farZ field.

getElementFactoryback to summary
protected XrCompositionLayerDepthInfoKHR getElementFactory()

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

Annotations
@Override
maxDepthback to summary
public float maxDepth()
Returns:float

the value of the XrCompositionLayerDepthInfoKHR#maxDepth field.

maxDepthback to summary
public XrCompositionLayerDepthInfoKHR.Buffer maxDepth(float value)

Sets the specified value to the XrCompositionLayerDepthInfoKHR#maxDepth field.

minDepthback to summary
public float minDepth()
Returns:float

the value of the XrCompositionLayerDepthInfoKHR#minDepth field.

minDepthback to summary
public XrCompositionLayerDepthInfoKHR.Buffer minDepth(float value)

Sets the specified value to the XrCompositionLayerDepthInfoKHR#minDepth field.

nearZback to summary
public float nearZ()
Returns:float

the value of the XrCompositionLayerDepthInfoKHR#nearZ field.

nearZback to summary
public XrCompositionLayerDepthInfoKHR.Buffer nearZ(float value)

Sets the specified value to the XrCompositionLayerDepthInfoKHR#nearZ field.

nextback to summary
public long next()
Returns:long

the value of the XrCompositionLayerDepthInfoKHR#next field.

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

Sets the specified value to the XrCompositionLayerDepthInfoKHR#next field.

selfback to summary
protected XrCompositionLayerDepthInfoKHR.Buffer self()

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

Annotations
@Override
subImageback to summary
public XrSwapchainSubImage subImage()
Returns:XrSwapchainSubImage

a XrSwapchainSubImage view of the XrCompositionLayerDepthInfoKHR#subImage field.

subImageback to summary
public XrCompositionLayerDepthInfoKHR.Buffer subImage(XrSwapchainSubImage value)

Copies the specified XrSwapchainSubImage to the XrCompositionLayerDepthInfoKHR#subImage field.

subImageback to summary
public XrCompositionLayerDepthInfoKHR.Buffer subImage(Consumer<XrSwapchainSubImage> consumer)

Passes the XrCompositionLayerDepthInfoKHR#subImage field to the specified Consumer.

typeback to summary
public int type()
Returns:int

the value of the XrCompositionLayerDepthInfoKHR#type field.

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

Sets the specified value to the XrCompositionLayerDepthInfoKHR#type field.

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

Sets the TYPE_COMPOSITION_LAYER_DEPTH_INFO_KHR value to the XrCompositionLayerDepthInfoKHR#type field.