- BGFX_API_VERSIONenum uint BGFX_API_VERSION; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_BUFFER_ALLOW_RESIZEenum ushort BGFX_BUFFER_ALLOW_RESIZE; 
- Allow dynamic index/vertex buffer resize during update. 
- BGFX_BUFFER_COMPUTE_FORMAT_16X1enum ushort BGFX_BUFFER_COMPUTE_FORMAT_16X1; 
- BGFX_BUFFER_COMPUTE_FORMAT_16X2enum ushort BGFX_BUFFER_COMPUTE_FORMAT_16X2; 
- BGFX_BUFFER_COMPUTE_FORMAT_16X4enum ushort BGFX_BUFFER_COMPUTE_FORMAT_16X4; 
- BGFX_BUFFER_COMPUTE_FORMAT_32X1enum ushort BGFX_BUFFER_COMPUTE_FORMAT_32X1; 
- BGFX_BUFFER_COMPUTE_FORMAT_32X2enum ushort BGFX_BUFFER_COMPUTE_FORMAT_32X2; 
- BGFX_BUFFER_COMPUTE_FORMAT_32X4enum ushort BGFX_BUFFER_COMPUTE_FORMAT_32X4; 
- BGFX_BUFFER_COMPUTE_FORMAT_8X1enum ushort BGFX_BUFFER_COMPUTE_FORMAT_8X1; 
- BGFX_BUFFER_COMPUTE_FORMAT_8X2enum ushort BGFX_BUFFER_COMPUTE_FORMAT_8X2; 
- BGFX_BUFFER_COMPUTE_FORMAT_8X4enum ushort BGFX_BUFFER_COMPUTE_FORMAT_8X4; 
- BGFX_BUFFER_COMPUTE_FORMAT_MASKenum ushort BGFX_BUFFER_COMPUTE_FORMAT_MASK; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_BUFFER_COMPUTE_FORMAT_SHIFTenum ushort BGFX_BUFFER_COMPUTE_FORMAT_SHIFT; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_BUFFER_COMPUTE_READenum ushort BGFX_BUFFER_COMPUTE_READ; 
- Buffer will be read by shader. 
- BGFX_BUFFER_COMPUTE_READ_WRITEenum ushort BGFX_BUFFER_COMPUTE_READ_WRITE; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_BUFFER_COMPUTE_TYPE_FLOATenum ushort BGFX_BUFFER_COMPUTE_TYPE_FLOAT; 
- BGFX_BUFFER_COMPUTE_TYPE_INTenum ushort BGFX_BUFFER_COMPUTE_TYPE_INT; 
- BGFX_BUFFER_COMPUTE_TYPE_MASKenum ushort BGFX_BUFFER_COMPUTE_TYPE_MASK; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_BUFFER_COMPUTE_TYPE_SHIFTenum ushort BGFX_BUFFER_COMPUTE_TYPE_SHIFT; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_BUFFER_COMPUTE_TYPE_UINTenum ushort BGFX_BUFFER_COMPUTE_TYPE_UINT; 
- BGFX_BUFFER_COMPUTE_WRITEenum ushort BGFX_BUFFER_COMPUTE_WRITE; 
- Buffer will be used for writing. 
- BGFX_BUFFER_DRAW_INDIRECTenum ushort BGFX_BUFFER_DRAW_INDIRECT; 
- Buffer will be used for storing draw indirect commands. 
- BGFX_BUFFER_INDEX32enum ushort BGFX_BUFFER_INDEX32; 
- Index buffer contains 32-bit indices. 
- BGFX_BUFFER_NONEenum ushort BGFX_BUFFER_NONE; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_CAPS_ALPHA_TO_COVERAGEenum ulong BGFX_CAPS_ALPHA_TO_COVERAGE; 
- Alpha to coverage is supported. 
- BGFX_CAPS_BLEND_INDEPENDENTenum ulong BGFX_CAPS_BLEND_INDEPENDENT; 
- Blend independent is supported. 
- BGFX_CAPS_COMPUTEenum ulong BGFX_CAPS_COMPUTE; 
- Compute shaders are supported. 
- BGFX_CAPS_CONSERVATIVE_RASTERenum ulong BGFX_CAPS_CONSERVATIVE_RASTER; 
- Conservative rasterization is supported. 
- BGFX_CAPS_DRAW_INDIRECTenum ulong BGFX_CAPS_DRAW_INDIRECT; 
- Draw indirect is supported. 
- BGFX_CAPS_FORMAT_TEXTURE_2Denum uint BGFX_CAPS_FORMAT_TEXTURE_2D; 
- Texture format is supported. 
- BGFX_CAPS_FORMAT_TEXTURE_2D_EMULATEDenum uint BGFX_CAPS_FORMAT_TEXTURE_2D_EMULATED; 
- Texture format is emulated. 
- BGFX_CAPS_FORMAT_TEXTURE_2D_SRGBenum uint BGFX_CAPS_FORMAT_TEXTURE_2D_SRGB; 
- Texture as sRGB format is supported. 
- BGFX_CAPS_FORMAT_TEXTURE_3Denum uint BGFX_CAPS_FORMAT_TEXTURE_3D; 
- Texture format is supported. 
- BGFX_CAPS_FORMAT_TEXTURE_3D_EMULATEDenum uint BGFX_CAPS_FORMAT_TEXTURE_3D_EMULATED; 
- Texture format is emulated. 
- BGFX_CAPS_FORMAT_TEXTURE_3D_SRGBenum uint BGFX_CAPS_FORMAT_TEXTURE_3D_SRGB; 
- Texture as sRGB format is supported. 
- BGFX_CAPS_FORMAT_TEXTURE_CUBEenum uint BGFX_CAPS_FORMAT_TEXTURE_CUBE; 
- Texture format is supported. 
- BGFX_CAPS_FORMAT_TEXTURE_CUBE_EMULATEDenum uint BGFX_CAPS_FORMAT_TEXTURE_CUBE_EMULATED; 
- Texture format is emulated. 
- BGFX_CAPS_FORMAT_TEXTURE_CUBE_SRGBenum uint BGFX_CAPS_FORMAT_TEXTURE_CUBE_SRGB; 
- Texture as sRGB format is supported. 
- BGFX_CAPS_FORMAT_TEXTURE_FRAMEBUFFERenum uint BGFX_CAPS_FORMAT_TEXTURE_FRAMEBUFFER; 
- Texture format can be used as frame buffer. 
- BGFX_CAPS_FORMAT_TEXTURE_FRAMEBUFFER_MSAAenum uint BGFX_CAPS_FORMAT_TEXTURE_FRAMEBUFFER_MSAA; 
- Texture format can be used as MSAA frame buffer. 
- BGFX_CAPS_FORMAT_TEXTURE_IMAGE_READenum uint BGFX_CAPS_FORMAT_TEXTURE_IMAGE_READ; 
- Texture format can be used as image and read from. 
- BGFX_CAPS_FORMAT_TEXTURE_IMAGE_WRITEenum uint BGFX_CAPS_FORMAT_TEXTURE_IMAGE_WRITE; 
- Texture format can be used as image and written to. 
- BGFX_CAPS_FORMAT_TEXTURE_MIP_AUTOGENenum uint BGFX_CAPS_FORMAT_TEXTURE_MIP_AUTOGEN; 
- Texture format supports auto-generated mips. 
- BGFX_CAPS_FORMAT_TEXTURE_MSAAenum uint BGFX_CAPS_FORMAT_TEXTURE_MSAA; 
- Texture can be sampled as MSAA. 
- BGFX_CAPS_FORMAT_TEXTURE_NONEenum uint BGFX_CAPS_FORMAT_TEXTURE_NONE; 
- Texture format is not supported. 
- BGFX_CAPS_FORMAT_TEXTURE_VERTEXenum uint BGFX_CAPS_FORMAT_TEXTURE_VERTEX; 
- Texture format can be used from vertex shader. 
- BGFX_CAPS_FRAGMENT_DEPTHenum ulong BGFX_CAPS_FRAGMENT_DEPTH; 
- Fragment depth is available in fragment shader. 
- BGFX_CAPS_FRAGMENT_ORDERINGenum ulong BGFX_CAPS_FRAGMENT_ORDERING; 
- Fragment ordering is available in fragment shader. 
- BGFX_CAPS_GRAPHICS_DEBUGGERenum ulong BGFX_CAPS_GRAPHICS_DEBUGGER; 
- Graphics debugger is present. 
- BGFX_CAPS_HDR10enum ulong BGFX_CAPS_HDR10; 
- HDR10 rendering is supported. 
- BGFX_CAPS_HIDPIenum ulong BGFX_CAPS_HIDPI; 
- HiDPI rendering is supported. 
- BGFX_CAPS_IMAGE_RWenum ulong BGFX_CAPS_IMAGE_RW; 
- Image Read/Write is supported. 
- BGFX_CAPS_INDEX32enum ulong BGFX_CAPS_INDEX32; 
- 32-bit indices are supported. 
- BGFX_CAPS_INSTANCINGenum ulong BGFX_CAPS_INSTANCING; 
- BGFX_CAPS_OCCLUSION_QUERYenum ulong BGFX_CAPS_OCCLUSION_QUERY; 
- Occlusion query is supported. 
- BGFX_CAPS_RENDERER_MULTITHREADEDenum ulong BGFX_CAPS_RENDERER_MULTITHREADED; 
- Renderer is on separate thread. 
- BGFX_CAPS_SWAP_CHAINenum ulong BGFX_CAPS_SWAP_CHAIN; 
- Multiple windows are supported. 
- BGFX_CAPS_TEXTURE_2D_ARRAYenum ulong BGFX_CAPS_TEXTURE_2D_ARRAY; 
- 2D texture array is supported. 
- BGFX_CAPS_TEXTURE_3Denum ulong BGFX_CAPS_TEXTURE_3D; 
- 3D textures are supported. 
- BGFX_CAPS_TEXTURE_BLITenum ulong BGFX_CAPS_TEXTURE_BLIT; 
- Texture blit is supported. 
- BGFX_CAPS_TEXTURE_COMPARE_ALLenum ulong BGFX_CAPS_TEXTURE_COMPARE_ALL; 
- All texture compare modes are supported. 
- BGFX_CAPS_TEXTURE_COMPARE_LEQUALenum ulong BGFX_CAPS_TEXTURE_COMPARE_LEQUAL; 
- Texture compare less equal mode is supported. 
- BGFX_CAPS_TEXTURE_COMPARE_RESERVEDenum ulong BGFX_CAPS_TEXTURE_COMPARE_RESERVED; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_CAPS_TEXTURE_CUBE_ARRAYenum ulong BGFX_CAPS_TEXTURE_CUBE_ARRAY; 
- Cubemap texture array is supported. 
- BGFX_CAPS_TEXTURE_DIRECT_ACCESSenum ulong BGFX_CAPS_TEXTURE_DIRECT_ACCESS; 
- CPU direct access to GPU texture memory. 
- BGFX_CAPS_TEXTURE_READ_BACKenum ulong BGFX_CAPS_TEXTURE_READ_BACK; 
- Read-back texture is supported. 
- BGFX_CAPS_VERTEX_ATTRIB_HALFenum ulong BGFX_CAPS_VERTEX_ATTRIB_HALF; 
- Vertex attribute half-float is supported. 
- BGFX_CAPS_VERTEX_ATTRIB_UINT10enum ulong BGFX_CAPS_VERTEX_ATTRIB_UINT10; 
- Vertex attribute 10_10_10_2 is supported. 
- BGFX_CAPS_VERTEX_IDenum ulong BGFX_CAPS_VERTEX_ID; 
- Rendering with VertexID only is supported. 
- BGFX_CAPS_VIEWPORT_LAYER_ARRAYenum ulong BGFX_CAPS_VIEWPORT_LAYER_ARRAY; 
- Viewport layer is available in vertex shader. 
- BGFX_CLEAR_COLORenum ushort BGFX_CLEAR_COLOR; 
- BGFX_CLEAR_DEPTHenum ushort BGFX_CLEAR_DEPTH; 
- BGFX_CLEAR_DISCARD_COLOR_0enum ushort BGFX_CLEAR_DISCARD_COLOR_0; 
- Discard frame buffer attachment 0. 
- BGFX_CLEAR_DISCARD_COLOR_1enum ushort BGFX_CLEAR_DISCARD_COLOR_1; 
- Discard frame buffer attachment 1. 
- BGFX_CLEAR_DISCARD_COLOR_2enum ushort BGFX_CLEAR_DISCARD_COLOR_2; 
- Discard frame buffer attachment 2. 
- BGFX_CLEAR_DISCARD_COLOR_3enum ushort BGFX_CLEAR_DISCARD_COLOR_3; 
- Discard frame buffer attachment 3. 
- BGFX_CLEAR_DISCARD_COLOR_4enum ushort BGFX_CLEAR_DISCARD_COLOR_4; 
- Discard frame buffer attachment 4. 
- BGFX_CLEAR_DISCARD_COLOR_5enum ushort BGFX_CLEAR_DISCARD_COLOR_5; 
- Discard frame buffer attachment 5. 
- BGFX_CLEAR_DISCARD_COLOR_6enum ushort BGFX_CLEAR_DISCARD_COLOR_6; 
- Discard frame buffer attachment 6. 
- BGFX_CLEAR_DISCARD_COLOR_7enum ushort BGFX_CLEAR_DISCARD_COLOR_7; 
- Discard frame buffer attachment 7. 
- BGFX_CLEAR_DISCARD_COLOR_MASKenum ushort BGFX_CLEAR_DISCARD_COLOR_MASK; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_CLEAR_DISCARD_DEPTHenum ushort BGFX_CLEAR_DISCARD_DEPTH; 
- Discard frame buffer depth attachment. 
- BGFX_CLEAR_DISCARD_MASKenum ushort BGFX_CLEAR_DISCARD_MASK; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_CLEAR_DISCARD_STENCILenum ushort BGFX_CLEAR_DISCARD_STENCIL; 
- Discard frame buffer stencil attachment. 
- BGFX_CLEAR_NONEenum ushort BGFX_CLEAR_NONE; 
- BGFX_CLEAR_STENCILenum ushort BGFX_CLEAR_STENCIL; 
- BGFX_CUBE_MAP_NEGATIVE_Xenum ubyte BGFX_CUBE_MAP_NEGATIVE_X; 
- BGFX_CUBE_MAP_NEGATIVE_Yenum ubyte BGFX_CUBE_MAP_NEGATIVE_Y; 
- BGFX_CUBE_MAP_NEGATIVE_Zenum ubyte BGFX_CUBE_MAP_NEGATIVE_Z; 
- BGFX_CUBE_MAP_POSITIVE_Xenum ubyte BGFX_CUBE_MAP_POSITIVE_X; 
- BGFX_CUBE_MAP_POSITIVE_Yenum ubyte BGFX_CUBE_MAP_POSITIVE_Y; 
- BGFX_CUBE_MAP_POSITIVE_Zenum ubyte BGFX_CUBE_MAP_POSITIVE_Z; 
- BGFX_DEBUG_IFHenum uint BGFX_DEBUG_IFH; 
- Enable infinitely fast hardware test. No draw calls will be submitted to driver.
It's useful when profiling to quickly assess bottleneck between CPU and GPU. 
- BGFX_DEBUG_NONEenum uint BGFX_DEBUG_NONE; 
- BGFX_DEBUG_PROFILERenum uint BGFX_DEBUG_PROFILER; 
- BGFX_DEBUG_STATSenum uint BGFX_DEBUG_STATS; 
- Enable statistics display. 
- BGFX_DEBUG_TEXTenum uint BGFX_DEBUG_TEXT; 
- Enable debug text display. 
- BGFX_DEBUG_WIREFRAMEenum uint BGFX_DEBUG_WIREFRAME; 
- Enable wireframe for all primitives. 
- BGFX_DISCARD_ALLenum ubyte BGFX_DISCARD_ALL; 
- BGFX_DISCARD_BINDINGSenum ubyte BGFX_DISCARD_BINDINGS; 
- Discard texture sampler and buffer bindings. 
- BGFX_DISCARD_INDEX_BUFFERenum ubyte BGFX_DISCARD_INDEX_BUFFER; 
- BGFX_DISCARD_INSTANCE_DATAenum ubyte BGFX_DISCARD_INSTANCE_DATA; 
- BGFX_DISCARD_NONEenum ubyte BGFX_DISCARD_NONE; 
- * Rendering state discard. When state is preserved in submit, rendering states can be discarded
* on a finer grain.
*//// Preserve everything 
- BGFX_DISCARD_STATEenum ubyte BGFX_DISCARD_STATE; 
- Discard state and uniform bindings. 
- BGFX_DISCARD_TRANSFORMenum ubyte BGFX_DISCARD_TRANSFORM; 
- BGFX_DISCARD_VERTEX_STREAMSenum ubyte BGFX_DISCARD_VERTEX_STREAMS; 
- BGFX_PCI_ID_AMDenum ushort BGFX_PCI_ID_AMD; 
- BGFX_PCI_ID_INTELenum ushort BGFX_PCI_ID_INTEL; 
- BGFX_PCI_ID_NONEenum ushort BGFX_PCI_ID_NONE; 
- BGFX_PCI_ID_NVIDIAenum ushort BGFX_PCI_ID_NVIDIA; 
- BGFX_PCI_ID_SOFTWARE_RASTERIZERenum ushort BGFX_PCI_ID_SOFTWARE_RASTERIZER; 
- BGFX_RESET_CAPTUREenum uint BGFX_RESET_CAPTURE; 
- BGFX_RESET_DEPTH_CLAMPenum uint BGFX_RESET_DEPTH_CLAMP; 
- BGFX_RESET_FLIP_AFTER_RENDERenum uint BGFX_RESET_FLIP_AFTER_RENDER; 
- This flag specifies where flip occurs. Default behaviour is that flip occurs
before rendering new frame. This flag only has effect when BGFX_CONFIG_MULTITHREADED=0. 
- BGFX_RESET_FLUSH_AFTER_RENDERenum uint BGFX_RESET_FLUSH_AFTER_RENDER; 
- Flush rendering after submitting to GPU. 
- BGFX_RESET_FULLSCREENenum uint BGFX_RESET_FULLSCREEN; 
- BGFX_RESET_FULLSCREEN_MASKenum uint BGFX_RESET_FULLSCREEN_MASK; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_RESET_FULLSCREEN_SHIFTenum uint BGFX_RESET_FULLSCREEN_SHIFT; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_RESET_HDR10enum uint BGFX_RESET_HDR10; 
- BGFX_RESET_HIDPIenum uint BGFX_RESET_HIDPI; 
- BGFX_RESET_MAXANISOTROPYenum uint BGFX_RESET_MAXANISOTROPY; 
- Turn on/off max anisotropy. 
- BGFX_RESET_MSAA_MASKenum uint BGFX_RESET_MSAA_MASK; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_RESET_MSAA_SHIFTenum uint BGFX_RESET_MSAA_SHIFT; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_RESET_MSAA_X16enum uint BGFX_RESET_MSAA_X16; 
- BGFX_RESET_MSAA_X2enum uint BGFX_RESET_MSAA_X2; 
- BGFX_RESET_MSAA_X4enum uint BGFX_RESET_MSAA_X4; 
- BGFX_RESET_MSAA_X8enum uint BGFX_RESET_MSAA_X8; 
- BGFX_RESET_NONEenum uint BGFX_RESET_NONE; 
- BGFX_RESET_RESERVED_MASKenum uint BGFX_RESET_RESERVED_MASK; 
- BGFX_RESET_RESERVED_SHIFTenum uint BGFX_RESET_RESERVED_SHIFT; 
- BGFX_RESET_SRGB_BACKBUFFERenum uint BGFX_RESET_SRGB_BACKBUFFER; 
- BGFX_RESET_SUSPENDenum uint BGFX_RESET_SUSPEND; 
- BGFX_RESET_VSYNCenum uint BGFX_RESET_VSYNC; 
- BGFX_RESOLVE_AUTO_GEN_MIPSenum ubyte BGFX_RESOLVE_AUTO_GEN_MIPS; 
- Auto-generate mip maps on resolve. 
- BGFX_RESOLVE_NONEenum ubyte BGFX_RESOLVE_NONE; 
- BGFX_SAMPLER_BITS_MASKenum uint BGFX_SAMPLER_BITS_MASK; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_SAMPLER_BORDER_COLOR_MASKenum uint BGFX_SAMPLER_BORDER_COLOR_MASK; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_SAMPLER_BORDER_COLOR_SHIFTenum uint BGFX_SAMPLER_BORDER_COLOR_SHIFT; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_SAMPLER_COMPARE_ALWAYSenum uint BGFX_SAMPLER_COMPARE_ALWAYS; 
- Compare when sampling depth texture: always. 
- BGFX_SAMPLER_COMPARE_EQUALenum uint BGFX_SAMPLER_COMPARE_EQUAL; 
- Compare when sampling depth texture: equal. 
- BGFX_SAMPLER_COMPARE_GEQUALenum uint BGFX_SAMPLER_COMPARE_GEQUAL; 
- Compare when sampling depth texture: greater or equal. 
- BGFX_SAMPLER_COMPARE_GREATERenum uint BGFX_SAMPLER_COMPARE_GREATER; 
- Compare when sampling depth texture: greater. 
- BGFX_SAMPLER_COMPARE_LEQUALenum uint BGFX_SAMPLER_COMPARE_LEQUAL; 
- Compare when sampling depth texture: less or equal. 
- BGFX_SAMPLER_COMPARE_LESSenum uint BGFX_SAMPLER_COMPARE_LESS; 
- Compare when sampling depth texture: less. 
- BGFX_SAMPLER_COMPARE_MASKenum uint BGFX_SAMPLER_COMPARE_MASK; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_SAMPLER_COMPARE_NEVERenum uint BGFX_SAMPLER_COMPARE_NEVER; 
- Compare when sampling depth texture: never. 
- BGFX_SAMPLER_COMPARE_NOTEQUALenum uint BGFX_SAMPLER_COMPARE_NOTEQUAL; 
- Compare when sampling depth texture: not equal. 
- BGFX_SAMPLER_COMPARE_SHIFTenum uint BGFX_SAMPLER_COMPARE_SHIFT; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_SAMPLER_MAG_ANISOTROPICenum uint BGFX_SAMPLER_MAG_ANISOTROPIC; 
- Mag sampling mode: Anisotropic 
- BGFX_SAMPLER_MAG_MASKenum uint BGFX_SAMPLER_MAG_MASK; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_SAMPLER_MAG_POINTenum uint BGFX_SAMPLER_MAG_POINT; 
- BGFX_SAMPLER_MAG_SHIFTenum uint BGFX_SAMPLER_MAG_SHIFT; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_SAMPLER_MIN_ANISOTROPICenum uint BGFX_SAMPLER_MIN_ANISOTROPIC; 
- Min sampling mode: Anisotropic 
- BGFX_SAMPLER_MIN_MASKenum uint BGFX_SAMPLER_MIN_MASK; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_SAMPLER_MIN_POINTenum uint BGFX_SAMPLER_MIN_POINT; 
- BGFX_SAMPLER_MIN_SHIFTenum uint BGFX_SAMPLER_MIN_SHIFT; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_SAMPLER_MIP_MASKenum uint BGFX_SAMPLER_MIP_MASK; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_SAMPLER_MIP_POINTenum uint BGFX_SAMPLER_MIP_POINT; 
- BGFX_SAMPLER_MIP_SHIFTenum uint BGFX_SAMPLER_MIP_SHIFT; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_SAMPLER_NONEenum uint BGFX_SAMPLER_NONE; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_SAMPLER_POINTenum uint BGFX_SAMPLER_POINT; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_SAMPLER_RESERVED_MASKenum uint BGFX_SAMPLER_RESERVED_MASK; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_SAMPLER_RESERVED_SHIFTenum uint BGFX_SAMPLER_RESERVED_SHIFT; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_SAMPLER_SAMPLE_STENCILenum uint BGFX_SAMPLER_SAMPLE_STENCIL; 
- Sample stencil instead of depth. 
- BGFX_SAMPLER_UVW_BORDERenum uint BGFX_SAMPLER_UVW_BORDER; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_SAMPLER_UVW_CLAMPenum uint BGFX_SAMPLER_UVW_CLAMP; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_SAMPLER_UVW_MIRRORenum uint BGFX_SAMPLER_UVW_MIRROR; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_SAMPLER_U_BORDERenum uint BGFX_SAMPLER_U_BORDER; 
- BGFX_SAMPLER_U_CLAMPenum uint BGFX_SAMPLER_U_CLAMP; 
- BGFX_SAMPLER_U_MASKenum uint BGFX_SAMPLER_U_MASK; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_SAMPLER_U_MIRRORenum uint BGFX_SAMPLER_U_MIRROR; 
- Sampler flags.
+//// Wrap U mode: Mirro 
- BGFX_SAMPLER_U_SHIFTenum uint BGFX_SAMPLER_U_SHIFT; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_SAMPLER_V_BORDERenum uint BGFX_SAMPLER_V_BORDER; 
- BGFX_SAMPLER_V_CLAMPenum uint BGFX_SAMPLER_V_CLAMP; 
- BGFX_SAMPLER_V_MASKenum uint BGFX_SAMPLER_V_MASK; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_SAMPLER_V_MIRRORenum uint BGFX_SAMPLER_V_MIRROR; 
- BGFX_SAMPLER_V_SHIFTenum uint BGFX_SAMPLER_V_SHIFT; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_SAMPLER_W_BORDERenum uint BGFX_SAMPLER_W_BORDER; 
- BGFX_SAMPLER_W_CLAMPenum uint BGFX_SAMPLER_W_CLAMP; 
- BGFX_SAMPLER_W_MASKenum uint BGFX_SAMPLER_W_MASK; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_SAMPLER_W_MIRRORenum uint BGFX_SAMPLER_W_MIRROR; 
- BGFX_SAMPLER_W_SHIFTenum uint BGFX_SAMPLER_W_SHIFT; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_STATE_ALPHA_REF_MASKenum ulong BGFX_STATE_ALPHA_REF_MASK; 
- BGFX_STATE_ALPHA_REF_SHIFTenum ulong BGFX_STATE_ALPHA_REF_SHIFT; 
- Alpha reference value.
+//// Alpha reference bit shif 
- BGFX_STATE_BLEND_ALPHA_TO_COVERAGEenum ulong BGFX_STATE_BLEND_ALPHA_TO_COVERAGE; 
- Enable alpha to coverage. 
- BGFX_STATE_BLEND_DST_ALPHAenum ulong BGFX_STATE_BLEND_DST_ALPHA; 
- BGFX_STATE_BLEND_DST_COLORenum ulong BGFX_STATE_BLEND_DST_COLOR; 
- BGFX_STATE_BLEND_EQUATION_ADDenum ulong BGFX_STATE_BLEND_EQUATION_ADD; 
- * Use BGFX_STATE_BLEND_EQUATION(_equation) or BGFX_STATE_BLEND_EQUATION_SEPARATE(_equationRGB, _equationA)
* helper macros.
*//// Blend add: src + dst 
- BGFX_STATE_BLEND_EQUATION_MASKenum ulong BGFX_STATE_BLEND_EQUATION_MASK; 
- BGFX_STATE_BLEND_EQUATION_MAXenum ulong BGFX_STATE_BLEND_EQUATION_MAX; 
- Blend max: max(src, dst). 
- BGFX_STATE_BLEND_EQUATION_MINenum ulong BGFX_STATE_BLEND_EQUATION_MIN; 
- Blend min: min(src, dst). 
- BGFX_STATE_BLEND_EQUATION_REVSUBenum ulong BGFX_STATE_BLEND_EQUATION_REVSUB; 
- Blend reverse subtract: dst - src. 
- BGFX_STATE_BLEND_EQUATION_SHIFTenum ulong BGFX_STATE_BLEND_EQUATION_SHIFT; 
- BGFX_STATE_BLEND_EQUATION_SUBenum ulong BGFX_STATE_BLEND_EQUATION_SUB; 
- Blend subtract: src - dst. 
- BGFX_STATE_BLEND_FACTORenum ulong BGFX_STATE_BLEND_FACTOR; 
- BGFX_STATE_BLEND_INDEPENDENTenum ulong BGFX_STATE_BLEND_INDEPENDENT; 
- Enable blend independent. 
- BGFX_STATE_BLEND_INV_DST_ALPHAenum ulong BGFX_STATE_BLEND_INV_DST_ALPHA; 
- BGFX_STATE_BLEND_INV_DST_COLORenum ulong BGFX_STATE_BLEND_INV_DST_COLOR; 
- BGFX_STATE_BLEND_INV_FACTORenum ulong BGFX_STATE_BLEND_INV_FACTOR; 
- BGFX_STATE_BLEND_INV_SRC_ALPHAenum ulong BGFX_STATE_BLEND_INV_SRC_ALPHA; 
- BGFX_STATE_BLEND_INV_SRC_COLORenum ulong BGFX_STATE_BLEND_INV_SRC_COLOR; 
- BGFX_STATE_BLEND_MASKenum ulong BGFX_STATE_BLEND_MASK; 
- BGFX_STATE_BLEND_ONEenum ulong BGFX_STATE_BLEND_ONE; 
- BGFX_STATE_BLEND_SHIFTenum ulong BGFX_STATE_BLEND_SHIFT; 
- BGFX_STATE_BLEND_SRC_ALPHAenum ulong BGFX_STATE_BLEND_SRC_ALPHA; 
- BGFX_STATE_BLEND_SRC_ALPHA_SATenum ulong BGFX_STATE_BLEND_SRC_ALPHA_SAT; 
- f, f, f, 1; f = min(As, 1-Ad) 
- BGFX_STATE_BLEND_SRC_COLORenum ulong BGFX_STATE_BLEND_SRC_COLOR; 
- BGFX_STATE_BLEND_ZEROenum ulong BGFX_STATE_BLEND_ZERO; 
- * Use BGFX_STATE_BLEND_FUNC(_src, _dst) or BGFX_STATE_BLEND_FUNC_SEPARATE(_srcRGB, _dstRGB, _srcA, _dstA)
* helper macros.
*//// 0, 0, 0, 
- BGFX_STATE_CONSERVATIVE_RASTERenum ulong BGFX_STATE_CONSERVATIVE_RASTER; 
- Enable conservative rasterization. 
- BGFX_STATE_CULL_CCWenum ulong BGFX_STATE_CULL_CCW; 
- Cull counter-clockwise triangles. 
- BGFX_STATE_CULL_CWenum ulong BGFX_STATE_CULL_CW; 
- Cull state. When BGFX_STATE_CULL_* is not specified culling will be disabled.
+//// Cull clockwise triangles 
- BGFX_STATE_CULL_MASKenum ulong BGFX_STATE_CULL_MASK; 
- BGFX_STATE_CULL_SHIFTenum ulong BGFX_STATE_CULL_SHIFT; 
- BGFX_STATE_DEFAULTenum ulong BGFX_STATE_DEFAULT; 
- Default state is write to RGB, alpha, and depth with depth test less enabled, with clockwise
culling and MSAA (when writing into MSAA frame buffer, otherwise this flag is ignored). 
- BGFX_STATE_DEPTH_TEST_ALWAYSenum ulong BGFX_STATE_DEPTH_TEST_ALWAYS; 
- Enable depth test, always. 
- BGFX_STATE_DEPTH_TEST_EQUALenum ulong BGFX_STATE_DEPTH_TEST_EQUAL; 
- Enable depth test, equal. 
- BGFX_STATE_DEPTH_TEST_GEQUALenum ulong BGFX_STATE_DEPTH_TEST_GEQUAL; 
- Enable depth test, greater or equal. 
- BGFX_STATE_DEPTH_TEST_GREATERenum ulong BGFX_STATE_DEPTH_TEST_GREATER; 
- Enable depth test, greater. 
- BGFX_STATE_DEPTH_TEST_LEQUALenum ulong BGFX_STATE_DEPTH_TEST_LEQUAL; 
- Enable depth test, less or equal. 
- BGFX_STATE_DEPTH_TEST_LESSenum ulong BGFX_STATE_DEPTH_TEST_LESS; 
- Depth test state. When BGFX_STATE_DEPTH_ is not specified depth test will be disabled.
+//// Enable depth test, less 
- BGFX_STATE_DEPTH_TEST_MASKenum ulong BGFX_STATE_DEPTH_TEST_MASK; 
- Depth test state bit mask 
- BGFX_STATE_DEPTH_TEST_NEVERenum ulong BGFX_STATE_DEPTH_TEST_NEVER; 
- Enable depth test, never. 
- BGFX_STATE_DEPTH_TEST_NOTEQUALenum ulong BGFX_STATE_DEPTH_TEST_NOTEQUAL; 
- Enable depth test, not equal. 
- BGFX_STATE_DEPTH_TEST_SHIFTenum ulong BGFX_STATE_DEPTH_TEST_SHIFT; 
- Depth test state bit shift 
- BGFX_STATE_FRONT_CCWenum ulong BGFX_STATE_FRONT_CCW; 
- Front counter-clockwise (default is clockwise). 
- BGFX_STATE_LINEAAenum ulong BGFX_STATE_LINEAA; 
- Enable line AA rasterization. 
- BGFX_STATE_MASKenum ulong BGFX_STATE_MASK; 
- BGFX_STATE_MSAAenum ulong BGFX_STATE_MSAA; 
- * Enable MSAA write when writing into MSAA frame buffer.
* This flag is ignored when not writing into MSAA frame buffer.
*//// Enable MSAA rasterization 
- BGFX_STATE_NONEenum ulong BGFX_STATE_NONE; 
- BGFX_STATE_POINT_SIZE_MASKenum ulong BGFX_STATE_POINT_SIZE_MASK; 
- BGFX_STATE_POINT_SIZE_SHIFTenum ulong BGFX_STATE_POINT_SIZE_SHIFT; 
- Point size value.
+//// Point size bit shif 
- BGFX_STATE_PT_LINESenum ulong BGFX_STATE_PT_LINES; 
- BGFX_STATE_PT_LINESTRIPenum ulong BGFX_STATE_PT_LINESTRIP; 
- BGFX_STATE_PT_MASKenum ulong BGFX_STATE_PT_MASK; 
- BGFX_STATE_PT_POINTSenum ulong BGFX_STATE_PT_POINTS; 
- BGFX_STATE_PT_SHIFTenum ulong BGFX_STATE_PT_SHIFT; 
- BGFX_STATE_PT_TRISTRIPenum ulong BGFX_STATE_PT_TRISTRIP; 
- BGFX_STATE_RESERVED_MASKenum ulong BGFX_STATE_RESERVED_MASK; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_STATE_RESERVED_SHIFTenum ulong BGFX_STATE_RESERVED_SHIFT; 
- BGFX_STATE_WRITE_Aenum ulong BGFX_STATE_WRITE_A; 
- BGFX_STATE_WRITE_Benum ulong BGFX_STATE_WRITE_B; 
- BGFX_STATE_WRITE_Genum ulong BGFX_STATE_WRITE_G; 
- BGFX_STATE_WRITE_MASKenum ulong BGFX_STATE_WRITE_MASK; 
- BGFX_STATE_WRITE_Renum ulong BGFX_STATE_WRITE_R; 
- Memory release callback.
Color RGB/alpha/depth write. When it's not specified write will be disabled.
+//// Enable R write 
- BGFX_STATE_WRITE_RGBenum ulong BGFX_STATE_WRITE_RGB; 
- BGFX_STATE_WRITE_Zenum ulong BGFX_STATE_WRITE_Z; 
- BGFX_STENCIL_DEFAULTenum uint BGFX_STENCIL_DEFAULT; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_STENCIL_FUNC_REF_MASKenum uint BGFX_STENCIL_FUNC_REF_MASK; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_STENCIL_FUNC_REF_SHIFTenum uint BGFX_STENCIL_FUNC_REF_SHIFT; 
- BGFX_STENCIL_FUNC_RMASK_MASKenum uint BGFX_STENCIL_FUNC_RMASK_MASK; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_STENCIL_FUNC_RMASK_SHIFTenum uint BGFX_STENCIL_FUNC_RMASK_SHIFT; 
- BGFX_STENCIL_MASKenum uint BGFX_STENCIL_MASK; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_STENCIL_NONEenum uint BGFX_STENCIL_NONE; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_STENCIL_OP_FAIL_S_DECRenum uint BGFX_STENCIL_OP_FAIL_S_DECR; 
- BGFX_STENCIL_OP_FAIL_S_DECRSATenum uint BGFX_STENCIL_OP_FAIL_S_DECRSAT; 
- BGFX_STENCIL_OP_FAIL_S_INCRenum uint BGFX_STENCIL_OP_FAIL_S_INCR; 
- BGFX_STENCIL_OP_FAIL_S_INCRSATenum uint BGFX_STENCIL_OP_FAIL_S_INCRSAT; 
- BGFX_STENCIL_OP_FAIL_S_INVERTenum uint BGFX_STENCIL_OP_FAIL_S_INVERT; 
- BGFX_STENCIL_OP_FAIL_S_KEEPenum uint BGFX_STENCIL_OP_FAIL_S_KEEP; 
- BGFX_STENCIL_OP_FAIL_S_MASKenum uint BGFX_STENCIL_OP_FAIL_S_MASK; 
- Stencil operation fail bit mask 
- BGFX_STENCIL_OP_FAIL_S_REPLACEenum uint BGFX_STENCIL_OP_FAIL_S_REPLACE; 
- BGFX_STENCIL_OP_FAIL_S_SHIFTenum uint BGFX_STENCIL_OP_FAIL_S_SHIFT; 
- Stencil operation fail bit shift 
- BGFX_STENCIL_OP_FAIL_S_ZEROenum uint BGFX_STENCIL_OP_FAIL_S_ZERO; 
- BGFX_STENCIL_OP_FAIL_Z_DECRenum uint BGFX_STENCIL_OP_FAIL_Z_DECR; 
- BGFX_STENCIL_OP_FAIL_Z_DECRSATenum uint BGFX_STENCIL_OP_FAIL_Z_DECRSAT; 
- BGFX_STENCIL_OP_FAIL_Z_INCRenum uint BGFX_STENCIL_OP_FAIL_Z_INCR; 
- BGFX_STENCIL_OP_FAIL_Z_INCRSATenum uint BGFX_STENCIL_OP_FAIL_Z_INCRSAT; 
- BGFX_STENCIL_OP_FAIL_Z_INVERTenum uint BGFX_STENCIL_OP_FAIL_Z_INVERT; 
- BGFX_STENCIL_OP_FAIL_Z_KEEPenum uint BGFX_STENCIL_OP_FAIL_Z_KEEP; 
- BGFX_STENCIL_OP_FAIL_Z_MASKenum uint BGFX_STENCIL_OP_FAIL_Z_MASK; 
- Stencil operation depth fail bit mask 
- BGFX_STENCIL_OP_FAIL_Z_REPLACEenum uint BGFX_STENCIL_OP_FAIL_Z_REPLACE; 
- BGFX_STENCIL_OP_FAIL_Z_SHIFTenum uint BGFX_STENCIL_OP_FAIL_Z_SHIFT; 
- Stencil operation depth fail bit shift 
- BGFX_STENCIL_OP_FAIL_Z_ZEROenum uint BGFX_STENCIL_OP_FAIL_Z_ZERO; 
- BGFX_STENCIL_OP_PASS_Z_DECRenum uint BGFX_STENCIL_OP_PASS_Z_DECR; 
- BGFX_STENCIL_OP_PASS_Z_DECRSATenum uint BGFX_STENCIL_OP_PASS_Z_DECRSAT; 
- BGFX_STENCIL_OP_PASS_Z_INCRenum uint BGFX_STENCIL_OP_PASS_Z_INCR; 
- BGFX_STENCIL_OP_PASS_Z_INCRSATenum uint BGFX_STENCIL_OP_PASS_Z_INCRSAT; 
- BGFX_STENCIL_OP_PASS_Z_INVERTenum uint BGFX_STENCIL_OP_PASS_Z_INVERT; 
- BGFX_STENCIL_OP_PASS_Z_KEEPenum uint BGFX_STENCIL_OP_PASS_Z_KEEP; 
- BGFX_STENCIL_OP_PASS_Z_MASKenum uint BGFX_STENCIL_OP_PASS_Z_MASK; 
- Stencil operation depth pass bit mask 
- BGFX_STENCIL_OP_PASS_Z_REPLACEenum uint BGFX_STENCIL_OP_PASS_Z_REPLACE; 
- BGFX_STENCIL_OP_PASS_Z_SHIFTenum uint BGFX_STENCIL_OP_PASS_Z_SHIFT; 
- Stencil operation depth pass bit shift 
- BGFX_STENCIL_OP_PASS_Z_ZEROenum uint BGFX_STENCIL_OP_PASS_Z_ZERO; 
- BGFX_STENCIL_TEST_ALWAYSenum uint BGFX_STENCIL_TEST_ALWAYS; 
- Enable stencil test, always. 
- BGFX_STENCIL_TEST_EQUALenum uint BGFX_STENCIL_TEST_EQUAL; 
- Enable stencil test, equal. 
- BGFX_STENCIL_TEST_GEQUALenum uint BGFX_STENCIL_TEST_GEQUAL; 
- Enable stencil test, greater or equal. 
- BGFX_STENCIL_TEST_GREATERenum uint BGFX_STENCIL_TEST_GREATER; 
- Enable stencil test, greater. 
- BGFX_STENCIL_TEST_LEQUALenum uint BGFX_STENCIL_TEST_LEQUAL; 
- Enable stencil test, less or equal. 
- BGFX_STENCIL_TEST_LESSenum uint BGFX_STENCIL_TEST_LESS; 
- Enable stencil test, less. 
- BGFX_STENCIL_TEST_MASKenum uint BGFX_STENCIL_TEST_MASK; 
- BGFX_STENCIL_TEST_NEVERenum uint BGFX_STENCIL_TEST_NEVER; 
- Enable stencil test, never. 
- BGFX_STENCIL_TEST_NOTEQUALenum uint BGFX_STENCIL_TEST_NOTEQUAL; 
- Enable stencil test, not equal. 
- BGFX_STENCIL_TEST_SHIFTenum uint BGFX_STENCIL_TEST_SHIFT; 
- BGFX_TEXTURE_BLIT_DSTenum ulong BGFX_TEXTURE_BLIT_DST; 
- Texture will be used as blit destination. 
- BGFX_TEXTURE_COMPUTE_WRITEenum ulong BGFX_TEXTURE_COMPUTE_WRITE; 
- Texture will be used for compute write. 
- BGFX_TEXTURE_MSAA_SAMPLEenum ulong BGFX_TEXTURE_MSAA_SAMPLE; 
- Texture will be used for MSAA sampling. 
- BGFX_TEXTURE_NONEenum ulong BGFX_TEXTURE_NONE; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_TEXTURE_READ_BACKenum ulong BGFX_TEXTURE_READ_BACK; 
- Texture will be used for read back from GPU. 
- BGFX_TEXTURE_RTenum ulong BGFX_TEXTURE_RT; 
- BGFX_TEXTURE_RT_MASKenum ulong BGFX_TEXTURE_RT_MASK; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_TEXTURE_RT_MSAA_MASKenum ulong BGFX_TEXTURE_RT_MSAA_MASK; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_TEXTURE_RT_MSAA_SHIFTenum ulong BGFX_TEXTURE_RT_MSAA_SHIFT; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_TEXTURE_RT_MSAA_X16enum ulong BGFX_TEXTURE_RT_MSAA_X16; 
- Render target MSAAx16 mode. 
- BGFX_TEXTURE_RT_MSAA_X2enum ulong BGFX_TEXTURE_RT_MSAA_X2; 
- Render target MSAAx2 mode. 
- BGFX_TEXTURE_RT_MSAA_X4enum ulong BGFX_TEXTURE_RT_MSAA_X4; 
- Render target MSAAx4 mode. 
- BGFX_TEXTURE_RT_MSAA_X8enum ulong BGFX_TEXTURE_RT_MSAA_X8; 
- Render target MSAAx8 mode. 
- BGFX_TEXTURE_RT_SHIFTenum ulong BGFX_TEXTURE_RT_SHIFT; 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- BGFX_TEXTURE_RT_WRITE_ONLYenum ulong BGFX_TEXTURE_RT_WRITE_ONLY; 
- Render target will be used for writing 
- BGFX_TEXTURE_SRGBenum ulong BGFX_TEXTURE_SRGB;