bindbc.bgfx.types

Undocumented in source.

Members

Aliases

bgfx_view_id_t
alias bgfx_view_id_t = ushort
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Enums

bgfx_access_t
enum bgfx_access_t

Access mode enum.

bgfx_attrib_t
enum bgfx_attrib_t

Vertex attribute enum.

bgfx_attrib_type_t
enum bgfx_attrib_type_t

Vertex attribute type enum.

bgfx_backbuffer_ratio_t
enum bgfx_backbuffer_ratio_t

Backbuffer ratio enum.

bgfx_fatal_t
enum bgfx_fatal_t

Fatal error enum.

bgfx_occlusion_query_result_t
enum bgfx_occlusion_query_result_t

Occlusion query result.

bgfx_render_frame_t
enum bgfx_render_frame_t

Render frame enum.

bgfx_renderer_type_t
enum bgfx_renderer_type_t

Renderer backend type enum.

bgfx_texture_format_t
enum bgfx_texture_format_t

Texture format enum. Notation: RGBA16S ^ ^ ^ | | +-- [ ]Unorm | | Float | | Snorm | | Int | | Uint | +---- Number of bits per component +-------- Components @attention Availability depends on Caps (see: formats).

bgfx_topology_convert_t
enum bgfx_topology_convert_t

Topology conversion function.

bgfx_topology_sort_t
enum bgfx_topology_sort_t

Topology sort order.

bgfx_topology_t
enum bgfx_topology_t

Primitive topology.

bgfx_uniform_type_t
enum bgfx_uniform_type_t

Uniform type enum.

bgfx_view_mode_t
enum bgfx_view_mode_t

View mode sets draw call sort order.

Functions

BGFX_SAMPLER_BORDER_COLOR
uint BGFX_SAMPLER_BORDER_COLOR(uint v)
Undocumented in source. Be warned that the author may not have intended to support it.
BGFX_STATE_ALPHA_REF
ulong BGFX_STATE_ALPHA_REF(ulong v)
Undocumented in source. Be warned that the author may not have intended to support it.
BGFX_STATE_POINT_SIZE
ulong BGFX_STATE_POINT_SIZE(ulong v)
Undocumented in source. Be warned that the author may not have intended to support it.
BGFX_STENCIL_FUNC_REF
uint BGFX_STENCIL_FUNC_REF(uint v)
Undocumented in source. Be warned that the author may not have intended to support it.
BGFX_STENCIL_FUNC_RMASK
uint BGFX_STENCIL_FUNC_RMASK(uint v)
Undocumented in source. Be warned that the author may not have intended to support it.

Imports

va_list (from core.stdc.stdarg)
public import core.stdc.stdarg : va_list;
Undocumented in source.

Structs

bgfx_attachment_t
struct bgfx_attachment_t

Frame buffer texture attachment info.

bgfx_caps_gpu_t
struct bgfx_caps_gpu_t

GPU info.

bgfx_caps_limits_t
struct bgfx_caps_limits_t

Renderer capabilities limits.

bgfx_caps_t
struct bgfx_caps_t

Renderer capabilities.

bgfx_dynamic_index_buffer_handle_t
struct bgfx_dynamic_index_buffer_handle_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_dynamic_vertex_buffer_handle_t
struct bgfx_dynamic_vertex_buffer_handle_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_stats_t
struct bgfx_encoder_stats_t

Encoder stats.

bgfx_encoder_t
struct bgfx_encoder_t

Encoders are used for submitting draw calls from multiple threads. Only one encoder per thread should be used. Use bgfx::begin() to obtain an encoder for a thread.

bgfx_frame_buffer_handle_t
struct bgfx_frame_buffer_handle_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_index_buffer_handle_t
struct bgfx_index_buffer_handle_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_indirect_buffer_handle_t
struct bgfx_indirect_buffer_handle_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_init_limits_t
struct bgfx_init_limits_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_init_t
struct bgfx_init_t

Initialization parameters used by bgfx::init.

bgfx_instance_data_buffer_t
struct bgfx_instance_data_buffer_t

Instance data buffer info.

bgfx_internal_data_t
struct bgfx_internal_data_t

Internal data.

bgfx_memory_t
struct bgfx_memory_t

Memory must be obtained by calling bgfx::alloc, bgfx::copy, or bgfx::makeRef. @attention It is illegal to create this structure on stack and pass it to any bgfx API.

bgfx_occlusion_query_handle_t
struct bgfx_occlusion_query_handle_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_platform_data_t
struct bgfx_platform_data_t

Platform data.

bgfx_program_handle_t
struct bgfx_program_handle_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_resolution_t
struct bgfx_resolution_t

Backbuffer resolution and reset parameters.

bgfx_shader_handle_t
struct bgfx_shader_handle_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_stats_t
struct bgfx_stats_t

Renderer statistics data. @remarks All time values are high-resolution timestamps, while time frequencies define timestamps-per-second for that hardware.

bgfx_texture_handle_t
struct bgfx_texture_handle_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_texture_info_t
struct bgfx_texture_info_t

Texture info.

bgfx_transform_t
struct bgfx_transform_t

Transform data.

bgfx_transient_index_buffer_t
struct bgfx_transient_index_buffer_t

Transient index buffer.

bgfx_transient_vertex_buffer_t
struct bgfx_transient_vertex_buffer_t

Transient vertex buffer.

bgfx_uniform_handle_t
struct bgfx_uniform_handle_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_uniform_info_t
struct bgfx_uniform_info_t

Uniform info.

bgfx_vertex_buffer_handle_t
struct bgfx_vertex_buffer_handle_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_vertex_layout_handle_t
struct bgfx_vertex_layout_handle_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_vertex_layout_t
struct bgfx_vertex_layout_t

Vertex layout.

bgfx_view_stats_t
struct bgfx_view_stats_t

View stats.

Variables

BGFX_API_VERSION
enum 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_RESIZE
enum ushort BGFX_BUFFER_ALLOW_RESIZE;

Allow dynamic index/vertex buffer resize during update.

BGFX_BUFFER_COMPUTE_FORMAT_16X1
enum ushort BGFX_BUFFER_COMPUTE_FORMAT_16X1;

1 16-bit value

BGFX_BUFFER_COMPUTE_FORMAT_16X2
enum ushort BGFX_BUFFER_COMPUTE_FORMAT_16X2;

2 16-bit values

BGFX_BUFFER_COMPUTE_FORMAT_16X4
enum ushort BGFX_BUFFER_COMPUTE_FORMAT_16X4;

4 16-bit values

BGFX_BUFFER_COMPUTE_FORMAT_32X1
enum ushort BGFX_BUFFER_COMPUTE_FORMAT_32X1;

1 32-bit value

BGFX_BUFFER_COMPUTE_FORMAT_32X2
enum ushort BGFX_BUFFER_COMPUTE_FORMAT_32X2;

2 32-bit values

BGFX_BUFFER_COMPUTE_FORMAT_32X4
enum ushort BGFX_BUFFER_COMPUTE_FORMAT_32X4;

4 32-bit values

BGFX_BUFFER_COMPUTE_FORMAT_8X1
enum ushort BGFX_BUFFER_COMPUTE_FORMAT_8X1;

1 8-bit value

BGFX_BUFFER_COMPUTE_FORMAT_8X2
enum ushort BGFX_BUFFER_COMPUTE_FORMAT_8X2;

2 8-bit values

BGFX_BUFFER_COMPUTE_FORMAT_8X4
enum ushort BGFX_BUFFER_COMPUTE_FORMAT_8X4;

4 8-bit values

BGFX_BUFFER_COMPUTE_FORMAT_MASK
enum 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_SHIFT
enum 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_READ
enum ushort BGFX_BUFFER_COMPUTE_READ;

Buffer will be read by shader.

BGFX_BUFFER_COMPUTE_READ_WRITE
enum 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_FLOAT
enum ushort BGFX_BUFFER_COMPUTE_TYPE_FLOAT;

Type float.

BGFX_BUFFER_COMPUTE_TYPE_INT
enum ushort BGFX_BUFFER_COMPUTE_TYPE_INT;

Type int.

BGFX_BUFFER_COMPUTE_TYPE_MASK
enum 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_SHIFT
enum 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_UINT
enum ushort BGFX_BUFFER_COMPUTE_TYPE_UINT;

Type uint.

BGFX_BUFFER_COMPUTE_WRITE
enum ushort BGFX_BUFFER_COMPUTE_WRITE;

Buffer will be used for writing.

BGFX_BUFFER_DRAW_INDIRECT
enum ushort BGFX_BUFFER_DRAW_INDIRECT;

Buffer will be used for storing draw indirect commands.

BGFX_BUFFER_INDEX32
enum ushort BGFX_BUFFER_INDEX32;

Index buffer contains 32-bit indices.

BGFX_BUFFER_NONE
enum 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_COVERAGE
enum ulong BGFX_CAPS_ALPHA_TO_COVERAGE;

Alpha to coverage is supported.

BGFX_CAPS_BLEND_INDEPENDENT
enum ulong BGFX_CAPS_BLEND_INDEPENDENT;

Blend independent is supported.

BGFX_CAPS_COMPUTE
enum ulong BGFX_CAPS_COMPUTE;

Compute shaders are supported.

BGFX_CAPS_CONSERVATIVE_RASTER
enum ulong BGFX_CAPS_CONSERVATIVE_RASTER;

Conservative rasterization is supported.

BGFX_CAPS_DRAW_INDIRECT
enum ulong BGFX_CAPS_DRAW_INDIRECT;

Draw indirect is supported.

BGFX_CAPS_FORMAT_TEXTURE_2D
enum ushort BGFX_CAPS_FORMAT_TEXTURE_2D;

Texture format is supported.

BGFX_CAPS_FORMAT_TEXTURE_2D_EMULATED
enum ushort BGFX_CAPS_FORMAT_TEXTURE_2D_EMULATED;

Texture format is emulated.

BGFX_CAPS_FORMAT_TEXTURE_2D_SRGB
enum ushort BGFX_CAPS_FORMAT_TEXTURE_2D_SRGB;

Texture as sRGB format is supported.

BGFX_CAPS_FORMAT_TEXTURE_3D
enum ushort BGFX_CAPS_FORMAT_TEXTURE_3D;

Texture format is supported.

BGFX_CAPS_FORMAT_TEXTURE_3D_EMULATED
enum ushort BGFX_CAPS_FORMAT_TEXTURE_3D_EMULATED;

Texture format is emulated.

BGFX_CAPS_FORMAT_TEXTURE_3D_SRGB
enum ushort BGFX_CAPS_FORMAT_TEXTURE_3D_SRGB;

Texture as sRGB format is supported.

BGFX_CAPS_FORMAT_TEXTURE_CUBE
enum ushort BGFX_CAPS_FORMAT_TEXTURE_CUBE;

Texture format is supported.

BGFX_CAPS_FORMAT_TEXTURE_CUBE_EMULATED
enum ushort BGFX_CAPS_FORMAT_TEXTURE_CUBE_EMULATED;

Texture format is emulated.

BGFX_CAPS_FORMAT_TEXTURE_CUBE_SRGB
enum ushort BGFX_CAPS_FORMAT_TEXTURE_CUBE_SRGB;

Texture as sRGB format is supported.

BGFX_CAPS_FORMAT_TEXTURE_FRAMEBUFFER
enum ushort BGFX_CAPS_FORMAT_TEXTURE_FRAMEBUFFER;

Texture format can be used as frame buffer.

BGFX_CAPS_FORMAT_TEXTURE_FRAMEBUFFER_MSAA
enum ushort BGFX_CAPS_FORMAT_TEXTURE_FRAMEBUFFER_MSAA;

Texture format can be used as MSAA frame buffer.

BGFX_CAPS_FORMAT_TEXTURE_IMAGE
enum ushort BGFX_CAPS_FORMAT_TEXTURE_IMAGE;

Texture format can be used as image from compute shader.

BGFX_CAPS_FORMAT_TEXTURE_MIP_AUTOGEN
enum ushort BGFX_CAPS_FORMAT_TEXTURE_MIP_AUTOGEN;

Texture format supports auto-generated mips.

BGFX_CAPS_FORMAT_TEXTURE_MSAA
enum ushort BGFX_CAPS_FORMAT_TEXTURE_MSAA;

Texture can be sampled as MSAA.

BGFX_CAPS_FORMAT_TEXTURE_NONE
enum ushort BGFX_CAPS_FORMAT_TEXTURE_NONE;

Texture format is not supported.

BGFX_CAPS_FORMAT_TEXTURE_VERTEX
enum ushort BGFX_CAPS_FORMAT_TEXTURE_VERTEX;

Texture format can be used from vertex shader.

BGFX_CAPS_FRAGMENT_DEPTH
enum ulong BGFX_CAPS_FRAGMENT_DEPTH;

Fragment depth is accessible in fragment shader.

BGFX_CAPS_FRAGMENT_ORDERING
enum ulong BGFX_CAPS_FRAGMENT_ORDERING;

Fragment ordering is available in fragment shader.

BGFX_CAPS_FRAMEBUFFER_RW
enum ulong BGFX_CAPS_FRAMEBUFFER_RW;

Read/Write frame buffer attachments are supported.

BGFX_CAPS_GRAPHICS_DEBUGGER
enum ulong BGFX_CAPS_GRAPHICS_DEBUGGER;

Graphics debugger is present.

BGFX_CAPS_HDR10
enum ulong BGFX_CAPS_HDR10;

HDR10 rendering is supported.

BGFX_CAPS_HIDPI
enum ulong BGFX_CAPS_HIDPI;

HiDPI rendering is supported.

BGFX_CAPS_INDEX32
enum ulong BGFX_CAPS_INDEX32;

32-bit indices are supported.

BGFX_CAPS_INSTANCING
enum ulong BGFX_CAPS_INSTANCING;

Instancing is supported.

BGFX_CAPS_OCCLUSION_QUERY
enum ulong BGFX_CAPS_OCCLUSION_QUERY;

Occlusion query is supported.

BGFX_CAPS_RENDERER_MULTITHREADED
enum ulong BGFX_CAPS_RENDERER_MULTITHREADED;

Renderer is on separate thread.

BGFX_CAPS_RESERVED
enum ulong BGFX_CAPS_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_SWAP_CHAIN
enum ulong BGFX_CAPS_SWAP_CHAIN;

Multiple windows are supported.

BGFX_CAPS_TEXTURE_2D_ARRAY
enum ulong BGFX_CAPS_TEXTURE_2D_ARRAY;

2D texture array is supported.

BGFX_CAPS_TEXTURE_3D
enum ulong BGFX_CAPS_TEXTURE_3D;

3D textures are supported.

BGFX_CAPS_TEXTURE_BLIT
enum ulong BGFX_CAPS_TEXTURE_BLIT;

Texture blit is supported.

BGFX_CAPS_TEXTURE_COMPARE_ALL
enum ulong BGFX_CAPS_TEXTURE_COMPARE_ALL;

All texture compare modes are supported.

BGFX_CAPS_TEXTURE_COMPARE_LEQUAL
enum ulong BGFX_CAPS_TEXTURE_COMPARE_LEQUAL;

Texture compare less equal mode is supported.

BGFX_CAPS_TEXTURE_COMPARE_RESERVED
enum ulong BGFX_CAPS_TEXTURE_COMPARE_RESERVED;

All texture compare modes are supported.

BGFX_CAPS_TEXTURE_CUBE_ARRAY
enum ulong BGFX_CAPS_TEXTURE_CUBE_ARRAY;

Cubemap texture array is supported.

BGFX_CAPS_TEXTURE_DIRECT_ACCESS
enum ulong BGFX_CAPS_TEXTURE_DIRECT_ACCESS;

CPU direct access to GPU texture memory.

BGFX_CAPS_TEXTURE_READ_BACK
enum ulong BGFX_CAPS_TEXTURE_READ_BACK;

Read-back texture is supported.

BGFX_CAPS_VERTEX_ATTRIB_HALF
enum ulong BGFX_CAPS_VERTEX_ATTRIB_HALF;

Vertex attribute half-float is supported.

BGFX_CAPS_VERTEX_ATTRIB_UINT10
enum ulong BGFX_CAPS_VERTEX_ATTRIB_UINT10;

Vertex attribute 10_10_10_2 is supported.

BGFX_CAPS_VERTEX_ID
enum ulong BGFX_CAPS_VERTEX_ID;

Rendering with VertexID only is supported.

BGFX_CLEAR_COLOR
enum ushort BGFX_CLEAR_COLOR;

Clear color.

BGFX_CLEAR_DEPTH
enum ushort BGFX_CLEAR_DEPTH;

Clear depth.

BGFX_CLEAR_DISCARD_COLOR_0
enum ushort BGFX_CLEAR_DISCARD_COLOR_0;

Discard frame buffer attachment 0.

BGFX_CLEAR_DISCARD_COLOR_1
enum ushort BGFX_CLEAR_DISCARD_COLOR_1;

Discard frame buffer attachment 1.

BGFX_CLEAR_DISCARD_COLOR_2
enum ushort BGFX_CLEAR_DISCARD_COLOR_2;

Discard frame buffer attachment 2.

BGFX_CLEAR_DISCARD_COLOR_3
enum ushort BGFX_CLEAR_DISCARD_COLOR_3;

Discard frame buffer attachment 3.

BGFX_CLEAR_DISCARD_COLOR_4
enum ushort BGFX_CLEAR_DISCARD_COLOR_4;

Discard frame buffer attachment 4.

BGFX_CLEAR_DISCARD_COLOR_5
enum ushort BGFX_CLEAR_DISCARD_COLOR_5;

Discard frame buffer attachment 5.

BGFX_CLEAR_DISCARD_COLOR_6
enum ushort BGFX_CLEAR_DISCARD_COLOR_6;

Discard frame buffer attachment 6.

BGFX_CLEAR_DISCARD_COLOR_7
enum ushort BGFX_CLEAR_DISCARD_COLOR_7;

Discard frame buffer attachment 7.

BGFX_CLEAR_DISCARD_COLOR_MASK
enum 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_DEPTH
enum ushort BGFX_CLEAR_DISCARD_DEPTH;

Discard frame buffer depth attachment.

BGFX_CLEAR_DISCARD_MASK
enum 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_STENCIL
enum ushort BGFX_CLEAR_DISCARD_STENCIL;

Discard frame buffer stencil attachment.

BGFX_CLEAR_NONE
enum ushort BGFX_CLEAR_NONE;

No clear flags.

BGFX_CLEAR_STENCIL
enum ushort BGFX_CLEAR_STENCIL;

Clear stencil.

BGFX_CUBE_MAP_NEGATIVE_X
enum ubyte BGFX_CUBE_MAP_NEGATIVE_X;

Cubemap -x.

BGFX_CUBE_MAP_NEGATIVE_Y
enum ubyte BGFX_CUBE_MAP_NEGATIVE_Y;

Cubemap -y.

BGFX_CUBE_MAP_NEGATIVE_Z
enum ubyte BGFX_CUBE_MAP_NEGATIVE_Z;

Cubemap -z.

BGFX_CUBE_MAP_POSITIVE_X
enum ubyte BGFX_CUBE_MAP_POSITIVE_X;

Cubemap +x.

BGFX_CUBE_MAP_POSITIVE_Y
enum ubyte BGFX_CUBE_MAP_POSITIVE_Y;

Cubemap +y.

BGFX_CUBE_MAP_POSITIVE_Z
enum ubyte BGFX_CUBE_MAP_POSITIVE_Z;

Cubemap +z.

BGFX_DEBUG_IFH
enum 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_NONE
enum uint BGFX_DEBUG_NONE;

No debug.

BGFX_DEBUG_PROFILER
enum uint BGFX_DEBUG_PROFILER;

Enable profiler.

BGFX_DEBUG_STATS
enum uint BGFX_DEBUG_STATS;

Enable statistics display.

BGFX_DEBUG_TEXT
enum uint BGFX_DEBUG_TEXT;

Enable debug text display.

BGFX_DEBUG_WIREFRAME
enum uint BGFX_DEBUG_WIREFRAME;

Enable wireframe for all primitives.

BGFX_PCI_ID_AMD
enum ushort BGFX_PCI_ID_AMD;

AMD adapter.

BGFX_PCI_ID_INTEL
enum ushort BGFX_PCI_ID_INTEL;

Intel adapter.

BGFX_PCI_ID_NONE
enum ushort BGFX_PCI_ID_NONE;

Autoselect adapter.

BGFX_PCI_ID_NVIDIA
enum ushort BGFX_PCI_ID_NVIDIA;

nVidia adapter.

BGFX_PCI_ID_SOFTWARE_RASTERIZER
enum ushort BGFX_PCI_ID_SOFTWARE_RASTERIZER;

Software rasterizer.

BGFX_RESET_CAPTURE
enum uint BGFX_RESET_CAPTURE;

Begin screen capture.

BGFX_RESET_DEPTH_CLAMP
enum uint BGFX_RESET_DEPTH_CLAMP;

Enable depth clamp.

BGFX_RESET_FLIP_AFTER_RENDER
enum uint BGFX_RESET_FLIP_AFTER_RENDER;

This flag specifies where flip occurs. Default behavior is that flip occurs before rendering new frame. This flag only has effect when BGFX_CONFIG_MULTITHREADED=0.

BGFX_RESET_FLUSH_AFTER_RENDER
enum uint BGFX_RESET_FLUSH_AFTER_RENDER;

Flush rendering after submitting to GPU.

BGFX_RESET_FULLSCREEN
enum uint BGFX_RESET_FULLSCREEN;

Not supported yet.

BGFX_RESET_FULLSCREEN_MASK
enum 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_SHIFT
enum 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_HDR10
enum uint BGFX_RESET_HDR10;

Enable HDR10 rendering.

BGFX_RESET_HIDPI
enum uint BGFX_RESET_HIDPI;

Enable HiDPI rendering.

BGFX_RESET_MAXANISOTROPY
enum uint BGFX_RESET_MAXANISOTROPY;

Turn on/off max anisotropy.

BGFX_RESET_MSAA_MASK
enum 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_SHIFT
enum 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_X16
enum uint BGFX_RESET_MSAA_X16;

Enable 16x MSAA.

BGFX_RESET_MSAA_X2
enum uint BGFX_RESET_MSAA_X2;

Enable 2x MSAA.

BGFX_RESET_MSAA_X4
enum uint BGFX_RESET_MSAA_X4;

Enable 4x MSAA.

BGFX_RESET_MSAA_X8
enum uint BGFX_RESET_MSAA_X8;

Enable 8x MSAA.

BGFX_RESET_NONE
enum uint BGFX_RESET_NONE;

No reset flags.

BGFX_RESET_RESERVED_MASK
enum uint BGFX_RESET_RESERVED_MASK;

Internal bit mask

BGFX_RESET_RESERVED_SHIFT
enum uint BGFX_RESET_RESERVED_SHIFT;

Internal bit shift

BGFX_RESET_SRGB_BACKBUFFER
enum uint BGFX_RESET_SRGB_BACKBUFFER;

Enable sRGB backbuffer.

BGFX_RESET_SUSPEND
enum uint BGFX_RESET_SUSPEND;

Suspend rendering.

BGFX_RESET_VSYNC
enum uint BGFX_RESET_VSYNC;

Enable V-Sync.

BGFX_RESOLVE_AUTO_GEN_MIPS
enum ubyte BGFX_RESOLVE_AUTO_GEN_MIPS;

Auto-generate mip maps on resolve.

BGFX_RESOLVE_NONE
enum ubyte BGFX_RESOLVE_NONE;

No resolve flags.

BGFX_SAMPLER_BITS_MASK
enum 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_MASK
enum 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_SHIFT
enum 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_ALWAYS
enum uint BGFX_SAMPLER_COMPARE_ALWAYS;

Compare when sampling depth texture: always.

BGFX_SAMPLER_COMPARE_EQUAL
enum uint BGFX_SAMPLER_COMPARE_EQUAL;

Compare when sampling depth texture: equal.

BGFX_SAMPLER_COMPARE_GEQUAL
enum uint BGFX_SAMPLER_COMPARE_GEQUAL;

Compare when sampling depth texture: greater or equal.

BGFX_SAMPLER_COMPARE_GREATER
enum uint BGFX_SAMPLER_COMPARE_GREATER;

Compare when sampling depth texture: greater.

BGFX_SAMPLER_COMPARE_LEQUAL
enum uint BGFX_SAMPLER_COMPARE_LEQUAL;

Compare when sampling depth texture: less or equal.

BGFX_SAMPLER_COMPARE_LESS
enum uint BGFX_SAMPLER_COMPARE_LESS;

Compare when sampling depth texture: less.

BGFX_SAMPLER_COMPARE_MASK
enum 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_NEVER
enum uint BGFX_SAMPLER_COMPARE_NEVER;

Compare when sampling depth texture: never.

BGFX_SAMPLER_COMPARE_NOTEQUAL
enum uint BGFX_SAMPLER_COMPARE_NOTEQUAL;

Compare when sampling depth texture: not equal.

BGFX_SAMPLER_COMPARE_SHIFT
enum 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_ANISOTROPIC
enum uint BGFX_SAMPLER_MAG_ANISOTROPIC;

Mag sampling mode: Anisotropic

BGFX_SAMPLER_MAG_MASK
enum 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_POINT
enum uint BGFX_SAMPLER_MAG_POINT;

Mag sampling mode: Point

BGFX_SAMPLER_MAG_SHIFT
enum 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_ANISOTROPIC
enum uint BGFX_SAMPLER_MIN_ANISOTROPIC;

Min sampling mode: Anisotropic

BGFX_SAMPLER_MIN_MASK
enum 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_POINT
enum uint BGFX_SAMPLER_MIN_POINT;

Min sampling mode: Point

BGFX_SAMPLER_MIN_SHIFT
enum 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_MASK
enum 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_POINT
enum uint BGFX_SAMPLER_MIP_POINT;

Mip sampling mode: Point

BGFX_SAMPLER_MIP_SHIFT
enum 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_NONE
enum 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_POINT
enum 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_MASK
enum 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_SHIFT
enum 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_STENCIL
enum uint BGFX_SAMPLER_SAMPLE_STENCIL;

Sample stencil instead of depth.

BGFX_SAMPLER_UVW_BORDER
enum 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_CLAMP
enum 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_MIRROR
enum 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_BORDER
enum uint BGFX_SAMPLER_U_BORDER;

Wrap U mode: Border

BGFX_SAMPLER_U_CLAMP
enum uint BGFX_SAMPLER_U_CLAMP;

Wrap U mode: Clamp

BGFX_SAMPLER_U_MASK
enum 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_MIRROR
enum uint BGFX_SAMPLER_U_MIRROR;

Sampler flags. +//// Wrap U mode: Mirro

BGFX_SAMPLER_U_SHIFT
enum 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_BORDER
enum uint BGFX_SAMPLER_V_BORDER;

Wrap V mode: Border

BGFX_SAMPLER_V_CLAMP
enum uint BGFX_SAMPLER_V_CLAMP;

Wrap V mode: Clamp

BGFX_SAMPLER_V_MASK
enum 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_MIRROR
enum uint BGFX_SAMPLER_V_MIRROR;

Wrap V mode: Mirror

BGFX_SAMPLER_V_SHIFT
enum 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_BORDER
enum uint BGFX_SAMPLER_W_BORDER;

Wrap W mode: Border

BGFX_SAMPLER_W_CLAMP
enum uint BGFX_SAMPLER_W_CLAMP;

Wrap W mode: Clamp

BGFX_SAMPLER_W_MASK
enum 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_MIRROR
enum uint BGFX_SAMPLER_W_MIRROR;

Wrap W mode: Mirror

BGFX_SAMPLER_W_SHIFT
enum 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_MASK
enum ulong BGFX_STATE_ALPHA_REF_MASK;

Alpha reference bit mask

BGFX_STATE_ALPHA_REF_SHIFT
enum ulong BGFX_STATE_ALPHA_REF_SHIFT;

Alpha reference value. +//// Alpha reference bit shif

BGFX_STATE_BLEND_ALPHA_TO_COVERAGE
enum ulong BGFX_STATE_BLEND_ALPHA_TO_COVERAGE;

Enable alpha to coverage.

BGFX_STATE_BLEND_DST_ALPHA
enum ulong BGFX_STATE_BLEND_DST_ALPHA;

Ad, Ad, Ad, Ad

BGFX_STATE_BLEND_DST_COLOR
enum ulong BGFX_STATE_BLEND_DST_COLOR;

Rd, Gd, Bd, Ad

BGFX_STATE_BLEND_EQUATION_ADD
enum 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_MASK
enum ulong BGFX_STATE_BLEND_EQUATION_MASK;

Blend equation bit mask

BGFX_STATE_BLEND_EQUATION_MAX
enum ulong BGFX_STATE_BLEND_EQUATION_MAX;

Blend max: max(src, dst).

BGFX_STATE_BLEND_EQUATION_MIN
enum ulong BGFX_STATE_BLEND_EQUATION_MIN;

Blend min: min(src, dst).

BGFX_STATE_BLEND_EQUATION_REVSUB
enum ulong BGFX_STATE_BLEND_EQUATION_REVSUB;

Blend reverse subtract: dst - src.

BGFX_STATE_BLEND_EQUATION_SHIFT
enum ulong BGFX_STATE_BLEND_EQUATION_SHIFT;

Blend equation bit shift

BGFX_STATE_BLEND_EQUATION_SUB
enum ulong BGFX_STATE_BLEND_EQUATION_SUB;

Blend subtract: src - dst.

BGFX_STATE_BLEND_FACTOR
enum ulong BGFX_STATE_BLEND_FACTOR;

Blend factor

BGFX_STATE_BLEND_INDEPENDENT
enum ulong BGFX_STATE_BLEND_INDEPENDENT;

Enable blend independent.

BGFX_STATE_BLEND_INV_DST_ALPHA
enum ulong BGFX_STATE_BLEND_INV_DST_ALPHA;

1-Ad, 1-Ad, 1-Ad ,1-Ad

BGFX_STATE_BLEND_INV_DST_COLOR
enum ulong BGFX_STATE_BLEND_INV_DST_COLOR;

1-Rd, 1-Gd, 1-Bd, 1-Ad

BGFX_STATE_BLEND_INV_FACTOR
enum ulong BGFX_STATE_BLEND_INV_FACTOR;

1-Blend factor

BGFX_STATE_BLEND_INV_SRC_ALPHA
enum ulong BGFX_STATE_BLEND_INV_SRC_ALPHA;

1-As, 1-As, 1-As, 1-As

BGFX_STATE_BLEND_INV_SRC_COLOR
enum ulong BGFX_STATE_BLEND_INV_SRC_COLOR;

1-Rs, 1-Gs, 1-Bs, 1-As

BGFX_STATE_BLEND_MASK
enum ulong BGFX_STATE_BLEND_MASK;

Blend state bit mask

BGFX_STATE_BLEND_ONE
enum ulong BGFX_STATE_BLEND_ONE;

1, 1, 1, 1

BGFX_STATE_BLEND_SHIFT
enum ulong BGFX_STATE_BLEND_SHIFT;

Blend state bit shift

BGFX_STATE_BLEND_SRC_ALPHA
enum ulong BGFX_STATE_BLEND_SRC_ALPHA;

As, As, As, As

BGFX_STATE_BLEND_SRC_ALPHA_SAT
enum ulong BGFX_STATE_BLEND_SRC_ALPHA_SAT;

f, f, f, 1; f = min(As, 1-Ad)

BGFX_STATE_BLEND_SRC_COLOR
enum ulong BGFX_STATE_BLEND_SRC_COLOR;

Rs, Gs, Bs, As

BGFX_STATE_BLEND_ZERO
enum 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_RASTER
enum ulong BGFX_STATE_CONSERVATIVE_RASTER;

Enable conservative rasterization.

BGFX_STATE_CULL_CCW
enum ulong BGFX_STATE_CULL_CCW;

Cull counter-clockwise triangles.

BGFX_STATE_CULL_CW
enum ulong BGFX_STATE_CULL_CW;

Cull state. When BGFX_STATE_CULL_* is not specified culling will be disabled. +//// Cull clockwise triangles

BGFX_STATE_CULL_MASK
enum ulong BGFX_STATE_CULL_MASK;

Culling mode bit mask

BGFX_STATE_CULL_SHIFT
enum ulong BGFX_STATE_CULL_SHIFT;

Culling mode bit shift

BGFX_STATE_DEFAULT
enum 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_ALWAYS
enum ulong BGFX_STATE_DEPTH_TEST_ALWAYS;

Enable depth test, always.

BGFX_STATE_DEPTH_TEST_EQUAL
enum ulong BGFX_STATE_DEPTH_TEST_EQUAL;

Enable depth test, equal.

BGFX_STATE_DEPTH_TEST_GEQUAL
enum ulong BGFX_STATE_DEPTH_TEST_GEQUAL;

Enable depth test, greater or equal.

BGFX_STATE_DEPTH_TEST_GREATER
enum ulong BGFX_STATE_DEPTH_TEST_GREATER;

Enable depth test, greater.

BGFX_STATE_DEPTH_TEST_LEQUAL
enum ulong BGFX_STATE_DEPTH_TEST_LEQUAL;

Enable depth test, less or equal.

BGFX_STATE_DEPTH_TEST_LESS
enum 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_MASK
enum ulong BGFX_STATE_DEPTH_TEST_MASK;

Depth test state bit mask

BGFX_STATE_DEPTH_TEST_NEVER
enum ulong BGFX_STATE_DEPTH_TEST_NEVER;

Enable depth test, never.

BGFX_STATE_DEPTH_TEST_NOTEQUAL
enum ulong BGFX_STATE_DEPTH_TEST_NOTEQUAL;

Enable depth test, not equal.

BGFX_STATE_DEPTH_TEST_SHIFT
enum ulong BGFX_STATE_DEPTH_TEST_SHIFT;

Depth test state bit shift

BGFX_STATE_LINEAA
enum ulong BGFX_STATE_LINEAA;

Enable line AA rasterization.

BGFX_STATE_MASK
enum ulong BGFX_STATE_MASK;

State bit mask

BGFX_STATE_MSAA
enum 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_NONE
enum ulong BGFX_STATE_NONE;

No state.

BGFX_STATE_POINT_SIZE_MASK
enum ulong BGFX_STATE_POINT_SIZE_MASK;

Point size bit mask

BGFX_STATE_POINT_SIZE_SHIFT
enum ulong BGFX_STATE_POINT_SIZE_SHIFT;

Point size value. +//// Point size bit shif

BGFX_STATE_PT_LINES
enum ulong BGFX_STATE_PT_LINES;

Lines.

BGFX_STATE_PT_LINESTRIP
enum ulong BGFX_STATE_PT_LINESTRIP;

Line strip.

BGFX_STATE_PT_MASK
enum ulong BGFX_STATE_PT_MASK;

Primitive type bit mask

BGFX_STATE_PT_POINTS
enum ulong BGFX_STATE_PT_POINTS;

Points.

BGFX_STATE_PT_SHIFT
enum ulong BGFX_STATE_PT_SHIFT;

Primitive type bit shift

BGFX_STATE_PT_TRISTRIP
enum ulong BGFX_STATE_PT_TRISTRIP;

Tristrip.

BGFX_STATE_RESERVED_MASK
enum 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_SHIFT
enum ulong BGFX_STATE_RESERVED_SHIFT;

Do not use!

BGFX_STATE_WRITE_A
enum ulong BGFX_STATE_WRITE_A;

Enable alpha write.

BGFX_STATE_WRITE_B
enum ulong BGFX_STATE_WRITE_B;

Enable B write.

BGFX_STATE_WRITE_G
enum ulong BGFX_STATE_WRITE_G;

Enable G write.

BGFX_STATE_WRITE_MASK
enum ulong BGFX_STATE_WRITE_MASK;

Write all channels mask.

BGFX_STATE_WRITE_R
enum 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_RGB
enum ulong BGFX_STATE_WRITE_RGB;

Enable RGB write.

BGFX_STATE_WRITE_Z
enum ulong BGFX_STATE_WRITE_Z;

Enable depth write.

BGFX_STENCIL_DEFAULT
enum 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_MASK
enum 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_SHIFT
enum uint BGFX_STENCIL_FUNC_REF_SHIFT;

Set stencil ref value.

BGFX_STENCIL_FUNC_RMASK_MASK
enum 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_SHIFT
enum uint BGFX_STENCIL_FUNC_RMASK_SHIFT;

Set stencil rmask value.

BGFX_STENCIL_MASK
enum 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_NONE
enum 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_DECR
enum uint BGFX_STENCIL_OP_FAIL_S_DECR;

Decrement and wrap.

BGFX_STENCIL_OP_FAIL_S_DECRSAT
enum uint BGFX_STENCIL_OP_FAIL_S_DECRSAT;

Decrement and clamp.

BGFX_STENCIL_OP_FAIL_S_INCR
enum uint BGFX_STENCIL_OP_FAIL_S_INCR;

Increment and wrap.

BGFX_STENCIL_OP_FAIL_S_INCRSAT
enum uint BGFX_STENCIL_OP_FAIL_S_INCRSAT;

Increment and clamp.

BGFX_STENCIL_OP_FAIL_S_INVERT
enum uint BGFX_STENCIL_OP_FAIL_S_INVERT;

Invert.

BGFX_STENCIL_OP_FAIL_S_KEEP
enum uint BGFX_STENCIL_OP_FAIL_S_KEEP;

Keep.

BGFX_STENCIL_OP_FAIL_S_MASK
enum uint BGFX_STENCIL_OP_FAIL_S_MASK;

Stencil operation fail bit mask

BGFX_STENCIL_OP_FAIL_S_REPLACE
enum uint BGFX_STENCIL_OP_FAIL_S_REPLACE;

Replace.

BGFX_STENCIL_OP_FAIL_S_SHIFT
enum uint BGFX_STENCIL_OP_FAIL_S_SHIFT;

Stencil operation fail bit shift

BGFX_STENCIL_OP_FAIL_S_ZERO
enum uint BGFX_STENCIL_OP_FAIL_S_ZERO;

Zero.

BGFX_STENCIL_OP_FAIL_Z_DECR
enum uint BGFX_STENCIL_OP_FAIL_Z_DECR;

Decrement and wrap.

BGFX_STENCIL_OP_FAIL_Z_DECRSAT
enum uint BGFX_STENCIL_OP_FAIL_Z_DECRSAT;

Decrement and clamp.

BGFX_STENCIL_OP_FAIL_Z_INCR
enum uint BGFX_STENCIL_OP_FAIL_Z_INCR;

Increment and wrap.

BGFX_STENCIL_OP_FAIL_Z_INCRSAT
enum uint BGFX_STENCIL_OP_FAIL_Z_INCRSAT;

Increment and clamp.

BGFX_STENCIL_OP_FAIL_Z_INVERT
enum uint BGFX_STENCIL_OP_FAIL_Z_INVERT;

Invert.

BGFX_STENCIL_OP_FAIL_Z_KEEP
enum uint BGFX_STENCIL_OP_FAIL_Z_KEEP;

Keep.

BGFX_STENCIL_OP_FAIL_Z_MASK
enum uint BGFX_STENCIL_OP_FAIL_Z_MASK;

Stencil operation depth fail bit mask

BGFX_STENCIL_OP_FAIL_Z_REPLACE
enum uint BGFX_STENCIL_OP_FAIL_Z_REPLACE;

Replace.

BGFX_STENCIL_OP_FAIL_Z_SHIFT
enum uint BGFX_STENCIL_OP_FAIL_Z_SHIFT;

Stencil operation depth fail bit shift

BGFX_STENCIL_OP_FAIL_Z_ZERO
enum uint BGFX_STENCIL_OP_FAIL_Z_ZERO;

Zero.

BGFX_STENCIL_OP_PASS_Z_DECR
enum uint BGFX_STENCIL_OP_PASS_Z_DECR;

Decrement and wrap.

BGFX_STENCIL_OP_PASS_Z_DECRSAT
enum uint BGFX_STENCIL_OP_PASS_Z_DECRSAT;

Decrement and clamp.

BGFX_STENCIL_OP_PASS_Z_INCR
enum uint BGFX_STENCIL_OP_PASS_Z_INCR;

Increment and wrap.

BGFX_STENCIL_OP_PASS_Z_INCRSAT
enum uint BGFX_STENCIL_OP_PASS_Z_INCRSAT;

Increment and clamp.

BGFX_STENCIL_OP_PASS_Z_INVERT
enum uint BGFX_STENCIL_OP_PASS_Z_INVERT;

Invert.

BGFX_STENCIL_OP_PASS_Z_KEEP
enum uint BGFX_STENCIL_OP_PASS_Z_KEEP;

Keep.

BGFX_STENCIL_OP_PASS_Z_MASK
enum uint BGFX_STENCIL_OP_PASS_Z_MASK;

Stencil operation depth pass bit mask

BGFX_STENCIL_OP_PASS_Z_REPLACE
enum uint BGFX_STENCIL_OP_PASS_Z_REPLACE;

Replace.

BGFX_STENCIL_OP_PASS_Z_SHIFT
enum uint BGFX_STENCIL_OP_PASS_Z_SHIFT;

Stencil operation depth pass bit shift

BGFX_STENCIL_OP_PASS_Z_ZERO
enum uint BGFX_STENCIL_OP_PASS_Z_ZERO;

Zero.

BGFX_STENCIL_TEST_ALWAYS
enum uint BGFX_STENCIL_TEST_ALWAYS;

Enable stencil test, always.

BGFX_STENCIL_TEST_EQUAL
enum uint BGFX_STENCIL_TEST_EQUAL;

Enable stencil test, equal.

BGFX_STENCIL_TEST_GEQUAL
enum uint BGFX_STENCIL_TEST_GEQUAL;

Enable stencil test, greater or equal.

BGFX_STENCIL_TEST_GREATER
enum uint BGFX_STENCIL_TEST_GREATER;

Enable stencil test, greater.

BGFX_STENCIL_TEST_LEQUAL
enum uint BGFX_STENCIL_TEST_LEQUAL;

Enable stencil test, less or equal.

BGFX_STENCIL_TEST_LESS
enum uint BGFX_STENCIL_TEST_LESS;

Enable stencil test, less.

BGFX_STENCIL_TEST_MASK
enum uint BGFX_STENCIL_TEST_MASK;

Stencil test bit mask

BGFX_STENCIL_TEST_NEVER
enum uint BGFX_STENCIL_TEST_NEVER;

Enable stencil test, never.

BGFX_STENCIL_TEST_NOTEQUAL
enum uint BGFX_STENCIL_TEST_NOTEQUAL;

Enable stencil test, not equal.

BGFX_STENCIL_TEST_SHIFT
enum uint BGFX_STENCIL_TEST_SHIFT;

Stencil test bit shift

BGFX_TEXTURE_BLIT_DST
enum ulong BGFX_TEXTURE_BLIT_DST;

Texture will be used as blit destination.

BGFX_TEXTURE_COMPUTE_WRITE
enum ulong BGFX_TEXTURE_COMPUTE_WRITE;

Texture will be used for compute write.

BGFX_TEXTURE_MSAA_SAMPLE
enum ulong BGFX_TEXTURE_MSAA_SAMPLE;

Texture will be used for MSAA sampling.

BGFX_TEXTURE_NONE
enum 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_BACK
enum ulong BGFX_TEXTURE_READ_BACK;

Texture will be used for read back from GPU.

BGFX_TEXTURE_RT
enum ulong BGFX_TEXTURE_RT;

Render target no MSAA.

BGFX_TEXTURE_RT_MASK
enum 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_MASK
enum 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_SHIFT
enum 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_X16
enum ulong BGFX_TEXTURE_RT_MSAA_X16;

Render target MSAAx16 mode.

BGFX_TEXTURE_RT_MSAA_X2
enum ulong BGFX_TEXTURE_RT_MSAA_X2;

Render target MSAAx2 mode.

BGFX_TEXTURE_RT_MSAA_X4
enum ulong BGFX_TEXTURE_RT_MSAA_X4;

Render target MSAAx4 mode.

BGFX_TEXTURE_RT_MSAA_X8
enum ulong BGFX_TEXTURE_RT_MSAA_X8;

Render target MSAAx8 mode.

BGFX_TEXTURE_RT_SHIFT
enum 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_ONLY
enum ulong BGFX_TEXTURE_RT_WRITE_ONLY;

Render target will be used for writing

BGFX_TEXTURE_SRGB
enum ulong BGFX_TEXTURE_SRGB;

Sample texture as sRGB.

Meta