struct meshopt_VertexCacheStatistics {
unsigned int vertices_transformed;
unsigned int warps_executed;
float acmr;
float atvr;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | MeshoptVertexCacheStatistics.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ACMR
The struct member offsets. |
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | ATVR
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | VERTICES_TRANSFORMED
The struct member offsets. |
| public static final int | WARPS_EXECUTED
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | MeshoptVertexCacheStatistics(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public float | acmr()
transformed vertices / triangle count; best case 0.5, worst case 3.0, optimum depends on topology |
| public float | atvr()
transformed vertices / vertex count; best case 1.0, worst case 6.0, optimum is 1.0 (each vertex is transformed once) |
| public static MeshoptVertexCacheStatistics | |
| public static MeshoptVertexCacheStatistics. | calloc(int
the buffer capacity capacity)Returns a new |
| public static MeshoptVertexCacheStatistics | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static MeshoptVertexCacheStatistics. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected MeshoptVertexCacheStatistics | 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 MeshoptVertexCacheStatistics | |
| public static MeshoptVertexCacheStatistics | create(long address)
Returns a new |
| public static MeshoptVertexCacheStatistics. | create(int
the buffer capacity capacity)Returns a new |
| public static MeshoptVertexCacheStatistics. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static MeshoptVertexCacheStatistics | |
| public static MeshoptVertexCacheStatistics. | |
| public static MeshoptVertexCacheStatistics | |
| public static MeshoptVertexCacheStatistics. | malloc(int
the buffer capacity capacity)Returns a new |
| public static MeshoptVertexCacheStatistics | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static MeshoptVertexCacheStatistics. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static float | |
| public static float | |
| public static int | |
| public static int | |
| public int | |
| public int | |
| public int |
| ACMR | back to summary |
|---|---|
| public static final int ACMR The struct member offsets. | |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| ATVR | back to summary |
|---|---|
| public static final int ATVR The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VERTICES_TRANSFORMED | back to summary |
|---|---|
| public static final int VERTICES_TRANSFORMED The struct member offsets. | |
| WARPS_EXECUTED | back to summary |
|---|---|
| public static final int WARPS_EXECUTED The struct member offsets. | |
| MeshoptVertexCacheStatistics | back to summary |
|---|---|
| protected MeshoptVertexCacheStatistics(long address, ByteBuffer container) | |
| MeshoptVertexCacheStatistics | back to summary |
|---|---|
| public MeshoptVertexCacheStatistics(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| acmr | back to summary |
|---|---|
| public float acmr() transformed vertices / triangle count; best case 0.5, worst case 3.0, optimum depends on topology | |
| atvr | back to summary |
|---|---|
| public float atvr() transformed vertices / vertex count; best case 1.0, worst case 6.0, optimum is 1.0 (each vertex is transformed once) | |
| calloc | back to summary |
|---|---|
| public static MeshoptVertexCacheStatistics calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static MeshoptVertexCacheStatistics. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static MeshoptVertexCacheStatistics calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static MeshoptVertexCacheStatistics. Returns a new
| |
| create | back to summary |
|---|---|
| protected MeshoptVertexCacheStatistics create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static MeshoptVertexCacheStatistics create() Returns a new | |
| create | back to summary |
|---|---|
| public static MeshoptVertexCacheStatistics create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static MeshoptVertexCacheStatistics. Returns a new
| |
| create | back to summary |
|---|---|
| public static MeshoptVertexCacheStatistics. Create a
| |
| createSafe | back to summary |
|---|---|
| public static MeshoptVertexCacheStatistics createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static MeshoptVertexCacheStatistics. Like
| |
| malloc | back to summary |
|---|---|
| public static MeshoptVertexCacheStatistics malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static MeshoptVertexCacheStatistics. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static MeshoptVertexCacheStatistics malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static MeshoptVertexCacheStatistics. Returns a new
| |
| nacmr | back to summary |
|---|---|
| public static float nacmr(long struct) Unsafe version of | |
| natvr | back to summary |
|---|---|
| public static float natvr(long struct) Unsafe version of | |
| nvertices_transformed | back to summary |
|---|---|
| public static int nvertices_transformed(long struct) Unsafe version of | |
| nwarps_executed | back to summary |
|---|---|
| public static int nwarps_executed(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| vertices_transformed | back to summary |
|---|---|
public int vertices_transformed()
| |
| warps_executed | back to summary |
|---|---|
public int warps_executed()
| |
MeshoptVertexCacheStatistics structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final MeshoptVertexCacheStatistics |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public float | |
| public float | |
| protected MeshoptVertexCacheStatistics | |
| protected MeshoptVertexCacheStatistics. | |
| public int | |
| public int |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final MeshoptVertexCacheStatistics 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) | |
| acmr | back to summary |
|---|---|
public float acmr()
| |
| atvr | back to summary |
|---|---|
public float atvr()
| |
| getElementFactory | back to summary |
|---|---|
| protected MeshoptVertexCacheStatistics getElementFactory() Implements abstract org.
| |
| self | back to summary |
|---|---|
| protected MeshoptVertexCacheStatistics. Implements abstract org.
| |
| vertices_transformed | back to summary |
|---|---|
public int vertices_transformed()
| |
| warps_executed | back to summary |
|---|---|
public int warps_executed()
| |