Class VRTextureBounds

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VRTextureBounds extends Struct<VRTextureBounds> implements NativeResource
Allows the application to control what part of the provided texture will be used in the frame buffer.

Layout


 struct VRTextureBounds_t {
     float uMin;
     float vMin;
     float uMax;
     float vMax;
 }
  • Field Details

    • SIZEOF

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

      public static final int ALIGNOF
      The struct alignment in bytes.
    • UMIN

      public static final int UMIN
      The struct member offsets.
    • VMIN

      public static final int VMIN
      The struct member offsets.
    • UMAX

      public static final int UMAX
      The struct member offsets.
    • VMAX

      public static final int VMAX
      The struct member offsets.
  • Constructor Details

    • VRTextureBounds

      public VRTextureBounds(ByteBuffer container)
      Creates a VRTextureBounds 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.

  • Method Details