Class BGFXCaps

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<BGFXCaps>
org.lwjgl.bgfx.BGFXCaps
All Implemented Interfaces:
org.lwjgl.system.Pointer

public class BGFXCaps extends org.lwjgl.system.Struct<BGFXCaps>
Renderer capabilities.

Layout


 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];
 }
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.lwjgl.system.Struct

    org.lwjgl.system.Struct.StructValidation

    Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer

    org.lwjgl.system.Pointer.Default
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The struct alignment in bytes.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct size in bytes.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.

    Fields inherited from interface org.lwjgl.system.Pointer

    BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
  • Constructor Summary

    Constructors
    Constructor
    Description
    BGFXCaps(ByteBuffer container)
    Creates a BGFXCaps instance at the current position of the specified ByteBuffer container.
  • Method Summary

    Modifier and Type
    Method
    Description
    static BGFXCaps
    create(long address)
    Returns a new BGFXCaps instance for the specified memory address.
    static @Nullable BGFXCaps
    createSafe(long address)
    Like create, but returns null if address is NULL.
    short
    selected GPU device id
    supported texture formats
    short
    formats(int index)
    supported texture formats
    gpu()
    enumerated GPUs
    gpu(int index)
    enumerated GPUs
    boolean
    true when NDC depth is in [-1, 1] range, otherwise its [0, 1]
    renderer runtime limits
    static short
    ndeviceId(long struct)
    Unsafe version of deviceId().
    nformats(long struct)
    Unsafe version of formats().
    static short
    nformats(long struct, int index)
    Unsafe version of formats.
    ngpu(long struct)
    Unsafe version of gpu().
    ngpu(long struct, int index)
    Unsafe version of gpu.
    static boolean
    nhomogeneousDepth(long struct)
    Unsafe version of homogeneousDepth().
    nlimits(long struct)
    Unsafe version of limits().
    static byte
    nnumGPUs(long struct)
    Unsafe version of numGPUs().
    static boolean
    noriginBottomLeft(long struct)
    Unsafe version of originBottomLeft().
    static int
    nrendererType(long struct)
    Unsafe version of rendererType().
    static long
    nsupported(long struct)
    Unsafe version of supported().
    byte
    number of enumerated GPUs
    static short
    nvendorId(long struct)
    Unsafe version of vendorId().
    boolean
    true when NDC origin is at bottom left
    int
    renderer backend type.
    int
     
    long
    supported functionality.
    short
    selected GPU vendor PCI id.

    Methods inherited from class org.lwjgl.system.Struct

    clear, free, isNull, validate, validate

    Methods inherited from class org.lwjgl.system.Pointer.Default

    address, equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait