XrCompositionLayerCylinderKHR contains the information needed to render a texture onto a cylinder when calling EndFrame. XrCompositionLayerCylinderKHR is an alias type for the base struct XrCompositionLayerBaseHeader used in XrFrameEndInfo.
XR_KHR_composition_layer_cylinder extension must be enabled prior to using XrCompositionLayerCylinderKHRtype must be TYPE_COMPOSITION_LAYER_CYLINDER_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 XrCompositionLayerCylinderKHR {
XrStructureType type;
void const * next;
XrCompositionLayerFlags layerFlags;
XrSpace space;
XrEyeVisibility eyeVisibility;
XrSwapchainSubImage subImage;
XrPosef pose;
float radius;
float centralAngle;
float aspectRatio;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrCompositionLayerCylinderKHR.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | ASPECTRATIO
The struct member offsets. |
| public static final int | CENTRALANGLE
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 | 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. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrCompositionLayerCylinderKHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public float | |
| public XrCompositionLayerCylinderKHR | |
| public static XrCompositionLayerCylinderKHR | |
| public static XrCompositionLayerCylinderKHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrCompositionLayerCylinderKHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrCompositionLayerCylinderKHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public float | centralAngle()
the angle of the visible section of the cylinder, based at 0 radians, in the range of |
| public XrCompositionLayerCylinderKHR | |
| protected XrCompositionLayerCylinderKHR | 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 XrCompositionLayerCylinderKHR | |
| public static XrCompositionLayerCylinderKHR | create(long address)
Returns a new |
| public static XrCompositionLayerCylinderKHR | create(XrCompositionLayerBaseHeader value)
Downcasts the specified |
| public static XrCompositionLayerCylinderKHR. | create(int
the buffer capacity capacity)Returns a new |
| public static XrCompositionLayerCylinderKHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrCompositionLayerCylinderKHR. | create(XrCompositionLayerBaseHeader.
Downcasts the specified |
| public static XrCompositionLayerCylinderKHR | |
| public static XrCompositionLayerCylinderKHR. | |
| public int | |
| public XrCompositionLayerCylinderKHR | |
| public long | |
| public XrCompositionLayerCylinderKHR | |
| public static XrCompositionLayerCylinderKHR | |
| public static XrCompositionLayerCylinderKHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrCompositionLayerCylinderKHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrCompositionLayerCylinderKHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static float | |
| public static void | |
| public static float | |
| public static void | |
| public long | |
| public XrCompositionLayerCylinderKHR | |
| public static int | |
| public static void | |
| public static long | |
| 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 XrPosef | |
| public XrCompositionLayerCylinderKHR | |
| public XrCompositionLayerCylinderKHR | |
| public float | |
| public XrCompositionLayerCylinderKHR | |
| public XrCompositionLayerCylinderKHR | set(int type, long next, long layerFlags, XrSpace space, int eyeVisibility, XrSwapchainSubImage subImage, XrPosef pose, float radius, float centralAngle, float aspectRatio)
Initializes this struct with the specified values. |
| public XrCompositionLayerCylinderKHR | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public long | |
| public XrCompositionLayerCylinderKHR | |
| public XrSwapchainSubImage | |
| public XrCompositionLayerCylinderKHR | |
| public XrCompositionLayerCylinderKHR | subImage(Consumer<XrSwapchainSubImage> consumer)
|
| public int | |
| public XrCompositionLayerCylinderKHR | |
| public XrCompositionLayerCylinderKHR | |
| public static void |