Class ParOctasphereMesh

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

@NativeType("struct par_octasphere_mesh") public class ParOctasphereMesh extends Struct<ParOctasphereMesh> implements NativeResource
struct par_octasphere_mesh {
    float * positions;
    float * normals;
    float * texcoords;
    uint16_t * indices;
    uint32_t num_indices;
    uint32_t num_vertices;
}
  • Field Details

    • SIZEOF

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

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

      public static final int POSITIONS
      The struct member offsets.
    • NORMALS

      public static final int NORMALS
      The struct member offsets.
    • TEXCOORDS

      public static final int TEXCOORDS
      The struct member offsets.
    • INDICES

      public static final int INDICES
      The struct member offsets.
    • NUM_INDICES

      public static final int NUM_INDICES
      The struct member offsets.
    • NUM_VERTICES

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

    • ParOctasphereMesh

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