Package org.lwjgl.util.meshoptimizer
Class MeshoptVertexCacheStatistics.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<MeshoptVertexCacheStatistics,MeshoptVertexCacheStatistics.Buffer>
-
- org.lwjgl.util.meshoptimizer.MeshoptVertexCacheStatistics.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<MeshoptVertexCacheStatistics>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- MeshoptVertexCacheStatistics
public static class MeshoptVertexCacheStatistics.Buffer extends org.lwjgl.system.StructBuffer<MeshoptVertexCacheStatistics,MeshoptVertexCacheStatistics.Buffer> implements org.lwjgl.system.NativeResource
An array ofMeshoptVertexCacheStatisticsstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatacmr()floatatvr()intvertices_transformed()intwarps_executed()
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newMeshoptVertexCacheStatistics.Bufferinstance backed by the specified container. 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 byMeshoptVertexCacheStatistics.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
vertices_transformed
public int vertices_transformed()
- Returns:
- the value of the
vertices_transformedfield.
-
warps_executed
public int warps_executed()
- Returns:
- the value of the
warps_executedfield.
-
acmr
public float acmr()
- Returns:
- the value of the
MeshoptVertexCacheStatistics.acmr()field.
-
atvr
public float atvr()
- Returns:
- the value of the
MeshoptVertexCacheStatistics.atvr()field.
-
-