Class XrPassthroughMeshTransformInfoHTC

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<XrPassthroughMeshTransformInfoHTC>
org.lwjgl.openxr.XrPassthroughMeshTransformInfoHTC
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class XrPassthroughMeshTransformInfoHTC extends org.lwjgl.system.Struct<XrPassthroughMeshTransformInfoHTC> implements org.lwjgl.system.NativeResource
The information of mesh and transformation of the passthrough.
Description

The XrPassthroughMeshTransformInfoHTC structure describes the mesh and transformation.

The application must specify the XrPassthroughMeshTransformInfoHTC in the next chain of XrCompositionLayerPassthroughHTC if the specified form of passthrough layer previously created by CreatePassthroughHTC is PASSTHROUGH_FORM_PROJECTED_HTC.

Passing XrPassthroughMeshTransformInfoHTC updates the projected mesh information in the runtime for passthrough layer composition.

If XrPassthroughMeshTransformInfoHTC is not set correctly, runtime must return error ERROR_VALIDATION_FAILURE when EndFrame is called with composition layer XrCompositionLayerPassthroughHTC.

Valid Usage (Implicit)
See Also

XrPosef, XrVector3f

Layout


 struct XrPassthroughMeshTransformInfoHTC {
     XrStructureType type();
     void const * next();
     uint32_t vertexCount();
     XrVector3f const * vertices();
     uint32_t indexCount();
     uint32_t const * indices();
     XrSpace baseSpace();
     XrTime time();
     XrPosef pose();
     XrVector3f scale();
 }