Class BGFXInit

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<BGFXInit>
org.lwjgl.bgfx.BGFXInit
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class BGFXInit extends org.lwjgl.system.Struct<BGFXInit> implements org.lwjgl.system.NativeResource
Initialization parameters used by init.

Layout


 struct bgfx_init_t {
     bgfx_renderer_type_t type();
     uint16_t vendorId();
     uint16_t deviceId();
     uint64_t capabilities();
     bool debug();
     bool profile();
     bgfx_platform_data_t platformData();
     bgfx_resolution_t resolution();
     bgfx_init_limits_t limits();
     bgfx_callback_interface_t * callback();
     bgfx_allocator_interface_t * allocator();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • TYPE

      public static final int TYPE
      The struct member offsets.
    • VENDORID

      public static final int VENDORID
      The struct member offsets.
    • DEVICEID

      public static final int DEVICEID
      The struct member offsets.
    • CAPABILITIES

      public static final int CAPABILITIES
      The struct member offsets.
    • DEBUG

      public static final int DEBUG
      The struct member offsets.
    • PROFILE

      public static final int PROFILE
      The struct member offsets.
    • PLATFORMDATA

      public static final int PLATFORMDATA
      The struct member offsets.
    • RESOLUTION

      public static final int RESOLUTION
      The struct member offsets.
    • LIMITS

      public static final int LIMITS
      The struct member offsets.
    • CALLBACK

      public static final int CALLBACK
      The struct member offsets.
    • ALLOCATOR

      public static final int ALLOCATOR
      The struct member offsets.
  • Constructor Details

    • BGFXInit

      public BGFXInit(ByteBuffer container)
      Creates a BGFXInit instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details