struct meshopt_OverdrawStatistics {
unsigned int pixels_covered;
unsigned int pixels_shaded;
float overdraw;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | MeshoptOverdrawStatistics.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | OVERDRAW
The struct member offsets. |
| public static final int | PIXELS_COVERED
The struct member offsets. |
| public static final int | PIXELS_SHADED
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | MeshoptOverdrawStatistics(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static MeshoptOverdrawStatistics | |
| public static MeshoptOverdrawStatistics. | calloc(int
the buffer capacity capacity)Returns a new |
| public static MeshoptOverdrawStatistics | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static MeshoptOverdrawStatistics. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected MeshoptOverdrawStatistics | 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 MeshoptOverdrawStatistics | |
| public static MeshoptOverdrawStatistics | create(long address)
Returns a new |
| public static MeshoptOverdrawStatistics. | create(int
the buffer capacity capacity)Returns a new |
| public static MeshoptOverdrawStatistics. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static MeshoptOverdrawStatistics | |
| public static MeshoptOverdrawStatistics. | |
| public static MeshoptOverdrawStatistics | |
| public static MeshoptOverdrawStatistics. | malloc(int
the buffer capacity capacity)Returns a new |
| public static MeshoptOverdrawStatistics | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static MeshoptOverdrawStatistics. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static float | |
| public static int | |
| public static int | |
| public float | |
| public int | |
| public int | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| OVERDRAW | back to summary |
|---|---|
| public static final int OVERDRAW The struct member offsets. | |
| PIXELS_COVERED | back to summary |
|---|---|
| public static final int PIXELS_COVERED The struct member offsets. | |
| PIXELS_SHADED | back to summary |
|---|---|
| public static final int PIXELS_SHADED The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| MeshoptOverdrawStatistics | back to summary |
|---|---|
| protected MeshoptOverdrawStatistics(long address, ByteBuffer container) | |
| MeshoptOverdrawStatistics | back to summary |
|---|---|
| public MeshoptOverdrawStatistics(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static MeshoptOverdrawStatistics calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static MeshoptOverdrawStatistics. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static MeshoptOverdrawStatistics calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static MeshoptOverdrawStatistics. Returns a new
| |
| create | back to summary |
|---|---|
| protected MeshoptOverdrawStatistics create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static MeshoptOverdrawStatistics create() Returns a new | |
| create | back to summary |
|---|---|
| public static MeshoptOverdrawStatistics create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static MeshoptOverdrawStatistics. Returns a new
| |
| create | back to summary |
|---|---|
| public static MeshoptOverdrawStatistics. Create a
| |
| createSafe | back to summary |
|---|---|
| public static MeshoptOverdrawStatistics createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static MeshoptOverdrawStatistics. Like
| |
| malloc | back to summary |
|---|---|
| public static MeshoptOverdrawStatistics malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static MeshoptOverdrawStatistics. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static MeshoptOverdrawStatistics malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static MeshoptOverdrawStatistics. Returns a new
| |
| noverdraw | back to summary |
|---|---|
| public static float noverdraw(long struct) Unsafe version of | |
| npixels_covered | back to summary |
|---|---|
| public static int npixels_covered(long struct) Unsafe version of | |
| npixels_shaded | back to summary |
|---|---|
| public static int npixels_shaded(long struct) Unsafe version of | |
| overdraw | back to summary |
|---|---|
| public float overdraw() shaded pixels / covered pixels; best case 1.0 | |
| pixels_covered | back to summary |
|---|---|
public int pixels_covered()
| |
| pixels_shaded | back to summary |
|---|---|
public int pixels_shaded()
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
MeshoptOverdrawStatistics structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final MeshoptOverdrawStatistics |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected MeshoptOverdrawStatistics | |
| public float | |
| public int | |
| public int | |
| protected MeshoptOverdrawStatistics. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final MeshoptOverdrawStatistics 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 MeshoptOverdrawStatistics getElementFactory() Implements abstract org.
| |
| overdraw | back to summary |
|---|---|
public float overdraw()
| |
| pixels_covered | back to summary |
|---|---|
public int pixels_covered()
| |
| pixels_shaded | back to summary |
|---|---|
public int pixels_shaded()
| |
| self | back to summary |
|---|---|
| protected MeshoptOverdrawStatistics. Implements abstract org.
| |