struct meshopt_Bounds {
float center[3];
float radius;
float cone_apex[3];
float cone_axis[3];
float cone_cutoff;
char cone_axis_s8[3];
char cone_cutoff_s8;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | MeshoptBounds.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CENTER
The struct member offsets. |
| public static final int | CONE_APEX
The struct member offsets. |
| public static final int | CONE_AXIS
The struct member offsets. |
| public static final int | CONE_AXIS_S8
The struct member offsets. |
| public static final int | CONE_CUTOFF
The struct member offsets. |
| public static final int | CONE_CUTOFF_S8
The struct member offsets. |
| public static final int | RADIUS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | MeshoptBounds(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static MeshoptBounds | |
| public static MeshoptBounds. | calloc(int
the buffer capacity capacity)Returns a new |
| public static MeshoptBounds | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static MeshoptBounds. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public FloatBuffer | |
| public float | |
| public FloatBuffer | |
| public float | |
| public FloatBuffer | |
| public float | |
| public ByteBuffer | |
| public byte | cone_axis_s8(int index)
normal cone axis and cutoff, stored in 8-bit |
| public float | |
| public byte | |
| protected MeshoptBounds | 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 MeshoptBounds | |
| public static MeshoptBounds | |
| public static MeshoptBounds. | create(int
the buffer capacity capacity)Returns a new |
| public static MeshoptBounds. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static MeshoptBounds | |
| public static MeshoptBounds. | |
| public static MeshoptBounds | |
| public static MeshoptBounds. | malloc(int
the buffer capacity capacity)Returns a new |
| public static MeshoptBounds | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static MeshoptBounds. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static FloatBuffer | |
| public static float | |
| public static FloatBuffer | |
| public static float | |
| public static FloatBuffer | |
| public static float | |
| public static ByteBuffer | |
| public static byte | |
| public static float | |
| public static byte | |
| public static float | |
| public float | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| CENTER | back to summary |
|---|---|
| public static final int CENTER The struct member offsets. | |
| CONE_APEX | back to summary |
|---|---|
| public static final int CONE_APEX The struct member offsets. | |
| CONE_AXIS | back to summary |
|---|---|
| public static final int CONE_AXIS The struct member offsets. | |
| CONE_AXIS_S8 | back to summary |
|---|---|
| public static final int CONE_AXIS_S8 The struct member offsets. | |
| CONE_CUTOFF | back to summary |
|---|---|
| public static final int CONE_CUTOFF The struct member offsets. | |
| CONE_CUTOFF_S8 | back to summary |
|---|---|
| public static final int CONE_CUTOFF_S8 The struct member offsets. | |
| RADIUS | back to summary |
|---|---|
| public static final int RADIUS The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| MeshoptBounds | back to summary |
|---|---|
| protected MeshoptBounds(long address, ByteBuffer container) | |
| MeshoptBounds | back to summary |
|---|---|
| public MeshoptBounds(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static MeshoptBounds calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static MeshoptBounds. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static MeshoptBounds calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static MeshoptBounds. Returns a new
| |
| center | back to summary |
|---|---|
| public FloatBuffer center() bounding sphere, useful for frustum and occlusion culling
| |
| center | back to summary |
|---|---|
| public float center(int index) bounding sphere, useful for frustum and occlusion culling | |
| cone_apex | back to summary |
|---|---|
| public FloatBuffer cone_apex() normal cone, useful for backface culling
| |
| cone_apex | back to summary |
|---|---|
| public float cone_apex(int index) normal cone, useful for backface culling | |
| cone_axis | back to summary |
|---|---|
public FloatBuffer cone_axis()
| |
| cone_axis | back to summary |
|---|---|
public float cone_axis(int index)
| |
| cone_axis_s8 | back to summary |
|---|---|
| public ByteBuffer cone_axis_s8() normal cone axis and cutoff, stored in 8-bit
| |
| cone_axis_s8 | back to summary |
|---|---|
| public byte cone_axis_s8(int index) normal cone axis and cutoff, stored in 8-bit
| |
| cone_cutoff | back to summary |
|---|---|
| public float cone_cutoff()
| |
| cone_cutoff_s8 | back to summary |
|---|---|
public byte cone_cutoff_s8()
| |
| create | back to summary |
|---|---|
| protected MeshoptBounds create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static MeshoptBounds create() Returns a new | |
| create | back to summary |
|---|---|
| public static MeshoptBounds create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static MeshoptBounds. Returns a new
| |
| create | back to summary |
|---|---|
| public static MeshoptBounds. Create a
| |
| createSafe | back to summary |
|---|---|
| public static MeshoptBounds createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static MeshoptBounds. Like
| |
| malloc | back to summary |
|---|---|
| public static MeshoptBounds malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static MeshoptBounds. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static MeshoptBounds malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static MeshoptBounds. Returns a new
| |
| ncenter | back to summary |
|---|---|
| public static FloatBuffer ncenter(long struct) Unsafe version of | |
| ncenter | back to summary |
|---|---|
| public static float ncenter(long struct, int index) Unsafe version of | |
| ncone_apex | back to summary |
|---|---|
| public static FloatBuffer ncone_apex(long struct) Unsafe version of | |
| ncone_apex | back to summary |
|---|---|
| public static float ncone_apex(long struct, int index) Unsafe version of | |
| ncone_axis | back to summary |
|---|---|
| public static FloatBuffer ncone_axis(long struct) Unsafe version of | |
| ncone_axis | back to summary |
|---|---|
| public static float ncone_axis(long struct, int index) Unsafe version of | |
| ncone_axis_s8 | back to summary |
|---|---|
| public static ByteBuffer ncone_axis_s8(long struct) Unsafe version of | |
| ncone_axis_s8 | back to summary |
|---|---|
| public static byte ncone_axis_s8(long struct, int index) Unsafe version of | |
| ncone_cutoff | back to summary |
|---|---|
| public static float ncone_cutoff(long struct) Unsafe version of | |
| ncone_cutoff_s8 | back to summary |
|---|---|
| public static byte ncone_cutoff_s8(long struct) Unsafe version of | |
| nradius | back to summary |
|---|---|
| public static float nradius(long struct) Unsafe version of | |
| radius | back to summary |
|---|---|
public float radius()
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
MeshoptBounds structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final MeshoptBounds |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public FloatBuffer | |
| public float | |
| public FloatBuffer | |
| public float | |
| public FloatBuffer | |
| public float | |
| public ByteBuffer | |
| public byte | Returns: the value at the specified index of theMeshoptBounds#cone_axis_s8 field.
|
| public float | |
| public byte | |
| protected MeshoptBounds | |
| public float | |
| protected MeshoptBounds. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final MeshoptBounds 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) | |
| center | back to summary |
|---|---|
public FloatBuffer center()
| |
| center | back to summary |
|---|---|
public float center(int index)
| |
| cone_apex | back to summary |
|---|---|
public FloatBuffer cone_apex()
| |
| cone_apex | back to summary |
|---|---|
public float cone_apex(int index)
| |
| cone_axis | back to summary |
|---|---|
public FloatBuffer cone_axis()
| |
| cone_axis | back to summary |
|---|---|
public float cone_axis(int index)
| |
| cone_axis_s8 | back to summary |
|---|---|
public ByteBuffer cone_axis_s8()
| |
| cone_axis_s8 | back to summary |
|---|---|
public byte cone_axis_s8(int index)
| |
| cone_cutoff | back to summary |
|---|---|
public float cone_cutoff()
| |
| cone_cutoff_s8 | back to summary |
|---|---|
public byte cone_cutoff_s8()
| |
| getElementFactory | back to summary |
|---|---|
| protected MeshoptBounds getElementFactory() Implements abstract org.
| |
| radius | back to summary |
|---|---|
public float radius()
| |
| self | back to summary |
|---|---|
| protected MeshoptBounds. Implements abstract org.
| |