Package org.lwjgl.bgfx
@NonnullDefault
package org.lwjgl.bgfx
Contains bindings to the bgfx library.
The bgfx documentation can be found online here. The API reference is available here.
Starting with LWJGL 3.2.1, builds of the bgfx tools are available for download via the LWJGL site's file browser. These tools are:
- Geometry Compiler (geometryc)
- Shader Compiler (shaderc)
- Texture Compiler (texturec)
- Texture Viewer (texturev)
The binaries are built from source, at the corresponding commit that was used to build the bgfx library. For example, the latest Windows x64 version of
shaderc can be found under nightly/windows/x64/bgfx-tools/
.
-
ClassDescriptionNative bindings to the C API of the bgfx library.Contains the function pointers loaded from the bgfx
SharedLibrary
.Custom allocator.Allocator virtual tableAn array ofBGFXAllocatorVtbl
structs.Frame buffer texture attachment info.An array ofBGFXAttachment
structs.Reads cached item.Reads cached item.Returns the size of a cached item.Returns the size of a cached item.Writes cached item.Writes cached item.Callback interface to implement application specific behavior.Callback virtual table.Renderer capabilities.GPU info.An array ofBGFXCapsGPU
structs.Renderer runtime limits.An array ofBGFXCapsLimits
structs.Called when video capture begins.Called when video capture begins.Called when video capture ends.Called when video capture ends.Captured frame.Captured frame.Encoder stats.An array ofBGFXEncoderStats
structs.If fatal code is notFATAL_DEBUG_CHECK
this callback is called on unrecoverable error.If fatal code is notFATAL_DEBUG_CHECK
this callback is called on unrecoverable error.Initialization parameters used byinit
.Configurable runtime limits parameters.Instance data buffer info.An array ofBGFXInstanceDataBuffer
structs.Internal data.An array ofBGFXMemory
structs.Native bindings to the C platform API of the bgfx library.Contains the function pointers loaded fromBGFX.getLibrary()
.Platform data.Profiler region begin.Profiler region begin.Profiler region begin with string literal name.Profiler region begin with string literal name.Profiler region end.Profiler region end.Allocates memory.Allocates memory.Instances of this class may be passed to themake_ref_release
method.Instances of this interface may be passed to themake_ref_release
method.Backbuffer resolution and reset parameters.Screenshot captured.Screenshot captured.Renderer statistics data.An array ofBGFXStats
structs.Texture info.An array ofBGFXTextureInfo
structs.Prints a debug message.Prints a debug message.Transform data.An array ofBGFXTransform
structs.Transient index buffer.An array ofBGFXTransientIndexBuffer
structs.Transient vertex buffer.An array ofBGFXTransientVertexBuffer
structs.Uniform info.An array ofBGFXUniformInfo
structs.Vertex layout.An array ofBGFXVertexLayout
structs.View stats.An array ofBGFXViewStats
structs.