bgfx
Overview
What is it?
Supported rendering backends
Supported HMD
Supported Platforms
Supported Compilers
Supported Languages
Project Page
Contact
Internals
Customization
Debugging and Profiling
RenderDoc
IntelGPA
Other Debuggers and Profilers
SDL, GLFW, etc.
Todo
Getting Involved
Contributors
Repository visualization
Building
Dependencies
Getting Source
Quick Start
Prerequisites
Android
Linux
Native Client
Windows
Build
General
Windows
Xcode 5
Linux
WinRT / Windows Phone 8.1
Amalgamated Build
OculusVR Integration
Examples
00-helloworld
01-cubes
02-metaballs
03-raymarch
04-mesh
05-instancing
06-bump
07-callback
08-update
09-hdr
10-font
11-fontsdf
12-lod
13-stencil
14-shadowvolumes
15-shadowmaps-simple
16-shadowmaps
17-drawstress
60Hz
30Hz (test for browsers)
18-ibl
19-oit
20-nanovg
21-deferred
22-windows
23-vectordisplay
24-nbody
API Reference
General
Initialization and Shutdown
Updating
Reset
Frame
Debug
Debug Features
Debug Flags
Debug Text Display
Querying information
Renderer
Capabilities
Statistics
Head Mounted Display
Platform specific
Miscellaneous
Views
Draw
State
Debug
State
State Flags
Stencil
Stencil Flags
Scissor
Transform
Buffers
Textures
Submit
Compute
Buffers
Images
Dispatch
Resources
Shaders and Programs
Uniforms
Vertex Buffers
Index Buffers
Textures
Frame Buffers
Instance Buffer
Indirect Buffer
Tools
Shader Compiler (shaderc)
Texture Compiler (texturec)
Geometry Compiler (geometryc)
License
License (BSD 2-clause)
3rd Party Libraries
Blendish (MIT)
edtaa3 (MIT)
fcpp (BSD)
Forsyth Triangle Order Optimizer (Public Domain)
FreeType
glsl-optimizer (MIT)
NanoVG (ZLIB)
ImGui (MIT)
SDF (MIT)
stb (Public Domain)
Vertex Cache Optimised Index Buffer Compression (BSD)
Assets
bgfx
Docs
»
Index
B
B
bgfx::alloc (C++ function)
bgfx::allocInstanceDataBuffer (C++ function)
bgfx::allocTransform (C++ function)
bgfx::allocTransientIndexBuffer (C++ function)
bgfx::allocTransientVertexBuffer (C++ function)
bgfx::Attrib (C++ class)
bgfx::Attrib::Bitangent (C++ class)
bgfx::Attrib::Color0 (C++ class)
bgfx::Attrib::Color1 (C++ class)
bgfx::Attrib::Count (C++ class)
bgfx::Attrib::Enum (C++ type)
bgfx::Attrib::Indices (C++ class)
bgfx::Attrib::Normal (C++ class)
bgfx::Attrib::Position (C++ class)
bgfx::Attrib::Tangent (C++ class)
bgfx::Attrib::TexCoord0 (C++ class)
bgfx::Attrib::TexCoord1 (C++ class)
bgfx::Attrib::TexCoord2 (C++ class)
bgfx::Attrib::TexCoord3 (C++ class)
bgfx::Attrib::TexCoord4 (C++ class)
bgfx::Attrib::TexCoord5 (C++ class)
bgfx::Attrib::TexCoord6 (C++ class)
bgfx::Attrib::TexCoord7 (C++ class)
bgfx::Attrib::Weight (C++ class)
bgfx::calcTextureSize (C++ function)
bgfx::CallbackI (C++ class)
bgfx::CallbackI::cacheRead (C++ function)
bgfx::CallbackI::cacheReadSize (C++ function)
bgfx::CallbackI::cacheWrite (C++ function)
bgfx::CallbackI::captureBegin (C++ function)
bgfx::CallbackI::captureEnd (C++ function)
bgfx::CallbackI::captureFrame (C++ function)
bgfx::CallbackI::fatal (C++ function)
bgfx::CallbackI::screenShot (C++ function)
bgfx::CallbackI::traceVargs (C++ function)
bgfx::Caps (C++ class)
bgfx::Caps::deviceId (C++ member)
bgfx::Caps::formats (C++ member)
bgfx::Caps::GPU (C++ class)
bgfx::Caps::gpu (C++ member)
bgfx::Caps::maxDrawCalls (C++ member)
bgfx::Caps::maxFBAttachments (C++ member)
bgfx::Caps::maxTextureSize (C++ member)
bgfx::Caps::maxViews (C++ member)
bgfx::Caps::numGPUs (C++ member)
bgfx::Caps::rendererType (C++ member)
bgfx::Caps::supported (C++ member)
bgfx::Caps::vendorId (C++ member)
bgfx::checkAvailInstanceDataBuffer (C++ function)
bgfx::checkAvailTransientIndexBuffer (C++ function)
bgfx::checkAvailTransientVertexBuffer (C++ function)
bgfx::copy (C++ function)
bgfx::createDynamicIndexBuffer (C++ function)
,
[1]
bgfx::createDynamicVertexBuffer (C++ function)
,
[1]
bgfx::createFrameBuffer (C++ function)
,
[1]
,
[2]
bgfx::createIndexBuffer (C++ function)
bgfx::createIndirectBuffer (C++ function)
bgfx::createProgram (C++ function)
,
[1]
bgfx::createShader (C++ function)
bgfx::createTexture (C++ function)
bgfx::createTexture2D (C++ function)
,
[1]
bgfx::createTexture3D (C++ function)
bgfx::createTextureCube (C++ function)
bgfx::createUniform (C++ function)
bgfx::createVertexBuffer (C++ function)
bgfx::dbgTextClear (C++ function)
bgfx::dbgTextPrintf (C++ function)
bgfx::destroyDynamicIndexBuffer (C++ function)
bgfx::destroyDynamicVertexBuffer (C++ function)
bgfx::destroyFrameBuffer (C++ function)
bgfx::destroyIndexBuffer (C++ function)
bgfx::destroyIndirectBuffer (C++ function)
bgfx::destroyProgram (C++ function)
bgfx::destroyShader (C++ function)
bgfx::destroyTexture (C++ function)
bgfx::destroyUniform (C++ function)
bgfx::destroyVertexBuffer (C++ function)
bgfx::discard (C++ function)
bgfx::dispatch (C++ function)
,
[1]
bgfx::frame (C++ function)
bgfx::getCaps (C++ function)
bgfx::getHMD (C++ function)
bgfx::getRendererType (C++ function)
bgfx::getShaderUniforms (C++ function)
bgfx::getStats (C++ function)
bgfx::HMD (C++ class)
bgfx::HMD::deviceHeight (C++ member)
bgfx::HMD::deviceWidth (C++ member)
bgfx::HMD::Eye (C++ class)
bgfx::HMD::Eye::fov (C++ member)
bgfx::HMD::Eye::rotation (C++ member)
bgfx::HMD::Eye::translation (C++ member)
bgfx::HMD::Eye::viewOffset (C++ member)
bgfx::HMD::flags (C++ member)
bgfx::HMD::height (C++ member)
bgfx::HMD::width (C++ member)
bgfx::init (C++ function)
bgfx::makeRef (C++ function)
bgfx::Memory (C++ class)
bgfx::PlatformData (C++ class)
bgfx::PlatformData::backBuffer (C++ member)
bgfx::PlatformData::backBufferDS (C++ member)
bgfx::PlatformData::context (C++ member)
bgfx::PlatformData::ndt (C++ member)
bgfx::PlatformData::nwh (C++ member)
bgfx::RendererType (C++ class)
bgfx::RendererType::Count (C++ class)
bgfx::RendererType::Direct3D11 (C++ class)
bgfx::RendererType::Direct3D12 (C++ class)
bgfx::RendererType::Direct3D9 (C++ class)
bgfx::RendererType::Enum (C++ type)
bgfx::RendererType::Metal (C++ class)
bgfx::RendererType::Null (C++ class)
bgfx::RendererType::OpenGL (C++ class)
bgfx::RendererType::OpenGLES (C++ class)
bgfx::RendererType::Vulkan (C++ class)
bgfx::RenderFrame (C++ class)
bgfx::renderFrame (C++ function)
bgfx::reset (C++ function)
bgfx::saveScreenShot (C++ function)
bgfx::setBuffer (C++ function)
,
[1]
,
[2]
,
[3]
,
[4]
bgfx::setClearColor (C++ function)
,
[1]
,
[2]
bgfx::setDebug (C++ function)
bgfx::setImage (C++ function)
,
[1]
bgfx::setIndexBuffer (C++ function)
,
[1]
,
[2]
,
[3]
bgfx::setInstanceDataBuffer (C++ function)
,
[1]
,
[2]
bgfx::setMarker (C++ function)
bgfx::setPlatformData (C++ function)
bgfx::setScissor (C++ function)
,
[1]
bgfx::setState (C++ function)
bgfx::setStencil (C++ function)
bgfx::setTexture (C++ function)
,
[1]
bgfx::setTransform (C++ function)
,
[1]
bgfx::setVertexBuffer (C++ function)
,
[1]
,
[2]
,
[3]
,
[4]
bgfx::setViewClear (C++ function)
,
[1]
bgfx::setViewFrameBuffer (C++ function)
bgfx::setViewName (C++ function)
bgfx::setViewRect (C++ function)
bgfx::setViewRemap (C++ function)
bgfx::setViewScissor (C++ function)
bgfx::setViewSeq (C++ function)
bgfx::setViewTransform (C++ function)
bgfx::shutdown (C++ function)
bgfx::Stats (C++ class)
bgfx::Stats::cpuTime (C++ member)
bgfx::Stats::cpuTimerFreq (C++ member)
bgfx::Stats::gpuTime (C++ member)
bgfx::Stats::gpuTimerFreq (C++ member)
bgfx::submit (C++ function)
,
[1]
bgfx::TextureFormat (C++ class)
bgfx::touch (C++ function)
bgfx::UniformType (C++ class)
bgfx::updateDynamicIndexBuffer (C++ function)
bgfx::updateDynamicVertexBuffer (C++ function)
bgfx::updateTexture2D (C++ function)
bgfx::updateTexture3D (C++ function)
bgfx::updateTextureCube (C++ function)
bgfx::VertexDecl (C++ class)
bgfx::VertexDecl::add (C++ function)
bgfx::VertexDecl::begin (C++ function)
bgfx::VertexDecl::decode (C++ function)
bgfx::VertexDecl::end (C++ function)
bgfx::VertexDecl::getOffset (C++ function)
bgfx::VertexDecl::getSize (C++ function)
bgfx::VertexDecl::getStride (C++ function)
bgfx::VertexDecl::has (C++ function)
bgfx::VertexDecl::skip (C++ function)
BGFX_CAPS_BLEND_INDEPENDENT (C macro)
BGFX_CAPS_COMPUTE (C macro)
BGFX_CAPS_DRAW_INDIRECT (C macro)
BGFX_CAPS_FRAGMENT_DEPTH (C macro)
BGFX_CAPS_FRAGMENT_ORDERING (C macro)
BGFX_CAPS_HIDPI (C macro)
BGFX_CAPS_HMD (C macro)
BGFX_CAPS_INDEX32 (C macro)
BGFX_CAPS_INSTANCING (C macro)
BGFX_CAPS_RENDERER_MULTITHREADED (C macro)
BGFX_CAPS_SWAP_CHAIN (C macro)
BGFX_CAPS_TEXTURE_3D (C macro)
BGFX_CAPS_TEXTURE_COMPARE_ALL (C macro)
BGFX_CAPS_TEXTURE_COMPARE_LEQUAL (C macro)
BGFX_CAPS_VERTEX_ATTRIB_HALF (C macro)
BGFX_DEBUG_IFH (C macro)
BGFX_DEBUG_NONE (C macro)
BGFX_DEBUG_STATS (C macro)
BGFX_DEBUG_TEXT (C macro)
BGFX_DEBUG_WIREFRAME (C macro)
BGFX_HMD_DEVICE_RESOLUTION (C macro)
BGFX_HMD_NONE (C macro)
BGFX_HMD_RENDERING (C macro)
BGFX_PCI_ID_AMD (C macro)
BGFX_PCI_ID_INTEL (C macro)
BGFX_PCI_ID_NONE (C macro)
BGFX_PCI_ID_NVIDIA (C macro)
BGFX_PCI_ID_SOFTWARE_RASTERIZER (C macro)
BGFX_RESET_CAPTURE (C macro)
BGFX_RESET_FLIP_AFTER_RENDER (C macro)
BGFX_RESET_FLUSH_AFTER_RENDER (C macro)
BGFX_RESET_FULLSCREEN (C macro)
BGFX_RESET_HMD (C macro)
BGFX_RESET_HMD_DEBUG (C macro)
BGFX_RESET_HMD_RECENTER (C macro)
BGFX_RESET_MAXANISOTROPY (C macro)
BGFX_RESET_MSAA_X16 (C macro)
BGFX_RESET_MSAA_X2 (C macro)
BGFX_RESET_MSAA_X4 (C macro)
BGFX_RESET_MSAA_X8 (C macro)
BGFX_RESET_NONE (C macro)
BGFX_RESET_SRGB_BACKBUFFER (C macro)
BGFX_RESET_VSYNC (C macro)
BGFX_STATE_ALPHA_WRITE (C macro)
BGFX_STATE_DEFAULT (C macro)
BGFX_STATE_DEPTH_WRITE (C macro)
BGFX_STATE_RGB_WRITE (C macro)
BGFX_STENCIL_TEST_LESS (C macro)