Class CompositorOverlaySettings

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

    public class CompositorOverlaySettings
    extends Struct
    implements NativeResource
    Allows the application to customize how the overlay appears in the compositor.

    Member documentation

    • sizesizeof(Compositor_OverlaySettings)

    Layout

    
     struct Compositor_OverlaySettings {
         uint32_t size;
         bool curved;
         bool antialias;
         float scale;
         float distance;
         float alpha;
         float uOffset;
         float vOffset;
         float uScale;
         float vScale;
         float gridDivs;
         float gridWidth;
         float gridScale;
         HmdMatrix44_t transform;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • SIZE, CURVED, ANTIALIAS, SCALE, DISTANCE, ALPHA, UOFFSET, VOFFSET, USCALE, VSCALE, GRIDDIVS, GRIDWIDTH, GRIDSCALE, TRANSFORM

        The struct member offsets.
    • Constructor Detail

      • CompositorOverlaySettings

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