XrCompositionLayerEquirect2KHR contains the information needed to render an equirectangular image onto a sphere when calling EndFrame. XrCompositionLayerEquirect2KHR is an alias type for the base struct XrCompositionLayerBaseHeader used in XrFrameEndInfo.
XR_KHR_composition_layer_equirect2 extension must be enabled prior to using XrCompositionLayerEquirect2KHRtype must be TYPE_COMPOSITION_LAYER_EQUIRECT2_KHRnext must be NULL or a valid pointer to the next structure in a structure chainlayerFlags must be 0 or a valid combination of XrCompositionLayerFlagBits valuesspace must be a valid XrSpace handleeyeVisibility must be a valid XrEyeVisibility valuesubImage must be a valid XrSwapchainSubImage structureXrCompositionLayerBaseHeader, XrFrameEndInfo, XrPosef, XrSwapchainSubImage, EndFrame
struct XrCompositionLayerEquirect2KHR {
XrStructureType type;
void const * next;
XrCompositionLayerFlags layerFlags;
XrSpace space;
XrEyeVisibility eyeVisibility;
XrSwapchainSubImage subImage;
XrPosef pose;
float radius;
float centralHorizontalAngle;
float upperVerticalAngle;
float lowerVerticalAngle;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrCompositionLayerEquirect2KHR.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CENTRALHORIZONTALANGLE
The struct member offsets. |
| public static final int | EYEVISIBILITY
The struct member offsets. |
| public static final int | LAYERFLAGS
The struct member offsets. |
| public static final int | LOWERVERTICALANGLE
The struct member offsets. |
| public static final int | NEXT
The struct member offsets. |
| public static final int | POSE
The struct member offsets. |
| public static final int | RADIUS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SPACE
The struct member offsets. |
| public static final int | SUBIMAGE
The struct member offsets. |
| public static final int | TYPE
The struct member offsets. |
| public static final int | UPPERVERTICALANGLE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrCompositionLayerEquirect2KHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrCompositionLayerEquirect2KHR | |
| public static XrCompositionLayerEquirect2KHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrCompositionLayerEquirect2KHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrCompositionLayerEquirect2KHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public float | centralHorizontalAngle()
defines the visible horizontal angle of the sphere, based at 0 radians, in the range of |
| public XrCompositionLayerEquirect2KHR | |
| protected XrCompositionLayerEquirect2KHR | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static XrCompositionLayerEquirect2KHR | |
| public static XrCompositionLayerEquirect2KHR | create(long address)
Returns a new |
| public static XrCompositionLayerEquirect2KHR | create(XrCompositionLayerBaseHeader value)
Downcasts the specified |
| public static XrCompositionLayerEquirect2KHR. | create(int
the buffer capacity capacity)Returns a new |
| public static XrCompositionLayerEquirect2KHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrCompositionLayerEquirect2KHR. | create(XrCompositionLayerBaseHeader.
Downcasts the specified |
| public static XrCompositionLayerEquirect2KHR | |
| public static XrCompositionLayerEquirect2KHR. | |
| public int | |
| public XrCompositionLayerEquirect2KHR | |
| public long | |
| public XrCompositionLayerEquirect2KHR | |
| public float | lowerVerticalAngle()
defines the lower vertical angle of the visible portion of the sphere, in the range of |
| public XrCompositionLayerEquirect2KHR | |
| public static XrCompositionLayerEquirect2KHR | |
| public static XrCompositionLayerEquirect2KHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrCompositionLayerEquirect2KHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrCompositionLayerEquirect2KHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static float | |
| public static void | |
| public long | |
| public XrCompositionLayerEquirect2KHR | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static float | |
| public static void | |
| public static long | |
| public static void | |
| public static XrPosef | |
| public static void | |
| public static float | |
| public static void | |
| public static long | |
| public static void | |
| public static XrSwapchainSubImage | |
| public static void | |
| public static int | |
| public static void | |
| public static float | |
| public static void | |
| public XrPosef | |
| public XrCompositionLayerEquirect2KHR | |
| public XrCompositionLayerEquirect2KHR | |
| public float | |
| public XrCompositionLayerEquirect2KHR | |
| public XrCompositionLayerEquirect2KHR | set(int type, long next, long layerFlags, XrSpace space, int eyeVisibility, XrSwapchainSubImage subImage, XrPosef pose, float radius, float centralHorizontalAngle, float upperVerticalAngle, float lowerVerticalAngle)
Initializes this struct with the specified values. |
| public XrCompositionLayerEquirect2KHR | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public long | |
| public XrCompositionLayerEquirect2KHR | |
| public XrSwapchainSubImage | |
| public XrCompositionLayerEquirect2KHR | |
| public XrCompositionLayerEquirect2KHR | subImage(Consumer<XrSwapchainSubImage> consumer)
|
| public int | |
| public XrCompositionLayerEquirect2KHR | |
| public XrCompositionLayerEquirect2KHR | |
| public float | upperVerticalAngle()
defines the upper vertical angle of the visible portion of the sphere, in the range of |
| public XrCompositionLayerEquirect2KHR | |
| public static void |