Package org.lwjgl.ovr

Class OVRFovStencilMeshBuffer

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

public class OVRFovStencilMeshBuffer extends org.lwjgl.system.Struct<OVRFovStencilMeshBuffer> implements org.lwjgl.system.NativeResource
Contains the data for the fov-stencil mesh. Parts of the struct are filled by the caller while some parts are filled by the SDK.

Layout


 struct ovrFovStencilMeshBuffer {
     int AllocVertexCount();
     int UsedVertexCount();
     ovrVector2f * VertexBuffer();
     int AllocIndexCount();
     int UsedIndexCount();
     uint16_t * IndexBuffer();
 }
  • Field Details

    • SIZEOF

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

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

      public static final int ALLOCVERTEXCOUNT
      The struct member offsets.
    • USEDVERTEXCOUNT

      public static final int USEDVERTEXCOUNT
      The struct member offsets.
    • VERTEXBUFFER

      public static final int VERTEXBUFFER
      The struct member offsets.
    • ALLOCINDEXCOUNT

      public static final int ALLOCINDEXCOUNT
      The struct member offsets.
    • USEDINDEXCOUNT

      public static final int USEDINDEXCOUNT
      The struct member offsets.
    • INDEXBUFFER

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

    • OVRFovStencilMeshBuffer

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