Class CameraVideoStreamFrameHeader

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

    public class CameraVideoStreamFrameHeader
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource

    Layout

    
     struct CameraVideoStreamFrameHeader_t {
         EVRTrackedCameraFrameType eFrameType;
         uint32_t nWidth;
         uint32_t nHeight;
         uint32_t nBytesPerPixel;
         uint32_t nFrameSequence;
         TrackedDevicePose_t trackedDevicePose;
         uint64_t ulFrameExposureTime();
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • EFRAMETYPE, NWIDTH, NHEIGHT, NBYTESPERPIXEL, NFRAMESEQUENCE, TRACKEDDEVICEPOSE, ULFRAMEEXPOSURETIME

        The struct member offsets.
    • Constructor Detail

      • CameraVideoStreamFrameHeader

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