Package org.lwjgl.bgfx
@NullMarked
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 ofBGFXAllocatorVtblstructs.Frame buffer texture attachment info.An array ofBGFXAttachmentstructs.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 ofBGFXCapsGPUstructs.Renderer runtime limits.An array ofBGFXCapsLimitsstructs.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 ofBGFXEncoderStatsstructs.If fatal code is notFATAL_DEBUG_CHECKthis callback is called on unrecoverable error.If fatal code is notFATAL_DEBUG_CHECKthis callback is called on unrecoverable error.Initialization parameters used byinit.Configurable runtime limits parameters.Instance data buffer info.An array ofBGFXInstanceDataBufferstructs.Internal data.An array ofBGFXMemorystructs.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_releasemethod.Instances of this interface may be passed to themake_ref_releasemethod.Backbuffer resolution and reset parameters.Screenshot captured.Screenshot captured.Renderer statistics data.An array ofBGFXStatsstructs.Texture info.An array ofBGFXTextureInfostructs.Prints a debug message.Prints a debug message.Transform data.An array ofBGFXTransformstructs.Transient index buffer.An array ofBGFXTransientIndexBufferstructs.Transient vertex buffer.An array ofBGFXTransientVertexBufferstructs.Uniform info.An array ofBGFXUniformInfostructs.Vertex layout.An array ofBGFXVertexLayoutstructs.View stats.An array ofBGFXViewStatsstructs.