struct bgfx_caps_t {
bgfx_renderer_type_t rendererType;
uint64_t supported;
uint16_t vendorId;
uint16_t deviceId;
bool homogeneousDepth;
bool originBottomLeft;
uint8_t numGPUs;
bgfx_caps_gpu_t gpu[4];
bgfx_caps_limits_t limits;
uint16_t formats[BGFX_TEXTURE_FORMAT_COUNT];
}
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DEVICEID
The struct member offsets. |
| public static final int | FORMATS
The struct member offsets. |
| public static final int | GPU
The struct member offsets. |
| public static final int | HOMOGENEOUSDEPTH
The struct member offsets. |
| public static final int | LIMITS
The struct member offsets. |
| public static final int | NUMGPUS
The struct member offsets. |
| public static final int | ORIGINBOTTOMLEFT
The struct member offsets. |
| public static final int | RENDERERTYPE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SUPPORTED
The struct member offsets. |
| public static final int | VENDORID
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | BGFXCaps(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| protected BGFXCaps | 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 BGFXCaps | |
| public static BGFXCaps | |
| public short | |
| public ShortBuffer | |
| public short | |
| public BGFXCapsGPU. | |
| public BGFXCapsGPU | |
| public boolean | |
| public BGFXCapsLimits | |
| public static short | |
| public static ShortBuffer | |
| public static short | |
| public static BGFXCapsGPU. | |
| public static BGFXCapsGPU | |
| public static boolean | |
| public static BGFXCapsLimits | |
| public static byte | |
| public static boolean | |
| public static int | |
| public static long | |
| public byte | |
| public static short | |
| public boolean | |
| public int | |
| public int | |
| public long | |
| public short | vendorId()
selected GPU vendor PCI id. One of: |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DEVICEID | back to summary |
|---|---|
| public static final int DEVICEID The struct member offsets. | |
| FORMATS | back to summary |
|---|---|
| public static final int FORMATS The struct member offsets. | |
| GPU | back to summary |
|---|---|
| public static final int GPU The struct member offsets. | |
| HOMOGENEOUSDEPTH | back to summary |
|---|---|
| public static final int HOMOGENEOUSDEPTH The struct member offsets. | |
| LIMITS | back to summary |
|---|---|
| public static final int LIMITS The struct member offsets. | |
| NUMGPUS | back to summary |
|---|---|
| public static final int NUMGPUS The struct member offsets. | |
| ORIGINBOTTOMLEFT | back to summary |
|---|---|
| public static final int ORIGINBOTTOMLEFT The struct member offsets. | |
| RENDERERTYPE | back to summary |
|---|---|
| public static final int RENDERERTYPE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SUPPORTED | back to summary |
|---|---|
| public static final int SUPPORTED The struct member offsets. | |
| VENDORID | back to summary |
|---|---|
| public static final int VENDORID The struct member offsets. | |
| BGFXCaps | back to summary |
|---|---|
| protected BGFXCaps(long address, ByteBuffer container) | |
| BGFXCaps | back to summary |
|---|---|
| public BGFXCaps(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| create | back to summary |
|---|---|
| protected BGFXCaps create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static BGFXCaps create(long address) Returns a new | |
| createSafe | back to summary |
|---|---|
| public static BGFXCaps createSafe(long address) Like
| |
| deviceId | back to summary |
|---|---|
| public short deviceId() selected GPU device id
| |
| formats | back to summary |
|---|---|
| public ShortBuffer formats() supported texture formats
| |
| formats | back to summary |
|---|---|
| public short formats(int index) supported texture formats
| |
| gpu | back to summary |
|---|---|
| public BGFXCapsGPU. enumerated GPUs
| |
| gpu | back to summary |
|---|---|
| public BGFXCapsGPU gpu(int index) enumerated GPUs
| |
| homogeneousDepth | back to summary |
|---|---|
| public boolean homogeneousDepth() true when NDC depth is in [-1, 1] range, otherwise its [0, 1]
| |
| limits | back to summary |
|---|---|
| public BGFXCapsLimits limits() renderer runtime limits
| |
| ndeviceId | back to summary |
|---|---|
| public static short ndeviceId(long struct) Unsafe version of | |
| nformats | back to summary |
|---|---|
| public static ShortBuffer nformats(long struct) Unsafe version of | |
| nformats | back to summary |
|---|---|
| public static short nformats(long struct, int index) Unsafe version of | |
| ngpu | back to summary |
|---|---|
| public static BGFXCapsGPU. Unsafe version of | |
| ngpu | back to summary |
|---|---|
| public static BGFXCapsGPU ngpu(long struct, int index) Unsafe version of | |
| nhomogeneousDepth | back to summary |
|---|---|
| public static boolean nhomogeneousDepth(long struct) Unsafe version of | |
| nlimits | back to summary |
|---|---|
| public static BGFXCapsLimits nlimits(long struct) Unsafe version of | |
| nnumGPUs | back to summary |
|---|---|
| public static byte nnumGPUs(long struct) Unsafe version of | |
| noriginBottomLeft | back to summary |
|---|---|
| public static boolean noriginBottomLeft(long struct) Unsafe version of | |
| nrendererType | back to summary |
|---|---|
| public static int nrendererType(long struct) Unsafe version of | |
| nsupported | back to summary |
|---|---|
| public static long nsupported(long struct) Unsafe version of | |
| numGPUs | back to summary |
|---|---|
| public byte numGPUs() number of enumerated GPUs
| |
| nvendorId | back to summary |
|---|---|
| public static short nvendorId(long struct) Unsafe version of | |
| originBottomLeft | back to summary |
|---|---|
| public boolean originBottomLeft() true when NDC origin is at bottom left
| |
| rendererType | back to summary |
|---|---|
| public int rendererType() renderer backend type. One of:
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| vendorId | back to summary | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public short vendorId() selected GPU vendor PCI id. One of:
| |||||||||