Class VRTextureWithPose

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VRTextureWithPose
    extends Struct
    implements NativeResource
    Allows specifying pose used to render provided scene texture (if different from value returned by WaitGetPoses).

    Member documentation

    • mDeviceToAbsoluteTracking – actual pose used to render scene textures


     struct VRTextureWithPose_t {
         HmdMatrix34_t mDeviceToAbsoluteTracking;
    • Field Detail

      • SIZEOF

        public static final int SIZEOF
        The struct size in bytes.
      • ALIGNOF

        public static final int ALIGNOF
        The struct alignment in bytes.

        public static final int MDEVICETOABSOLUTETRACKING
        The struct member offsets.
    • Constructor Detail

      • VRTextureWithPose

        public VRTextureWithPose​(java.nio.ByteBuffer container)
        Creates a VRTextureWithPose 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.