struct bgfx_view_stats_t {
char name[256];
bgfx_view_id_t view;
int64_t cpuTimeBegin;
int64_t cpuTimeEnd;
int64_t gpuTimeBegin;
int64_t gpuTimeEnd;
uint32_t gpuFrameNum;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | BGFXViewStats.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CPUTIMEBEGIN
The struct member offsets. |
| public static final int | CPUTIMEEND
The struct member offsets. |
| public static final int | GPUFRAMENUM
The struct member offsets. |
| public static final int | GPUTIMEBEGIN
The struct member offsets. |
| public static final int | GPUTIMEEND
The struct member offsets. |
| public static final int | NAME
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | VIEW
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | BGFXViewStats(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public long | |
| protected BGFXViewStats | 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 BGFXViewStats | |
| public static BGFXViewStats. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static BGFXViewStats | |
| public static BGFXViewStats. | |
| public int | |
| public long | |
| public long | |
| public ByteBuffer | |
| public String | |
| public static long | |
| public static long | |
| public static int | |
| public static long | |
| public static long | |
| public static ByteBuffer | |
| public static String | |
| public static short | |
| public int | |
| public short |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| CPUTIMEBEGIN | back to summary |
|---|---|
| public static final int CPUTIMEBEGIN The struct member offsets. | |
| CPUTIMEEND | back to summary |
|---|---|
| public static final int CPUTIMEEND The struct member offsets. | |
| GPUFRAMENUM | back to summary |
|---|---|
| public static final int GPUFRAMENUM The struct member offsets. | |
| GPUTIMEBEGIN | back to summary |
|---|---|
| public static final int GPUTIMEBEGIN The struct member offsets. | |
| GPUTIMEEND | back to summary |
|---|---|
| public static final int GPUTIMEEND The struct member offsets. | |
| NAME | back to summary |
|---|---|
| public static final int NAME The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VIEW | back to summary |
|---|---|
| public static final int VIEW The struct member offsets. | |
| BGFXViewStats | back to summary |
|---|---|
| protected BGFXViewStats(long address, ByteBuffer container) | |
| BGFXViewStats | back to summary |
|---|---|
| public BGFXViewStats(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| cpuTimeBegin | back to summary |
|---|---|
| public long cpuTimeBegin() CPU (submit) begin time
| |
| cpuTimeEnd | back to summary |
|---|---|
| public long cpuTimeEnd() CPU (submit) end time
| |
| create | back to summary |
|---|---|
| protected BGFXViewStats create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static BGFXViewStats create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static BGFXViewStats. Create a
| |
| createSafe | back to summary |
|---|---|
| public static BGFXViewStats createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static BGFXViewStats. Like
| |
| gpuFrameNum | back to summary |
|---|---|
| public int gpuFrameNum() frame which generated
| |
| gpuTimeBegin | back to summary |
|---|---|
| public long gpuTimeBegin() GPU begin time
| |
| gpuTimeEnd | back to summary |
|---|---|
| public long gpuTimeEnd() GPU end time
| |
| name | back to summary |
|---|---|
| public ByteBuffer name() view name
| |
| nameString | back to summary |
|---|---|
| public String nameString() view name
| |
| ncpuTimeBegin | back to summary |
|---|---|
| public static long ncpuTimeBegin(long struct) Unsafe version of | |
| ncpuTimeEnd | back to summary |
|---|---|
| public static long ncpuTimeEnd(long struct) Unsafe version of | |
| ngpuFrameNum | back to summary |
|---|---|
| public static int ngpuFrameNum(long struct) Unsafe version of | |
| ngpuTimeBegin | back to summary |
|---|---|
| public static long ngpuTimeBegin(long struct) Unsafe version of | |
| ngpuTimeEnd | back to summary |
|---|---|
| public static long ngpuTimeEnd(long struct) Unsafe version of | |
| nname | back to summary |
|---|---|
| public static ByteBuffer nname(long struct) Unsafe version of | |
| nnameString | back to summary |
|---|---|
| public static String nnameString(long struct) Unsafe version of | |
| nview | back to summary |
|---|---|
| public static short nview(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| view | back to summary |
|---|---|
| public short view() view id
| |
BGFXViewStats structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final BGFXViewStats |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public long | |
| protected BGFXViewStats | |
| public int | |
| public long | |
| public long | |
| public ByteBuffer | |
| public String | |
| protected BGFXViewStats. | |
| public short |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final BGFXViewStats 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) | |
| cpuTimeBegin | back to summary |
|---|---|
public long cpuTimeBegin()
| |
| cpuTimeEnd | back to summary |
|---|---|
public long cpuTimeEnd()
| |
| getElementFactory | back to summary |
|---|---|
| protected BGFXViewStats getElementFactory() Implements abstract org.
| |
| gpuFrameNum | back to summary |
|---|---|
public int gpuFrameNum()
| |
| gpuTimeBegin | back to summary |
|---|---|
public long gpuTimeBegin()
| |
| gpuTimeEnd | back to summary |
|---|---|
public long gpuTimeEnd()
| |
| name | back to summary |
|---|---|
public ByteBuffer name()
| |
| nameString | back to summary |
|---|---|
public String nameString()
| |
| self | back to summary |
|---|---|
| protected BGFXViewStats. Implements abstract org.
| |
| view | back to summary |
|---|---|
public short view()
| |