Package org.lwjgl.bgfx
Class BGFXInternalData
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.bgfx.BGFXInternalData
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class BGFXInternalData extends org.lwjgl.system.StructInternal data.Layout
struct bgfx_internal_data_t {bgfx_caps_t*caps(); void *context(); }
-
-
Constructor Summary
Constructors Constructor Description BGFXInternalData(java.nio.ByteBuffer container)Creates aBGFXInternalDatainstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BGFXCapscaps()renderer capabilitieslongcontext()GL context, or D3D devicestatic BGFXInternalDatacreate(long address)Returns a newBGFXInternalDatainstance for the specified memory address.static BGFXInternalDatacreateSafe(long address)static BGFXCapsncaps(long struct)Unsafe version ofcaps().static longncontext(long struct)Unsafe version ofcontext().intsizeof()
-
-
-
Constructor Detail
-
BGFXInternalData
public BGFXInternalData(java.nio.ByteBuffer container)
Creates aBGFXInternalDatainstance at the current position of the specifiedByteBuffercontainer. 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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
caps
public BGFXCaps caps()
renderer capabilities
-
context
public long context()
GL context, or D3D device
-
create
public static BGFXInternalData create(long address)
Returns a newBGFXInternalDatainstance for the specified memory address.
-
createSafe
@Nullable public static BGFXInternalData createSafe(long address)
-
ncontext
public static long ncontext(long struct)
Unsafe version ofcontext().
-
-