struct par_octasphere_mesh {
float * positions;
float * normals;
float * texcoords;
uint16_t * indices;
uint32_t num_indices;
uint32_t num_vertices;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | ParOctasphereMesh.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | INDICES
The struct member offsets. |
| public static final int | NORMALS
The struct member offsets. |
| public static final int | NUM_INDICES
The struct member offsets. |
| public static final int | NUM_VERTICES
The struct member offsets. |
| public static final int | POSITIONS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TEXCOORDS
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | ParOctasphereMesh(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static ParOctasphereMesh | |
| public static ParOctasphereMesh. | calloc(int
the buffer capacity capacity)Returns a new |
| public static ParOctasphereMesh | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ParOctasphereMesh. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected ParOctasphereMesh | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static ParOctasphereMesh | |
| public static ParOctasphereMesh | |
| public static ParOctasphereMesh. | create(int
the buffer capacity capacity)Returns a new |
| public static ParOctasphereMesh. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static ParOctasphereMesh | |
| public static ParOctasphereMesh. | |
| public ShortBuffer | |
| public ParOctasphereMesh | |
| public static ParOctasphereMesh | |
| public static ParOctasphereMesh. | malloc(int
the buffer capacity capacity)Returns a new |
| public static ParOctasphereMesh | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ParOctasphereMesh. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static ShortBuffer | |
| public static void | |
| public static FloatBuffer | |
| public static void | |
| public static int | |
| public static int | |
| public FloatBuffer | |
| public ParOctasphereMesh | |
| public static FloatBuffer | |
| public static void | |
| public static FloatBuffer | |
| public static void | |
| public int | |
| public int | |
| public FloatBuffer | |
| public ParOctasphereMesh | |
| public ParOctasphereMesh | set(FloatBuffer positions, FloatBuffer normals, FloatBuffer texcoords, ShortBuffer indices)
Initializes this struct with the specified values. |
| public ParOctasphereMesh | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public FloatBuffer | |
| public ParOctasphereMesh | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| INDICES | back to summary |
|---|---|
| public static final int INDICES The struct member offsets. | |
| NORMALS | back to summary |
|---|---|
| public static final int NORMALS The struct member offsets. | |
| NUM_INDICES | back to summary |
|---|---|
| public static final int NUM_INDICES The struct member offsets. | |
| NUM_VERTICES | back to summary |
|---|---|
| public static final int NUM_VERTICES The struct member offsets. | |
| POSITIONS | back to summary |
|---|---|
| public static final int POSITIONS The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TEXCOORDS | back to summary |
|---|---|
| public static final int TEXCOORDS The struct member offsets. | |
| ParOctasphereMesh | back to summary |
|---|---|
| protected ParOctasphereMesh(long address, ByteBuffer container) | |
| ParOctasphereMesh | back to summary |
|---|---|
| public ParOctasphereMesh(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static ParOctasphereMesh calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static ParOctasphereMesh. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static ParOctasphereMesh calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static ParOctasphereMesh. Returns a new
| |
| create | back to summary |
|---|---|
| protected ParOctasphereMesh create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static ParOctasphereMesh create() Returns a new | |
| create | back to summary |
|---|---|
| public static ParOctasphereMesh create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static ParOctasphereMesh. Returns a new
| |
| create | back to summary |
|---|---|
| public static ParOctasphereMesh. Create a
| |
| createSafe | back to summary |
|---|---|
| public static ParOctasphereMesh createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static ParOctasphereMesh. Like
| |
| indices | back to summary |
|---|---|
public ShortBuffer indices(int capacity)
| |
| indices | back to summary |
|---|---|
| public ParOctasphereMesh indices(ShortBuffer value) Sets the address of the specified | |
| malloc | back to summary |
|---|---|
| public static ParOctasphereMesh malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static ParOctasphereMesh. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static ParOctasphereMesh malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static ParOctasphereMesh. Returns a new
| |
| nindices | back to summary |
|---|---|
| public static ShortBuffer nindices(long struct, int capacity) Unsafe version of | |
| nindices | back to summary |
|---|---|
| public static void nindices(long struct, ShortBuffer value) Unsafe version of | |
| nnormals | back to summary |
|---|---|
| public static FloatBuffer nnormals(long struct, int capacity) Unsafe version of
| |
| nnormals | back to summary |
|---|---|
| public static void nnormals(long struct, FloatBuffer value) Unsafe version of | |
| nnum_indices | back to summary |
|---|---|
| public static int nnum_indices(long struct) Unsafe version of | |
| nnum_vertices | back to summary |
|---|---|
| public static int nnum_vertices(long struct) Unsafe version of | |
| normals | back to summary |
|---|---|
public FloatBuffer normals(int capacity)
| |
| normals | back to summary |
|---|---|
| public ParOctasphereMesh normals(FloatBuffer value) Sets the address of the specified | |
| npositions | back to summary |
|---|---|
| public static FloatBuffer npositions(long struct, int capacity) Unsafe version of | |
| npositions | back to summary |
|---|---|
| public static void npositions(long struct, FloatBuffer value) Unsafe version of | |
| ntexcoords | back to summary |
|---|---|
| public static FloatBuffer ntexcoords(long struct, int capacity) Unsafe version of
| |
| ntexcoords | back to summary |
|---|---|
| public static void ntexcoords(long struct, FloatBuffer value) Unsafe version of | |
| num_indices | back to summary |
|---|---|
public int num_indices()
| |
| num_vertices | back to summary |
|---|---|
public int num_vertices()
| |
| positions | back to summary |
|---|---|
public FloatBuffer positions(int capacity)
| |
| positions | back to summary |
|---|---|
| public ParOctasphereMesh positions(FloatBuffer value) Sets the address of the specified | |
| set | back to summary |
|---|---|
| public ParOctasphereMesh set(FloatBuffer positions, FloatBuffer normals, FloatBuffer texcoords, ShortBuffer indices) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public ParOctasphereMesh set(ParOctasphereMesh src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| texcoords | back to summary |
|---|---|
public FloatBuffer texcoords(int capacity)
| |
| texcoords | back to summary |
|---|---|
| public ParOctasphereMesh texcoords(FloatBuffer value) Sets the address of the specified | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
ParOctasphereMesh structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final ParOctasphereMesh |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected ParOctasphereMesh | |
| public ShortBuffer | |
| public ParOctasphereMesh. | |
| public FloatBuffer | |
| public ParOctasphereMesh. | |
| public int | |
| public int | |
| public FloatBuffer | |
| public ParOctasphereMesh. | |
| protected ParOctasphereMesh. | |
| public FloatBuffer | |
| public ParOctasphereMesh. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final ParOctasphereMesh ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| getElementFactory | back to summary |
|---|---|
| protected ParOctasphereMesh getElementFactory() Implements abstract org.
| |
| indices | back to summary |
|---|---|
public ShortBuffer indices(int capacity)
| |
| indices | back to summary |
|---|---|
| public ParOctasphereMesh. Sets the address of the specified | |
| normals | back to summary |
|---|---|
public FloatBuffer normals(int capacity)
| |
| normals | back to summary |
|---|---|
| public ParOctasphereMesh. Sets the address of the specified | |
| num_indices | back to summary |
|---|---|
public int num_indices()
| |
| num_vertices | back to summary |
|---|---|
public int num_vertices()
| |
| positions | back to summary |
|---|---|
public FloatBuffer positions(int capacity)
| |
| positions | back to summary |
|---|---|
| public ParOctasphereMesh. Sets the address of the specified | |
| self | back to summary |
|---|---|
| protected ParOctasphereMesh. Implements abstract org.
| |
| texcoords | back to summary |
|---|---|
public FloatBuffer texcoords(int capacity)
| |
| texcoords | back to summary |
|---|---|
| public ParOctasphereMesh. Sets the address of the specified | |