| Modifier and Type | Class and Description |
|---|---|
| public static class | BGFX.
Contains the function pointers loaded from the bgfx |
| Modifier and Type | Field and Description |
|---|---|
| private static final SharedLibrary | |
| public static final int | BGFX_ACCESS_COUNT
Access mode (
|
| public static final int | BGFX_ACCESS_READ
Access mode (
|
| public static final int | BGFX_ACCESS_READWRITE
Access mode (
|
| public static final int | BGFX_ACCESS_WRITE
Access mode (
|
| public static final int | BGFX_API_VERSION
API version |
| public static final int | BGFX_ATTRIB_BITANGENT
Vertex attribute ( |
| public static final int | BGFX_ATTRIB_COLOR0
Vertex attribute ( |
| public static final int | BGFX_ATTRIB_COLOR1
Vertex attribute ( |
| public static final int | BGFX_ATTRIB_COLOR2
Vertex attribute ( |
| public static final int | BGFX_ATTRIB_COLOR3
Vertex attribute ( |
| public static final int | BGFX_ATTRIB_COUNT
Vertex attribute ( |
| public static final int | BGFX_ATTRIB_INDICES
Vertex attribute ( |
| public static final int | BGFX_ATTRIB_NORMAL
Vertex attribute ( |
| public static final int | BGFX_ATTRIB_POSITION
Vertex attribute ( |
| public static final int | BGFX_ATTRIB_TANGENT
Vertex attribute ( |
| public static final int | BGFX_ATTRIB_TEXCOORD0
Vertex attribute ( |
| public static final int | BGFX_ATTRIB_TEXCOORD1
Vertex attribute ( |
| public static final int | BGFX_ATTRIB_TEXCOORD2
Vertex attribute ( |
| public static final int | BGFX_ATTRIB_TEXCOORD3
Vertex attribute ( |
| public static final int | BGFX_ATTRIB_TEXCOORD4
Vertex attribute ( |
| public static final int | BGFX_ATTRIB_TEXCOORD5
Vertex attribute ( |
| public static final int | BGFX_ATTRIB_TEXCOORD6
Vertex attribute ( |
| public static final int | BGFX_ATTRIB_TEXCOORD7
Vertex attribute ( |
| public static final int | BGFX_ATTRIB_TYPE_COUNT
Vertex attribute type ( |
| public static final int | BGFX_ATTRIB_TYPE_FLOAT
Vertex attribute type ( |
| public static final int | BGFX_ATTRIB_TYPE_HALF
Vertex attribute type ( |
| public static final int | BGFX_ATTRIB_TYPE_INT16
Vertex attribute type ( |
| public static final int | BGFX_ATTRIB_TYPE_UINT10
Vertex attribute type ( |
| public static final int | BGFX_ATTRIB_TYPE_UINT8
Vertex attribute type ( |
| public static final int | BGFX_ATTRIB_WEIGHT
Vertex attribute ( |
| public static final int | BGFX_BACKBUFFER_RATIO_COUNT
Backbuffer ratio ( |
| public static final int | BGFX_BACKBUFFER_RATIO_DOUBLE
Backbuffer ratio ( |
| public static final int | BGFX_BACKBUFFER_RATIO_EIGHTH
Backbuffer ratio ( |
| public static final int | BGFX_BACKBUFFER_RATIO_EQUAL
Backbuffer ratio ( |
| public static final int | BGFX_BACKBUFFER_RATIO_HALF
Backbuffer ratio ( |
| public static final int | BGFX_BACKBUFFER_RATIO_QUARTER
Backbuffer ratio ( |
| public static final int | BGFX_BACKBUFFER_RATIO_SIXTEENTH
Backbuffer ratio ( |
| public static final int | BGFX_BGFX_RENDERER_TYPE_WEBGPU
Renderer backend type. |
| public static final int | BGFX_BUFFER_ALLOW_RESIZE
Buffer creation flags |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final int | BGFX_BUFFER_COMPUTE_READ
Buffer creation flags |
| public static final int | BGFX_BUFFER_COMPUTE_READ_WRITE
Buffer creation flags |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final int | BGFX_BUFFER_COMPUTE_WRITE
Buffer creation flags |
| public static final int | BGFX_BUFFER_DRAW_INDIRECT
Buffer creation flags |
| public static final int | BGFX_BUFFER_INDEX32
Buffer creation flags |
| public static final int | BGFX_BUFFER_NONE
Buffer creation flags |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final int | BGFX_CAPS_FORMAT_TEXTURE_2D
Format caps |
| public static final int | BGFX_CAPS_FORMAT_TEXTURE_2D_EMULATED
Format caps |
| public static final int | BGFX_CAPS_FORMAT_TEXTURE_2D_SRGB
Format caps |
| public static final int | BGFX_CAPS_FORMAT_TEXTURE_3D
Format caps |
| public static final int | BGFX_CAPS_FORMAT_TEXTURE_3D_EMULATED
Format caps |
| public static final int | BGFX_CAPS_FORMAT_TEXTURE_3D_SRGB
Format caps |
| public static final int | BGFX_CAPS_FORMAT_TEXTURE_CUBE
Format caps |
| public static final int | BGFX_CAPS_FORMAT_TEXTURE_CUBE_EMULATED
Format caps |
| public static final int | BGFX_CAPS_FORMAT_TEXTURE_CUBE_SRGB
Format caps |
| public static final int | BGFX_CAPS_FORMAT_TEXTURE_FRAMEBUFFER
Format caps |
| public static final int | BGFX_CAPS_FORMAT_TEXTURE_FRAMEBUFFER_MSAA
Format caps |
| public static final int | BGFX_CAPS_FORMAT_TEXTURE_IMAGE_READ
Format caps |
| public static final int | BGFX_CAPS_FORMAT_TEXTURE_IMAGE_WRITE
Format caps |
| public static final int | BGFX_CAPS_FORMAT_TEXTURE_MIP_AUTOGEN
Format caps |
| public static final int | BGFX_CAPS_FORMAT_TEXTURE_MSAA
Format caps |
| public static final int | BGFX_CAPS_FORMAT_TEXTURE_NONE
Format caps |
| public static final int | BGFX_CAPS_FORMAT_TEXTURE_VERTEX
Format caps |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | BGFX_CAPS_HDR10
Caps |
| public static final long | BGFX_CAPS_HIDPI
Caps |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final int | BGFX_CLEAR_COLOR
Clear |
| public static final int | BGFX_CLEAR_DEPTH
Clear |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | BGFX_CLEAR_NONE
Clear |
| public static final int | BGFX_CLEAR_STENCIL
Clear |
| public static final byte | BGFX_CUBE_MAP_NEGATIVE_X
Cubemap |
| public static final byte | BGFX_CUBE_MAP_NEGATIVE_Y
Cubemap |
| public static final byte | BGFX_CUBE_MAP_NEGATIVE_Z
Cubemap |
| public static final byte | BGFX_CUBE_MAP_POSITIVE_X
Cubemap |
| public static final byte | BGFX_CUBE_MAP_POSITIVE_Y
Cubemap |
| public static final byte | BGFX_CUBE_MAP_POSITIVE_Z
Cubemap |
| public static final int | BGFX_DEBUG_IFH
Debug Enum values:
|
| public static final int | BGFX_DEBUG_NONE
Debug Enum values:
|
| public static final int | BGFX_DEBUG_PROFILER
Debug Enum values:
|
| public static final int | BGFX_DEBUG_STATS
Debug Enum values:
|
| public static final int | BGFX_DEBUG_TEXT
Debug Enum values:
|
| public static final int | BGFX_DEBUG_WIREFRAME
Debug Enum values:
|
| public static final byte | BGFX_DISCARD_ALL
Rendering state discard. |
| public static final byte | BGFX_DISCARD_BINDINGS
Rendering state discard. |
| public static final byte | BGFX_DISCARD_INDEX_BUFFER
Rendering state discard. |
| public static final byte | BGFX_DISCARD_INSTANCE_DATA
Rendering state discard. |
| public static final byte | BGFX_DISCARD_NONE
Rendering state discard. |
| public static final byte | BGFX_DISCARD_STATE
Rendering state discard. |
| public static final byte | BGFX_DISCARD_TRANSFORM
Rendering state discard. |
| public static final byte | BGFX_DISCARD_VERTEX_STREAMS
Rendering state discard. |
| public static final int | BGFX_FATAL_COUNT
Fatal errors ( |
| public static final int | BGFX_FATAL_DEBUG_CHECK
Fatal errors ( |
| public static final int | BGFX_FATAL_DEVICE_LOST
Fatal errors ( |
| public static final int | BGFX_FATAL_INVALID_SHADER
Fatal errors ( |
| public static final int | BGFX_FATAL_UNABLE_TO_CREATE_TEXTURE
Fatal errors ( |
| public static final int | BGFX_FATAL_UNABLE_TO_INITIALIZE
Fatal errors ( |
| public static final short | BGFX_INVALID_HANDLE
Invalid handle |
| public static final int | BGFX_NATIVE_WINDOW_HANDLE_TYPE_COUNT
( |
| public static final int | BGFX_NATIVE_WINDOW_HANDLE_TYPE_DEFAULT
( |
| public static final int | BGFX_NATIVE_WINDOW_HANDLE_TYPE_WAYLAND
( |
| public static final int | BGFX_OCCLUSION_QUERY_RESULT_COUNT
Occlusion query result ( |
| public static final int | BGFX_OCCLUSION_QUERY_RESULT_INVISIBLE
Occlusion query result ( |
| public static final int | BGFX_OCCLUSION_QUERY_RESULT_NORESULT
Occlusion query result ( |
| public static final int | BGFX_OCCLUSION_QUERY_RESULT_VISIBLE
Occlusion query result ( |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final int | BGFX_RENDERER_TYPE_AGC
Renderer backend type. |
| public static final int | BGFX_RENDERER_TYPE_COUNT
Renderer backend type. |
| public static final int | BGFX_RENDERER_TYPE_DIRECT3D11
Renderer backend type. |
| public static final int | BGFX_RENDERER_TYPE_DIRECT3D12
Renderer backend type. |
| public static final int | BGFX_RENDERER_TYPE_DIRECT3D9
Renderer backend type. |
| public static final int | BGFX_RENDERER_TYPE_GNM
Renderer backend type. |
| public static final int | BGFX_RENDERER_TYPE_METAL
Renderer backend type. |
| public static final int | BGFX_RENDERER_TYPE_NOOP
Renderer backend type. |
| public static final int | BGFX_RENDERER_TYPE_NVN
Renderer backend type. |
| public static final int | BGFX_RENDERER_TYPE_OPENGL
Renderer backend type. |
| public static final int | BGFX_RENDERER_TYPE_OPENGLES
Renderer backend type. |
| public static final int | BGFX_RENDERER_TYPE_VULKAN
Renderer backend type. |
| public static final int | BGFX_RESET_CAPTURE
Reset |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | BGFX_RESET_HDR10
Reset |
| public static final int | BGFX_RESET_HIDPI
Reset |
| public static final int | |
| public static final int | BGFX_RESET_MSAA_MASK
Reset |
| public static final int | |
| public static final int | BGFX_RESET_MSAA_X16
Reset |
| public static final int | BGFX_RESET_MSAA_X2
Reset |
| public static final int | BGFX_RESET_MSAA_X4
Reset |
| public static final int | BGFX_RESET_MSAA_X8
Reset |
| public static final int | BGFX_RESET_NONE
Reset |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | BGFX_RESET_SUSPEND
Reset |
| public static final int | |
| public static final int | BGFX_RESET_VSYNC
Reset |
| public static final byte | BGFX_RESOLVE_AUTO_GEN_MIPS
Resolve flags. |
| public static final byte | BGFX_RESOLVE_NONE
Resolve flags. |
| public static final int | BGFX_SAMPLER_BORDER_COLOR_MASK
Sampler shifts/masks |
| public static final int | BGFX_SAMPLER_BORDER_COLOR_SHIFT
Sampler shifts/masks |
| public static final int | BGFX_SAMPLER_COMPARE_ALWAYS
Sample flags. |
| public static final int | BGFX_SAMPLER_COMPARE_EQUAL
Sample flags. |
| public static final int | BGFX_SAMPLER_COMPARE_GEQUAL
Sample flags. |
| public static final int | BGFX_SAMPLER_COMPARE_GREATER
Sample flags. |
| public static final int | BGFX_SAMPLER_COMPARE_LEQUAL
Sample flags. |
| public static final int | BGFX_SAMPLER_COMPARE_LESS
Sample flags. |
| public static final int | BGFX_SAMPLER_COMPARE_MASK
Sampler shifts/masks |
| public static final int | BGFX_SAMPLER_COMPARE_NEVER
Sample flags. |
| public static final int | BGFX_SAMPLER_COMPARE_NOTEQUAL
Sample flags. |
| public static final int | BGFX_SAMPLER_COMPARE_SHIFT
Sampler shifts/masks |
| public static final int | BGFX_SAMPLER_MAG_ANISOTROPIC
Sample flags. |
| public static final int | BGFX_SAMPLER_MAG_MASK
Sampler shifts/masks |
| public static final int | BGFX_SAMPLER_MAG_POINT
Sample flags. |
| public static final int | BGFX_SAMPLER_MAG_SHIFT
Sampler shifts/masks |
| public static final int | BGFX_SAMPLER_MIN_ANISOTROPIC
Sample flags. |
| public static final int | BGFX_SAMPLER_MIN_MASK
Sampler shifts/masks |
| public static final int | BGFX_SAMPLER_MIN_POINT
Sample flags. |
| public static final int | BGFX_SAMPLER_MIN_SHIFT
Sampler shifts/masks |
| public static final int | BGFX_SAMPLER_MIP_MASK
Sampler shifts/masks |
| public static final int | BGFX_SAMPLER_MIP_POINT
Sample flags. |
| public static final int | BGFX_SAMPLER_MIP_SHIFT
Sampler shifts/masks |
| public static final int | BGFX_SAMPLER_NONE
Sample flags. |
| public static final int | BGFX_SAMPLER_POINT
Sample flags. |
| public static final int | BGFX_SAMPLER_RESERVED_MASK
Sampler shifts/masks |
| public static final int | BGFX_SAMPLER_RESERVED_SHIFT
Sampler shifts/masks |
| public static final int | BGFX_SAMPLER_SAMPLE_STENCIL
Sample flags. |
| public static final int | BGFX_SAMPLER_SAMPLER_BITS_MASK
Sampler shifts/masks |
| public static final int | BGFX_SAMPLER_U_BORDER
Sample flags. |
| public static final int | BGFX_SAMPLER_U_CLAMP
Sample flags. |
| public static final int | BGFX_SAMPLER_U_MASK
Sampler shifts/masks |
| public static final int | BGFX_SAMPLER_U_MIRROR
Sample flags. |
| public static final int | BGFX_SAMPLER_U_SHIFT
Sampler shifts/masks |
| public static final int | BGFX_SAMPLER_UVW_BORDER
Sample flags. |
| public static final int | BGFX_SAMPLER_UVW_CLAMP
Sample flags. |
| public static final int | BGFX_SAMPLER_UVW_MIRROR
Sample flags. |
| public static final int | BGFX_SAMPLER_V_BORDER
Sample flags. |
| public static final int | BGFX_SAMPLER_V_CLAMP
Sample flags. |
| public static final int | BGFX_SAMPLER_V_MASK
Sampler shifts/masks |
| public static final int | BGFX_SAMPLER_V_MIRROR
Sample flags. |
| public static final int | BGFX_SAMPLER_V_SHIFT
Sampler shifts/masks |
| public static final int | BGFX_SAMPLER_W_BORDER
Sample flags. |
| public static final int | BGFX_SAMPLER_W_CLAMP
Sample flags. |
| public static final int | BGFX_SAMPLER_W_MASK
Sampler shifts/masks |
| public static final int | BGFX_SAMPLER_W_MIRROR
Sample flags. |
| public static final int | BGFX_SAMPLER_W_SHIFT
Sampler shifts/masks |
| public static final long | |
| public static final int | |
| public static final long | BGFX_STATE_BLEND_ADD
Blend state macros |
| public static final long | BGFX_STATE_BLEND_ALPHA
Blend state macros |
| public static final long | |
| public static final long | BGFX_STATE_BLEND_DARKEN
Blend state macros |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final int | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | BGFX_STATE_BLEND_LIGHTEN
Blend state macros |
| public static final long | BGFX_STATE_BLEND_LINEAR_BURN
Blend state macros |
| public static final long | |
| public static final long | BGFX_STATE_BLEND_MULTIPLY
Blend state macros |
| public static final long | BGFX_STATE_BLEND_NORMAL
Blend state macros |
| public static final long | BGFX_STATE_BLEND_ONE
State |
| public static final long | BGFX_STATE_BLEND_SCREEN
Blend state macros |
| public static final int | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | BGFX_STATE_CULL_CCW
State |
| public static final long | BGFX_STATE_CULL_CW
State |
| public static final long | BGFX_STATE_CULL_MASK
State |
| public static final int | |
| public static final long | BGFX_STATE_DEFAULT
State |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long | |
| public static final int | |
| public static final long | BGFX_STATE_FRONT_CCW
State |
| public static final long | BGFX_STATE_LINEAA
State |
| public static final long | BGFX_STATE_MASK
State |
| public static final long | BGFX_STATE_MSAA
State |
| public static final long | BGFX_STATE_NONE
State |
| public static final long | |
| public static final int | |
| public static final long | BGFX_STATE_PT_LINES
State |
| public static final long | |
| public static final long | BGFX_STATE_PT_MASK
State |
| public static final long | BGFX_STATE_PT_POINTS
State |
| public static final int | BGFX_STATE_PT_SHIFT
State |
| public static final long | |
| public static final long | |
| public static final int | |
| public static final long | BGFX_STATE_WRITE_A
State |
| public static final long | BGFX_STATE_WRITE_B
State |
| public static final long | BGFX_STATE_WRITE_G
State |
| public static final long | |
| public static final long | BGFX_STATE_WRITE_R
State |
| public static final long | BGFX_STATE_WRITE_RGB
State |
| public static final long | BGFX_STATE_WRITE_Z
State |
| public static final int | BGFX_STENCIL_DEFAULT
Stencil |
| public static final int | BGFX_STENCIL_FUNC_REF_MASK
Stencil |
| public static final int | BGFX_STENCIL_FUNC_REF_SHIFT
Stencil |
| public static final int | BGFX_STENCIL_FUNC_RMASK_MASK
Stencil |
| public static final int | |
| public static final int | BGFX_STENCIL_MASK
Stencil |
| public static final int | BGFX_STENCIL_NONE
Stencil |
| public static final int | BGFX_STENCIL_OP_FAIL_S_DECR
Stencil |
| public static final int | |
| public static final int | BGFX_STENCIL_OP_FAIL_S_INCR
Stencil |
| public static final int | |
| public static final int | |
| public static final int | BGFX_STENCIL_OP_FAIL_S_KEEP
Stencil |
| public static final int | BGFX_STENCIL_OP_FAIL_S_MASK
Stencil |
| public static final int | |
| public static final int | BGFX_STENCIL_OP_FAIL_S_SHIFT
Stencil |
| public static final int | BGFX_STENCIL_OP_FAIL_S_ZERO
Stencil |
| public static final int | BGFX_STENCIL_OP_FAIL_Z_DECR
Stencil |
| public static final int | |
| public static final int | BGFX_STENCIL_OP_FAIL_Z_INCR
Stencil |
| public static final int | |
| public static final int | |
| public static final int | BGFX_STENCIL_OP_FAIL_Z_KEEP
Stencil |
| public static final int | BGFX_STENCIL_OP_FAIL_Z_MASK
Stencil |
| public static final int | |
| public static final int | BGFX_STENCIL_OP_FAIL_Z_SHIFT
Stencil |
| public static final int | BGFX_STENCIL_OP_FAIL_Z_ZERO
Stencil |
| public static final int | BGFX_STENCIL_OP_PASS_Z_DECR
Stencil |
| public static final int | |
| public static final int | BGFX_STENCIL_OP_PASS_Z_INCR
Stencil |
| public static final int | |
| public static final int | |
| public static final int | BGFX_STENCIL_OP_PASS_Z_KEEP
Stencil |
| public static final int | BGFX_STENCIL_OP_PASS_Z_MASK
Stencil |
| public static final int | |
| public static final int | BGFX_STENCIL_OP_PASS_Z_SHIFT
Stencil |
| public static final int | BGFX_STENCIL_OP_PASS_Z_ZERO
Stencil |
| public static final int | BGFX_STENCIL_TEST_ALWAYS
Stencil |
| public static final int | BGFX_STENCIL_TEST_EQUAL
Stencil |
| public static final int | BGFX_STENCIL_TEST_GEQUAL
Stencil |
| public static final int | BGFX_STENCIL_TEST_GREATER
Stencil |
| public static final int | BGFX_STENCIL_TEST_LEQUAL
Stencil |
| public static final int | BGFX_STENCIL_TEST_LESS
Stencil |
| public static final int | BGFX_STENCIL_TEST_MASK
Stencil |
| public static final int | BGFX_STENCIL_TEST_NEVER
Stencil |
| public static final int | BGFX_STENCIL_TEST_NOTEQUAL
Stencil |
| public static final int | BGFX_STENCIL_TEST_SHIFT
Stencil |
| public static final long | BGFX_TEXTURE_BLIT_DST
Texture creation flags. |
| public static final long | BGFX_TEXTURE_COMPUTE_WRITE
Texture creation flags. |
| public static final int | BGFX_TEXTURE_FORMAT_A8
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_ASTC10X10
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_ASTC10x5
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_ASTC10X6
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_ASTC10X8
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_ASTC12X10
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_ASTC12X12
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_ASTC4x4
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_ASTC5X4
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_ASTC5x5
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_ASTC6X5
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_ASTC6x6
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_ASTC8x5
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_ASTC8x6
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_ASTC8X8
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_ATC
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_ATCE
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_ATCI
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_B5G6R5
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_BC1
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_BC2
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_BC3
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_BC4
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_BC5
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_BC6H
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_BC7
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_BGR5A1
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_BGRA4
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_BGRA8
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_COUNT
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_D0S8
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_D16
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_D16F
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_D24
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_D24F
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_D24S8
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_D32
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_D32F
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_ETC1
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_ETC2
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_ETC2A
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_ETC2A1
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_PTC12
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_PTC12A
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_PTC14
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_PTC14A
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_PTC22
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_PTC24
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_R1
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_R16
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_R16F
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_R16I
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_R16S
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_R16U
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_R32F
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_R32I
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_R32U
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_R5G6B5
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_R8
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_R8I
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_R8S
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_R8U
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RG11B10F
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RG16
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RG16F
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RG16I
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RG16S
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RG16U
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RG32F
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RG32I
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RG32U
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RG8
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RG8I
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RG8S
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RG8U
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RGB10A2
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RGB5A1
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RGB8
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RGB8I
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RGB8S
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RGB8U
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RGB9E5F
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RGBA16
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RGBA16F
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RGBA16I
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RGBA16S
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RGBA16U
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RGBA32F
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RGBA32I
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RGBA32U
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RGBA4
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RGBA8
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RGBA8I
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RGBA8S
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_RGBA8U
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_UNKNOWN
Texture format ( |
| public static final int | BGFX_TEXTURE_FORMAT_UNKNOWN_DEPTH
Texture format ( |
| public static final long | BGFX_TEXTURE_MSAA_SAMPLE
Texture creation flags. |
| public static final long | BGFX_TEXTURE_NONE
Texture creation flags. |
| public static final long | BGFX_TEXTURE_READ_BACK
Texture creation flags. |
| public static final long | BGFX_TEXTURE_RT
Texture creation flags. |
| public static final long | BGFX_TEXTURE_RT_MASK
Texture masks. |
| public static final long | BGFX_TEXTURE_RT_MSAA_MASK
Texture masks. |
| public static final int | BGFX_TEXTURE_RT_MSAA_SHIFT
Texture shifts. |
| public static final long | BGFX_TEXTURE_RT_MSAA_X16
Texture creation flags. |
| public static final long | BGFX_TEXTURE_RT_MSAA_X2
Texture creation flags. |
| public static final long | BGFX_TEXTURE_RT_MSAA_X4
Texture creation flags. |
| public static final long | BGFX_TEXTURE_RT_MSAA_X8
Texture creation flags. |
| public static final long | BGFX_TEXTURE_RT_WRITE_ONLY
Texture creation flags. |
| public static final long | BGFX_TEXTURE_SRGB
Texture creation flags. |
| public static final int | BGFX_TOPOLOGY_CONVERT_COUNT
Topology conversion function ( |
| public static final int | BGFX_TOPOLOGY_CONVERT_LINE_STRIP_TO_LINE_LIST
Topology conversion function ( |
| public static final int | BGFX_TOPOLOGY_CONVERT_TRI_LIST_FLIP_WINDING
Topology conversion function ( |
| public static final int | BGFX_TOPOLOGY_CONVERT_TRI_LIST_TO_LINE_LIST
Topology conversion function ( |
| public static final int | BGFX_TOPOLOGY_CONVERT_TRI_STRIP_FLIP_WINDING
Topology conversion function ( |
| public static final int | BGFX_TOPOLOGY_CONVERT_TRI_STRIP_TO_TRI_LIST
Topology conversion function ( |
| public static final int | BGFX_TOPOLOGY_COUNT
|
| public static final int | BGFX_TOPOLOGY_LINE_LIST
|
| public static final int | BGFX_TOPOLOGY_LINE_STRIP
|
| public static final int | BGFX_TOPOLOGY_POINT_LIST
|
| public static final int | BGFX_TOPOLOGY_SORT_COUNT
Topology sort order ( |
| public static final int | BGFX_TOPOLOGY_SORT_DIRECTION_BACK_TO_FRONT_AVG
Topology sort order ( |
| public static final int | BGFX_TOPOLOGY_SORT_DIRECTION_BACK_TO_FRONT_MAX
Topology sort order ( |
| public static final int | BGFX_TOPOLOGY_SORT_DIRECTION_BACK_TO_FRONT_MIN
Topology sort order ( |
| public static final int | BGFX_TOPOLOGY_SORT_DIRECTION_FRONT_TO_BACK_AVG
Topology sort order ( |
| public static final int | BGFX_TOPOLOGY_SORT_DIRECTION_FRONT_TO_BACK_MAX
Topology sort order ( |
| public static final int | BGFX_TOPOLOGY_SORT_DIRECTION_FRONT_TO_BACK_MIN
Topology sort order ( |
| public static final int | BGFX_TOPOLOGY_SORT_DISTANCE_BACK_TO_FRONT_AVG
Topology sort order ( |
| public static final int | BGFX_TOPOLOGY_SORT_DISTANCE_BACK_TO_FRONT_MAX
Topology sort order ( |
| public static final int | BGFX_TOPOLOGY_SORT_DISTANCE_BACK_TO_FRONT_MIN
Topology sort order ( |
| public static final int | BGFX_TOPOLOGY_SORT_DISTANCE_FRONT_TO_BACK_AVG
Topology sort order ( |
| public static final int | BGFX_TOPOLOGY_SORT_DISTANCE_FRONT_TO_BACK_MAX
Topology sort order ( |
| public static final int | BGFX_TOPOLOGY_SORT_DISTANCE_FRONT_TO_BACK_MIN
Topology sort order ( |
| public static final int | BGFX_TOPOLOGY_TRI_LIST
|
| public static final int | BGFX_TOPOLOGY_TRI_STRIP
|
| public static final int | BGFX_UNIFORM_TYPE_COUNT
Uniform type ( |
| public static final int | BGFX_UNIFORM_TYPE_END
Uniform type ( |
| public static final int | BGFX_UNIFORM_TYPE_MAT3
Uniform type ( |
| public static final int | BGFX_UNIFORM_TYPE_MAT4
Uniform type ( |
| public static final int | BGFX_UNIFORM_TYPE_SAMPLER
Uniform type ( |
| public static final int | BGFX_UNIFORM_TYPE_VEC4
Uniform type ( |
| public static final int | BGFX_VIEW_MODE_COUNT
View mode sets draw call sort order ( |
| public static final int | BGFX_VIEW_MODE_DEFAULT
View mode sets draw call sort order ( |
| public static final int | BGFX_VIEW_MODE_DEPTH_ASCENDING
View mode sets draw call sort order ( |
| public static final int | BGFX_VIEW_MODE_DEPTH_DESCENDING
View mode sets draw call sort order ( |
| public static final int | BGFX_VIEW_MODE_SEQUENTIAL
View mode sets draw call sort order ( |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public static BGFXMemory | |||||||||
| public static void | bgfx_alloc_instance_data_buffer(BGFXInstanceDataBuffer
BGFXInstanceDataBuffer structure will be filled, and will be valid for duration of frame, and can be reused for multiple drawnumber of instances _num, int instance stride. Must be multiple of 16 _stride)Allocates instance data buffer. | ||||||||
| public static int | Returns: index into matrix cachepointer to _transform, int BGFXTransform structurenumber of matrices _num)Reserves | ||||||||
| public static boolean | bgfx_alloc_transient_buffers(BGFXTransientVertexBuffer
BGFXTransientVertexBuffer structure will be filled, and will be valid for the duration of frame, and can be reused for multiple drawvertex layout _layout, int number of vertices to allocate _numVertices, BGFXTransientIndexBuffer BGFXTransientIndexBuffer structure will be filled, and will be valid for the duration of frame, and can be reused for multiple drawnumber of indices to allocate _numIndices, boolean set to _index32)true if input indices will be 32-bitChecks for required space and allocates transient vertex and index buffers. | ||||||||
| public static void | bgfx_alloc_transient_index_buffer(BGFXTransientIndexBuffer
BGFXTransientIndexBuffer structure will be filled, and will be valid for the duration of frame, and can be reused for multiple drawnumber of indices to allocate _num, boolean set to _index32)true if input indices will be 32-bitAllocates transient index buffer. | ||||||||
| public static void | bgfx_alloc_transient_vertex_buffer(BGFXTransientVertexBuffer
BGFXTransientVertexBuffer structure will be filled, and will be valid for the duration of frame, and can be reused for multiple drawnumber of vertices to allocate _num, BGFXVertexLayout vertex layout _layout)Allocates transient vertex buffer. | ||||||||
| public static void | bgfx_attachment_init(BGFXAttachment _this, short
render target texture handle _handle, int access. One of: _access, int
cubemap side or depth layer/slice to use _layer, int number of texture layer/slice(s) in array to use _numLayers, int mip level _mip, int resolve flags. One of: _resolve)
Init attachment. | ||||||||
| public static void | bgfx_blit(int
view id _id, short destination texture handle _dst, int destination texture mip level _dstMip, int destination texture X position _dstX, int destination texture Y position _dstY, int if texture is 2D this argument should be 0. If destination texture is cube this argument represents destination texture cube face. For 3D texture
this argument represents destination texture Z position. _dstZ, short source texture handle _src, int source texture mip level _srcMip, int source texture X position _srcX, int source texture Y position _srcY, int if texture is 2D this argument should be 0. If destination texture is cube this argument represents destination texture cube face. For 3D texture
this argument represents destination texture Z position. _srcZ, int width of region _width, int height of region _height, int if texture is 3D this argument represents depth of region, otherwise it's unused _depth)Blits texture region between two textures. | ||||||||
| public static void | bgfx_calc_texture_size(BGFXTextureInfo
resulting texture info structure _info, int width _width, int height _height, int depth dimension of volume texture _depth, boolean indicates that texture contains cubemap _cubeMap, boolean indicates that texture contains full mip-map chain _hasMips, int number of layers in texture array _numLayers, int texture format. One of: _format)Calculates amount of memory required for texture. | ||||||||
| public static BGFXMemory | |||||||||
| public static BGFXMemory | |||||||||
| public static BGFXMemory | |||||||||
| public static BGFXMemory | |||||||||
| public static BGFXMemory | |||||||||
| public static BGFXMemory | |||||||||
| public static BGFXMemory | |||||||||
| public static BGFXMemory | |||||||||
| public static BGFXMemory | |||||||||
| public static BGFXMemory | |||||||||
| public static BGFXMemory | |||||||||
| public static BGFXMemory | |||||||||
| public static short | bgfx_create_compute_program(short
compute shader _csh, boolean if true, shader will be destroyed when program is destroyed _destroyShaders)Creates program with compute shader. | ||||||||
| public static short | bgfx_create_dynamic_index_buffer(int
number of indices _num, int buffer creation flags. One or more of: _flags)
Creates empty dynamic index buffer. | ||||||||
| public static short | bgfx_create_dynamic_index_buffer_mem(BGFXMemory
index buffer data _mem, int buffer creation flags. One or more of: _flags)
Creates a dynamic index buffer and initializes it. | ||||||||
| public static short | bgfx_create_dynamic_vertex_buffer(int
number of vertices _num, BGFXVertexLayout vertex layout _layout, int buffer creation flags. One or more of: _flags)
Creates empty dynamic vertex buffer. | ||||||||
| public static short | bgfx_create_dynamic_vertex_buffer_mem(BGFXMemory
vertex buffer data _mem, BGFXVertexLayout vertex layout _layout, int buffer creation flags. One or more of: _flags)
Creates dynamic vertex buffer and initializes it. | ||||||||
| public static short | Returns: handle to frame buffer objecttexture width _width, int texture height _height, int texture format. One of: _format, long default texture sampling mode is linear, and wrap mode is repeat. One of: _textureFlags)Creates frame buffer (simple). | ||||||||
| public static short | Returns: handle to frame buffer objectattachment texture info _attachment,if true, textures will be destroyed when frame buffer is destroyed _destroyTextures)Create MRT frame buffer from texture handles with specific layer and mip level. | ||||||||
| public static short | Returns: handle to frame buffer objecttexture attachments _handles, boolean if true, textures will be destroyed when frame buffer is destroyed _destroyTextures)Creates MRT frame buffer from texture handles (simple). | ||||||||
| public static short | bgfx_create_frame_buffer_from_handles(short[] _handles, boolean _destroyTextures)
Array version of: | ||||||||
| public static short | Returns: handle to frame buffer objectOS' target native window handle _nwh, int window back buffer width _width, int window back buffer height _height, int window back buffer color format. One of: _format, int window back buffer depth format. One of: _depthFormat)Creates frame buffer for multiple window rendering. | ||||||||
| public static short | Returns: handle to frame buffer objectframe buffer size in respect to back-buffer size. One of: _ratio, int
texture format. One of: _format, long default texture sampling mode is linear, and wrap mode is repeat. One of: _textureFlags)Creates frame buffer with size based on back-buffer ratio. | ||||||||
| public static short | bgfx_create_index_buffer(BGFXMemory
index buffer data _mem, int buffer creation flags. One or more of: _flags)
Creates static index buffer. | ||||||||
| public static short | |||||||||
| public static short | |||||||||
| public static short | Returns: program handle if vertex shader output and fragment shader input are matching, otherwise returns invalid program handle.vertex shader _vsh, short fragment shader _fsh, boolean if true, shaders will be destroyed when program is destroyed _destroyShaders)Creates program with vertex and fragment shaders. | ||||||||
| public static short | |||||||||
| public static short | bgfx_create_texture(BGFXMemory
DDS, KTX or PVR texture data _mem, long texture creation and sampler flags. Default texture sampling mode is linear, and wrap mode is repeat. One or more of: _flags, int skip top level mips when parsing texture _skip, BGFXTextureInfo when non- _info)NULL is specified it returns parsed texture informationCreates texture from memory buffer. | ||||||||
| public static short | bgfx_create_texture_2d(int
width _width, int height _height, boolean indicates that texture contains full mip-map chain _hasMips, int number of layers in texture array. Must be 1 if caps _numLayers, int CAPS_TEXTURE_2D_ARRAY flag is not set.texture format. One of: _format, long texture creation and sampler flags. Default texture sampling mode is linear, and wrap mode is repeat. One or more of: _flags, BGFXMemory texture data. If _mem)_mem is non-NULL, created texture will be immutable. When _numLayers is more than 1, expected memory layout is
texture and all mips together for each array element.Creates 2D texture. | ||||||||
| public static short | bgfx_create_texture_2d_scaled(int
frame buffer size in respect to back-buffer size. One of: _ratio, boolean
indicates that texture contains full mip-map chain _hasMips, int number of layers in texture array. Must be 1 if caps _numLayers, int CAPS_TEXTURE_2D_ARRAY flag is not set.texture format. One of: _format, long texture creation and sampler flags. Default texture sampling mode is linear, and wrap mode is repeat. One or more of: _flags)Creates texture with size based on back-buffer ratio. | ||||||||
| public static short | bgfx_create_texture_3d(int
width _width, int height _height, int depth _depth, boolean indicates that texture contains full mip-map chain _hasMips, int texture format. One of: _format, long texture creation and sampler flags. Default texture sampling mode is linear, and wrap mode is repeat. One or more of: _flags, BGFXMemory texture data. If _mem)_mem is non-NULL, created texture will be immutable.Creates 3D texture. | ||||||||
| public static short | bgfx_create_texture_cube(int
cube side size _size, boolean indicates that texture contains full mip-map chain _hasMips, int number of layers in texture array. Must be 1 if caps _numLayers, int CAPS_TEXTURE_CUBE_ARRAY flag is not set.one of: _format, long texture creation and sampler flags. Default texture sampling mode is linear, and wrap mode is repeat. One or more of: _flags, BGFXMemory texture data. If _mem)_mem is non-NULL, created texture will be immutable. When _numLayers is more than 1, expected memory layout is
cubemap texture and all mips together for each array element.Creates Cube texture. | ||||||||
| public static short | Returns: handle to uniform objectuniform name in shader _name, int type of uniform. One of: _type, int
number of elements in array _num)Creates shader uniform parameter. | ||||||||
| public static short | Returns: handle to uniform objectuniform name in shader _name, int type of uniform. One of: _type, int
number of elements in array _num)Creates shader uniform parameter. | ||||||||
| public static short | bgfx_create_vertex_buffer(BGFXMemory
vertex buffer data _mem, BGFXVertexLayout vertex layout _layout, int buffer creation flags. One or more of: _flags)
Creates static vertex buffer. | ||||||||
| public static short | |||||||||
| public static void | bgfx_dbg_text_clear(int
background color _attr, boolean default 8x16 or 8x8 font _small)Clears internal debug text buffer. | ||||||||
| public static void | bgfx_dbg_text_image(int
x coordinate _x, int y coordinate _y, int image width _width, int image height _height, ByteBuffer raw image data (character/attribute raw encoding) _data, int image pitch in bytes _pitch)Draws image into internal debug text buffer. | ||||||||
| public static void | bgfx_dbg_text_printf(int
x coordinate _x, int y coordinate _y, int color palette. Where top 4-bits represent index of background, and bottom 4-bits represent foreground color from standard VGA text palette (ANSI
escape codes). _attr, ByteBuffer printf style formatPrints into internal debug text character-buffer (VGA-compatible text mode). | ||||||||
| public static void | bgfx_dbg_text_printf(int
x coordinate _x, int y coordinate _y, int color palette. Where top 4-bits represent index of background, and bottom 4-bits represent foreground color from standard VGA text palette (ANSI
escape codes). _attr, CharSequence printf style formatPrints into internal debug text character-buffer (VGA-compatible text mode). | ||||||||
| public static void | bgfx_dbg_text_vprintf(int
x coordinate _x, int y coordinate _y, int color palette. Where top 4-bits represent index of background, and bottom 4-bits represent foreground color from standard VGA text palette. _attr, ByteBuffer printf style formatadditional arguments for format string _argList)Print into internal debug text character-buffer (VGA-compatible text mode). | ||||||||
| public static void | bgfx_dbg_text_vprintf(int
x coordinate _x, int y coordinate _y, int color palette. Where top 4-bits represent index of background, and bottom 4-bits represent foreground color from standard VGA text palette. _attr, CharSequence printf style formatadditional arguments for format string _argList)Print into internal debug text character-buffer (VGA-compatible text mode). | ||||||||
| public static void | bgfx_destroy_dynamic_index_buffer(short
the dynamic index buffer to destroy _handle)Destroys dynamic index buffer. | ||||||||
| public static void | bgfx_destroy_dynamic_vertex_buffer(short
the dynamic vertex buffer to destroy _handle)Destroys dynamic vertex buffer. | ||||||||
| public static void | |||||||||
| public static void | bgfx_destroy_index_buffer(short
the static index buffer to destroy _handle)Destroys static index buffer. | ||||||||
| public static void | bgfx_destroy_indirect_buffer(short
the draw indirect buffer to destroy _handle)Destroys draw indirect buffer. | ||||||||
| public static void | bgfx_destroy_occlusion_query(short
handle to occlusion query object _handle)Destroys occlusion query. | ||||||||
| public static void | |||||||||
| public static void | |||||||||
| public static void | |||||||||
| public static void | |||||||||
| public static void | bgfx_destroy_vertex_buffer(short
the static vertex buffer to destroy _handle)Destroys static vertex buffer. | ||||||||
| public static void | |||||||||
| public static void | bgfx_discard(int
draw/compute states to discard. One or more of: _flags)
Discards all previously set state for draw or compute call. | ||||||||
| public static void | bgfx_dispatch(int
view id _id, short compute program _program, int number of groups X _numX, int number of groups Y _numY, int number of groups Z _numZ, int discard or preserve states. One or more of: _flags)
Dispatches compute. | ||||||||
| public static void | bgfx_dispatch_indirect(int
view id _id, short compute program _program, short indirect buffer _indirectHandle, int first element in indirect buffer _start, int number of dispatches _num, int discard or preserve states. One or more of: _flags)
Dispatches compute indirect. | ||||||||
| public static int | Returns: index into matrix cachethe encoder _this, BGFXTransform pointer to _transform, int BGFXTransform structurenumber of matrices _num)Reserves | ||||||||
| public static long | Returns: an encoder for submitting draw calls from multiple threadsexplicitly request an encoder for a worker thread _forThread)Begin submitting draw calls from thread. | ||||||||
| public static void | bgfx_encoder_blit(long
the encoder _this, int view id _id, short destination texture handle _dst, int destination texture mip level _dstMip, int destination texture X position _dstX, int destination texture Y position _dstY, int if texture is 2D this argument should be 0. If destination texture is cube this argument represents destination texture cube face. For 3D texture
this argument represents destination texture Z position. _dstZ, short source texture handle _src, int source texture mip level _srcMip, int source texture X position _srcX, int source texture Y position _srcY, int if texture is 2D this argument should be 0. If destination texture is cube this argument represents destination texture cube face. For 3D texture
this argument represent destination texture Z position. _srcZ, int width of region _width, int height of region _height, int if texture is 3D this argument represents depth of region, otherwise it's unused _depth)Blits texture region between two textures. | ||||||||
| public static void | bgfx_encoder_discard(long
the encoder _this, int discard or preserve states. One or more of: _flags)
Discards all previously set state for draw or compute call. | ||||||||
| public static void | bgfx_encoder_dispatch(long
the encoder _this, int view id _id, short compute program _handle, int number of groups X _numX, int number of groups Y _numY, int number of groups Z _numZ, int discard or preserve states. One or more of: _flags)
Dispatches compute. | ||||||||
| public static void | bgfx_encoder_dispatch_indirect(long
the encoder _this, int view id _id, short compute program _handle, short indirect buffer _indirectHandle, int first element in indirect buffer _start, int number of dispatches _num, int discard or preserve states. One or more of: _flags)
Dispatches compute indirect. | ||||||||
| public static void | |||||||||
| public static void | bgfx_encoder_set_compute_dynamic_index_buffer(long
the encoder _this, int compute stage _stage, short dynamic index buffer handle _handle, int buffer access. One of: _access)
Sets compute dynamic index buffer. | ||||||||
| public static void | bgfx_encoder_set_compute_dynamic_vertex_buffer(long
the encoder _this, int compute stage _stage, short dynamic vertex buffer handle _handle, int buffer access. One of: _access)
Sets compute dynamic vertex buffer. | ||||||||
| public static void | bgfx_encoder_set_compute_index_buffer(long
the encoder _this, int compute stage _stage, short index buffer handle _handle, int buffer access. One of: _access)
Sets compute index buffer. | ||||||||
| public static void | bgfx_encoder_set_compute_indirect_buffer(long
the encoder _this, int compute stage _stage, short indirect buffer handle _handle, int buffer access. One of: _access)
Sets compute indirect buffer. | ||||||||
| public static void | bgfx_encoder_set_compute_vertex_buffer(long
the encoder _this, int compute stage _stage, short vertex buffer handle _handle, int buffer access. One of: _access)
Sets compute vertex buffer. | ||||||||
| public static void | bgfx_encoder_set_condition(long
the encoder _this, short occlusion query handle _handle, boolean render if occlusion query is visible _visible)Sets condition for rendering. | ||||||||
| public static void | bgfx_encoder_set_dynamic_index_buffer(long
the encoder _this, short dynamic index buffer _handle, int first index to render _firstIndex, int number of indices to render _numIndices)Sets index buffer for draw primitive. | ||||||||
| public static void | bgfx_encoder_set_dynamic_vertex_buffer(long
the encoder _this, int vertex stream _stream, short dynamic vertex buffer _handle, int first vertex to render _startVertex, int number of vertices to render _numVertices)Sets vertex buffer for draw primitive. | ||||||||
| public static void | bgfx_encoder_set_dynamic_vertex_buffer_with_layout(long
the encoder _this, int vertex stream _stream, short dynamic vertex buffer _handle, int first vertex to render _startVertex, int number of vertices to render _numVertices, short vertex layout for aliasing vertex buffer. If invalid handle is used, vertex layout used for creation of vertex buffer will be used. _layoutHandle)Sets vertex buffer for draw primitive. | ||||||||
| public static void | bgfx_encoder_set_image(long
the encoder _this, int texture unit _stage, short texture handle _handle, int mip level _mip, int texture access. One of: _access, int
texture format. One of: _format)Sets compute image from texture. | ||||||||
| public static void | bgfx_encoder_set_index_buffer(long
the encoder _this, short index buffer _handle, int first index to render _firstIndex, int number of indices to render _numIndices)Sets index buffer for draw primitive. | ||||||||
| public static void | bgfx_encoder_set_instance_count(long
the encoder _this, int number of instances _numInstances)Sets number of instances for auto generated instances use in conjuction with | ||||||||
| public static void | bgfx_encoder_set_instance_data_buffer(long
the encoder _this, BGFXInstanceDataBuffer transient instance data buffer _idb, int first instance data _start, int number of data instances _num)Sets instance data buffer for draw primitive. | ||||||||
| public static void | bgfx_encoder_set_instance_data_from_dynamic_vertex_buffer(long
the encoder _this, short dynamic vertex buffer _handle, int first instance data _start, int number of data instances _num)Set instance data buffer for draw primitive. | ||||||||
| public static void | bgfx_encoder_set_instance_data_from_vertex_buffer(long
the encoder _this, short vertex buffer _handle, int first instance data _start, int number of data instances _num)Set instance data buffer for draw primitive. | ||||||||
| public static void | |||||||||
| public static void | |||||||||
| public static short | Returns: scissor cache indexthe encoder _this, int position x from the left side of the window _x, int position y from the top side of the window _y, int width of scissor region _width, int height of scissor region _height)Sets scissor for draw primitive. | ||||||||
| public static void | bgfx_encoder_set_scissor_cached(long
the encoder _this, int index in scissor cache. Pass _cache)UINT16_MAX to have primitive use view scissor instead.Sets scissor from cache for draw primitive. | ||||||||
| public static void | bgfx_encoder_set_state(long
the encoder _this, long state flags. One or more of: _state, int blend factor used by _rgba)STATE_BLEND_FACTOR and STATE_BLEND_INV_FACTOR blend modesSets render states for draw primitive. | ||||||||
| public static void | bgfx_encoder_set_stencil(long
the encoder _this, int front stencil state. One or more of: _fstencil, int back stencil state. If back is set to _bstencil)STENCIL_NONE _fstencil is applied to both front and back facing primitives. One or more of:Sets stencil test state. | ||||||||
| public static void | bgfx_encoder_set_texture(long
the encoder _this, int texture unit _stage, short program sampler _sampler, short texture handle _handle, int texture sampling mode. _flags)UINT32_MAX uses texture sampling settings from the texture. One of:Sets texture stage for draw primitive. | ||||||||
| public static int | Returns: index into matrix cache in case the same model matrix has to be used for other draw primitive callthe encoder _this, ByteBuffer pointer to first matrix in array _mtx)Sets model matrix for draw primitive. | ||||||||
| public static int | Returns: index into matrix cache in case the same model matrix has to be used for other draw primitive callthe encoder _this, FloatBuffer pointer to first matrix in array _mtx)Sets model matrix for draw primitive. | ||||||||
| public static int | |||||||||
| public static void | bgfx_encoder_set_transform_cached(long
the encoder _this, int index in matrix cache _cache, int number of matrices from cache _num)Sets model matrix from matrix cache for draw primitive. | ||||||||
| public static void | bgfx_encoder_set_transient_index_buffer(long
the encoder _this, BGFXTransientIndexBuffer transient index buffer _tib, int first index to render _firstIndex, int number of indices to render _numIndices)Sets index buffer for draw primitive. | ||||||||
| public static void | bgfx_encoder_set_transient_vertex_buffer(long
the encoder _this, int vertex stream _stream, BGFXTransientVertexBuffer transient vertex buffer _tvb, int first vertex to render _startVertex, int number of vertices to render _numVertices)Sets vertex buffer for draw primitive. | ||||||||
| public static void | bgfx_encoder_set_transient_vertex_buffer_with_layout(long
the encoder _this, int vertex stream _stream, BGFXTransientVertexBuffer transient vertex buffer _tvb, int first vertex to render _startVertex, int number of vertices to render _numVertices, short vertex layout for aliasing vertex buffer. If invalid handle is used, vertex layout used for creation of vertex buffer will be used. _layoutHandle)Sets vertex buffer for draw primitive. | ||||||||
| public static void | bgfx_encoder_set_uniform(long
the encoder _this, short uniform _handle, ByteBuffer pointer to uniform data _value, int number of elements. Passing _num)UINT16_MAX will use the _num passed on uniform creation.Sets shader uniform parameter for draw primitive. | ||||||||
| public static void | bgfx_encoder_set_uniform(long
the encoder _this, short uniform _handle, ShortBuffer pointer to uniform data _value, int number of elements. Passing _num)UINT16_MAX will use the _num passed on uniform creation.Sets shader uniform parameter for draw primitive. | ||||||||
| public static void | bgfx_encoder_set_uniform(long
the encoder _this, short uniform _handle, IntBuffer pointer to uniform data _value, int number of elements. Passing _num)UINT16_MAX will use the _num passed on uniform creation.Sets shader uniform parameter for draw primitive. | ||||||||
| public static void | bgfx_encoder_set_uniform(long
the encoder _this, short uniform _handle, LongBuffer pointer to uniform data _value, int number of elements. Passing _num)UINT16_MAX will use the _num passed on uniform creation.Sets shader uniform parameter for draw primitive. | ||||||||
| public static void | bgfx_encoder_set_uniform(long
the encoder _this, short uniform _handle, FloatBuffer pointer to uniform data _value, int number of elements. Passing _num)UINT16_MAX will use the _num passed on uniform creation.Sets shader uniform parameter for draw primitive. | ||||||||
| public static void | bgfx_encoder_set_uniform(long
the encoder _this, short uniform _handle, DoubleBuffer pointer to uniform data _value, int number of elements. Passing _num)UINT16_MAX will use the _num passed on uniform creation.Sets shader uniform parameter for draw primitive. | ||||||||
| public static void | bgfx_encoder_set_uniform(long _this, short _handle, short[] _value, int _num)
Array version of: | ||||||||
| public static void | bgfx_encoder_set_uniform(long _this, short _handle, int[] _value, int _num)
Array version of: | ||||||||
| public static void | bgfx_encoder_set_uniform(long _this, short _handle, long[] _value, int _num)
Array version of: | ||||||||
| public static void | bgfx_encoder_set_uniform(long _this, short _handle, float[] _value, int _num)
Array version of: | ||||||||
| public static void | bgfx_encoder_set_uniform(long _this, short _handle, double[] _value, int _num)
Array version of: | ||||||||
| public static void | bgfx_encoder_set_vertex_buffer(long
the encoder _this, int vertex stream _stream, short vertex buffer _handle, int first vertex to render _startVertex, int number of vertices to render _numVertices)Sets vertex buffer for draw primitive. | ||||||||
| public static void | bgfx_encoder_set_vertex_buffer_with_layout(long
the encoder _this, int vertex stream _stream, short vertex buffer _handle, int first vertex to render _startVertex, int number of vertices to render _numVertices, short vertex layout for aliasing vertex buffer. If invalid handle is used, vertex layout used for creation of vertex buffer will be used. _layoutHandle)Sets vertex buffer for draw primitive. | ||||||||
| public static void | bgfx_encoder_set_vertex_count(long
the encoder _this, int number of vertices _numVertices)Set number of vertices for auto generated vertices use in conjunction with | ||||||||
| public static void | bgfx_encoder_submit(long
the encoder _this, int view id _id, short program _handle, int depth for sorting _depth, int discard or preserve states. One or more of: _flags)
Submits primitive for rendering. | ||||||||
| public static void | bgfx_encoder_submit_indirect(long
the encoder _this, int view id _id, short program _handle, short indirect buffer _indirectHandle, int first element in indirect buffer _start, int number of draws _num, int depth for sorting _depth, int discard or preserve states. One or more of: _flags)
Submits primitive for rendering with index and instance data info from indirect buffer. | ||||||||
| public static void | bgfx_encoder_submit_indirect_count(long
the encoder _this, int view id _id, short program _program, short indirect buffer _indirectHandle, int first element in indirect buffer _start, short buffer for number of draws. Must be created with _numHandle, int BUFFER_INDEX32 and BUFFER_DRAW_INDIRECTelement in number buffer _numIndex, int max number of draws _numMax, int depth for sorting _depth, int discard or preserve states. One or more of: _flags)
Submits primitive for rendering with index and instance data info and draw count from indirect buffers. | ||||||||
| public static void | bgfx_encoder_submit_occlusion_query(long
the encoder _this, int view id _id, short program _program, short occlusion query _occlusionQuery, int depth for sorting _depth, int discard or preserve states. One or more of: _flags)
Submits primitive with occlusion query for rendering. | ||||||||
| public static void | |||||||||
| public static int | Returns: current frame number. This might be used in conjunction with double/multi buffering data outside the library and passing it to librarymake_ref
calls.capture frame with graphics debugger _capture)Advances to next frame. | ||||||||
| public static int | bgfx_get_avail_instance_data_buffer(int
number of required instances _num, int stride per instance _stride)Returns number of requested or maximum available instance buffer slots. | ||||||||
| public static int | bgfx_get_avail_transient_index_buffer(int
number of required indices _num, boolean set to _index32)true if input indices will be 32-bitReturns number of requested or maximum available indices. | ||||||||
| public static int | bgfx_get_avail_transient_vertex_buffer(int
number of required vertices _num, BGFXVertexLayout vertex layout _layout)Returns number of requested or maximum available vertices. | ||||||||
| public static BGFXCaps | |||||||||
| public static long | |||||||||
| public static String | |||||||||
| public static int | |||||||||
| public static int | Returns: occlusion query resulthandle to occlusion query object _handle, IntBuffer number of pixels that passed test. This argument can be _result)NULL if result of occlusion query is not needed.Retrieves occlusion query result from previous frame. | ||||||||
| public static int | |||||||||
| public static short | Returns: number of uniforms used by shadershader handle _handle, ShortBuffer bgfx_uniform_handle_t array where data will be storedReturns the number of uniforms and uniform handles used inside shader. | ||||||||
| public static short | |||||||||
| public static BGFXStats | |||||||||
| public static byte | Returns: the number of renderers written to_enumarray where supported renderers will be written _enum)Returns supported backend API renderers. | ||||||||
| public static byte | |||||||||
| public static short | Returns: invalid texture handle if attachment index is not correct, or frame buffer is created with native window handleframe buffer handle _handle, int frame buffer attachment index _attachment)Obtains texture handle of frame buffer attachment. | ||||||||
| public static void | bgfx_get_uniform_info(short
handle to uniform object _handle, BGFXUniformInfo uniform info _info)Retrieves uniform info. | ||||||||
| public static boolean | |||||||||
| public static boolean | |||||||||
| public static void | bgfx_init_ctor(BGFXInit
initialization parameters _init)Updates the specified initialization parameters with default values. | ||||||||
| public static boolean | Returns: true if a frame buffer with the same parameters can be creatednumber of attachments _num, BGFXAttachment attachment texture info _attachment)Validate frame buffer parameters. | ||||||||
| public static boolean | Returns: true if a texture with the same parameters can be createddepth dimension of volume texture _depth, boolean indicates that texture contains cubemap _cubeMap, int number of layers in texture array _numLayers, int texture format. One of: _format, long _flags)Validate texture parameters. | ||||||||
| public static BGFXMemory | |||||||||
| public static BGFXMemory | |||||||||
| public static BGFXMemory | |||||||||
| public static BGFXMemory | |||||||||
| public static BGFXMemory | |||||||||
| public static BGFXMemory | |||||||||
| public static BGFXMemory | |||||||||
| public static BGFXMemory | bgfx_make_ref_release(ByteBuffer
the data to reference _data, BGFXReleaseFunctionCallbackI callback function to release memory after use _releaseFn, long user data to be passed to callback function _userData)Makes reference to data to pass to bgfx. | ||||||||
| public static BGFXMemory | bgfx_make_ref_release(ShortBuffer
the data to reference _data, BGFXReleaseFunctionCallbackI callback function to release memory after use _releaseFn, long user data to be passed to callback function _userData)Makes reference to data to pass to bgfx. | ||||||||
| public static BGFXMemory | bgfx_make_ref_release(IntBuffer
the data to reference _data, BGFXReleaseFunctionCallbackI callback function to release memory after use _releaseFn, long user data to be passed to callback function _userData)Makes reference to data to pass to bgfx. | ||||||||
| public static BGFXMemory | bgfx_make_ref_release(LongBuffer
the data to reference _data, BGFXReleaseFunctionCallbackI callback function to release memory after use _releaseFn, long user data to be passed to callback function _userData)Makes reference to data to pass to bgfx. | ||||||||
| public static BGFXMemory | bgfx_make_ref_release(FloatBuffer
the data to reference _data, BGFXReleaseFunctionCallbackI callback function to release memory after use _releaseFn, long user data to be passed to callback function _userData)Makes reference to data to pass to bgfx. | ||||||||
| public static BGFXMemory | bgfx_make_ref_release(DoubleBuffer
the data to reference _data, BGFXReleaseFunctionCallbackI callback function to release memory after use _releaseFn, long user data to be passed to callback function _userData)Makes reference to data to pass to bgfx. | ||||||||
| public static BGFXMemory | bgfx_make_ref_release(PointerBuffer
the data to reference _data, BGFXReleaseFunctionCallbackI callback function to release memory after use _releaseFn, long user data to be passed to callback function _userData)Makes reference to data to pass to bgfx. | ||||||||
| public static int | Returns: frame number when the result will be availabletexture handle _handle, ByteBuffer destination buffer _data, int mip level _mip)Reads back texture content. | ||||||||
| public static int | Returns: frame number when the result will be availabletexture handle _handle, ShortBuffer destination buffer _data, int mip level _mip)Reads back texture content. | ||||||||
| public static int | Returns: frame number when the result will be availabletexture handle _handle, IntBuffer destination buffer _data, int mip level _mip)Reads back texture content. | ||||||||
| public static int | Returns: frame number when the result will be availabletexture handle _handle, FloatBuffer destination buffer _data, int mip level _mip)Reads back texture content. | ||||||||
| public static int | |||||||||
| public static int | |||||||||
| public static int | |||||||||
| public static void | bgfx_request_screen_shot(short
frame buffer handle _handle, ByteBuffer will be passed to _filePath)BGFXScreenShotCallbackRequests screen shot. | ||||||||
| public static void | bgfx_request_screen_shot(short
frame buffer handle _handle, CharSequence will be passed to _filePath)BGFXScreenShotCallbackRequests screen shot. | ||||||||
| public static void | bgfx_reset(int
back-buffer width _width, int back-buffer height _height, int reset flags. One or more of: _flags, int texture format. One of: _format)Resets graphic settings and back-buffer size. | ||||||||
| public static void | |||||||||
| public static int | |||||||||
| public static void | bgfx_set_compute_dynamic_index_buffer(int
compute stage _stage, short dynamic index buffer handle _handle, int buffer access. One of: _access)
Sets compute dynamic index buffer. | ||||||||
| public static void | bgfx_set_compute_dynamic_vertex_buffer(int
compute stage _stage, short dynamic vertex buffer handle _handle, int buffer access. One of: _access)
Sets compute dynamic vertex buffer. | ||||||||
| public static void | bgfx_set_compute_index_buffer(int
compute stage _stage, short index buffer handle _handle, int buffer access. One of: _access)
Sets compute index buffer. | ||||||||
| public static void | bgfx_set_compute_indirect_buffer(int
compute stage _stage, short indirect buffer handle _handle, int buffer access. One of: _access)
Sets compute indirect buffer. | ||||||||
| public static void | bgfx_set_compute_vertex_buffer(int
compute stage _stage, short vertex buffer handle _handle, int buffer access. One of: _access)
Sets compute vertex buffer. | ||||||||
| public static void | bgfx_set_condition(short
occlusion query handle _handle, boolean render if occlusion query is visible _visible)Sets condition for rendering. | ||||||||
| public static void | bgfx_set_debug(int
the debug flags. One or more of: _debug)
Sets debug flags. | ||||||||
| public static void | bgfx_set_dynamic_index_buffer(short
dynamic index buffer _handle, int first index to render _firstIndex, int number of indices to render _numIndices)Sets index buffer for draw primitive. | ||||||||
| public static void | bgfx_set_dynamic_vertex_buffer(int
vertex stream _stream, short dynamic vertex buffer _handle, int first vertex to render _startVertex, int number of vertices to render _numVertices)Sets vertex buffer for draw primitive. | ||||||||
| public static void | bgfx_set_dynamic_vertex_buffer_with_layout(int
vertex stream _stream, short dynamic vertex buffer _handle, int first vertex to render _startVertex, int number of vertices to render _numVertices, short vertex layout for aliasing vertex buffer. If invalid handle is used, vertex layout used for creation of vertex buffer will be used. _layoutHandle)Sets vertex buffer for draw primitive. | ||||||||
| public static void | bgfx_set_frame_buffer_name(short
frame buffer handle _handle, ByteBuffer frame buffer name _name)Set frame buffer debug name. | ||||||||
| public static void | bgfx_set_frame_buffer_name(short
frame buffer handle _handle, CharSequence frame buffer name _name)Set frame buffer debug name. | ||||||||
| public static void | bgfx_set_image(int
texture unit _stage, short texture handle _handle, int mip level _mip, int texture access. One of: _access, int
texture format. One of: _format)Sets compute image from texture. | ||||||||
| public static void | bgfx_set_index_buffer(short
index buffer _handle, int first index to render _firstIndex, int number of indices to render _numIndices)Sets index buffer for draw primitive. | ||||||||
| public static void | bgfx_set_index_buffer_name(short
static index buffer handle _handle, ByteBuffer static index buffer name _name)Set static index buffer debug name. | ||||||||
| public static void | bgfx_set_index_buffer_name(short
static index buffer handle _handle, CharSequence static index buffer name _name)Set static index buffer debug name. | ||||||||
| public static void | bgfx_set_instance_count(int
number of instances _numInstances)Sets number of instances for auto generated instances use in conjunction with | ||||||||
| public static void | bgfx_set_instance_data_buffer(BGFXInstanceDataBuffer
transient instance data buffer _idb, int first instance data _start, int number of data instances _num)Sets instance data buffer for draw primitive. | ||||||||
| public static void | bgfx_set_instance_data_from_dynamic_vertex_buffer(short
dynamic vertex buffer _handle, int first instance data _start, int number of data instances _num)Set instance data buffer for draw primitive. | ||||||||
| public static void | bgfx_set_instance_data_from_vertex_buffer(short
vertex buffer _handle, int first instance data _start, int number of data instances _num)Set instance data buffer for draw primitive. | ||||||||
| public static void | |||||||||
| public static void | |||||||||
| public static void | bgfx_set_palette_color(int
index into palette _index, FloatBuffer RGBA floating point values _rgba)Sets palette color value. | ||||||||
| public static void | |||||||||
| public static void | bgfx_set_palette_color_rgba8(int
index into palette _index, int packed 32-bit RGBA value _rgba)Sets palette color value. | ||||||||
| public static short | Returns: scissor cache indexposition x from the left corner of the window _x, int position y from the top corner of the window _y, int width of scissor region _width, int height of scissor region _height)Sets scissor for draw primitive. | ||||||||
| public static void | bgfx_set_scissor_cached(int
index in scissor cache. Passing _cache)UINT16_MAX unsets primitive scissor and primitive will use view scissor instead.Sets scissor from cache for draw primitive. | ||||||||
| public static void | bgfx_set_shader_name(short
shader handle _handle, ByteBuffer shader name _name)Sets shader debug name. | ||||||||
| public static void | bgfx_set_shader_name(short
shader handle _handle, CharSequence shader name _name)Sets shader debug name. | ||||||||
| public static void | bgfx_set_state(long
state flags. One or more of: _state, int blend factor used by _rgba)STATE_BLEND_FACTOR and STATE_BLEND_INV_FACTOR blend modesSets render states for draw primitive. | ||||||||
| public static void | bgfx_set_stencil(int
front stencil state. One or more of: _fstencil, int back stencil state. If back is set to _bstencil)STENCIL_NONE _fstencil is applied to both front and back facing primitives. One or more of:Sets stencil test state. | ||||||||
| public static void | bgfx_set_texture(int
texture unit _stage, short program sampler _sampler, short texture handle _handle, int texture sampling mode. _flags)UINT32_MAX uses texture sampling settings from the texture. One of:Sets texture stage for draw primitive. | ||||||||
| public static void | bgfx_set_texture_name(short
texture handle _handle, ByteBuffer texture name _name)Sets texture debug name. | ||||||||
| public static void | bgfx_set_texture_name(short
texture handle _handle, CharSequence texture name _name)Sets texture debug name. | ||||||||
| public static int | Returns: index into matrix cache in case the same model matrix has to be used for other draw primitive callpointer to first matrix in array _mtx)Sets model matrix for draw primitive. | ||||||||
| public static int | Returns: index into matrix cache in case the same model matrix has to be used for other draw primitive callpointer to first matrix in array _mtx)Sets model matrix for draw primitive. | ||||||||
| public static int | |||||||||
| public static void | bgfx_set_transform_cached(int
index in matrix cache _cache, int number of matrices from cache _num)Sets model matrix from matrix cache for draw primitive. | ||||||||
| public static void | bgfx_set_transient_index_buffer(BGFXTransientIndexBuffer
transient index buffer _tib, int first index to render _firstIndex, int number of indices to render _numIndices)Sets index buffer for draw primitive. | ||||||||
| public static void | bgfx_set_transient_vertex_buffer(int
vertex stream _stream, BGFXTransientVertexBuffer transient vertex buffer _tvb, int first vertex to render _startVertex, int number of vertices to render _numVertices)Sets vertex buffer for draw primitive. | ||||||||
| public static void | bgfx_set_transient_vertex_buffer_with_layout(int
vertex stream _stream, BGFXTransientVertexBuffer transient vertex buffer _tvb, int first vertex to render _startVertex, int number of vertices to render _numVertices, short vertex layout for aliasing vertex buffer. If invalid handle is used, vertex layout used for creation of vertex buffer will be used. _layoutHandle)Sets vertex buffer for draw primitive. | ||||||||
| public static void | bgfx_set_uniform(short
uniform _handle, ByteBuffer pointer to uniform data _value, int number of elements. Passing _num)UINT16_MAX will use the _num passed on uniform creation.Sets shader uniform parameter for draw primitive. | ||||||||
| public static void | bgfx_set_uniform(short
uniform _handle, ShortBuffer pointer to uniform data _value, int number of elements. Passing _num)UINT16_MAX will use the _num passed on uniform creation.Sets shader uniform parameter for draw primitive. | ||||||||
| public static void | bgfx_set_uniform(short
uniform _handle, IntBuffer pointer to uniform data _value, int number of elements. Passing _num)UINT16_MAX will use the _num passed on uniform creation.Sets shader uniform parameter for draw primitive. | ||||||||
| public static void | bgfx_set_uniform(short
uniform _handle, LongBuffer pointer to uniform data _value, int number of elements. Passing _num)UINT16_MAX will use the _num passed on uniform creation.Sets shader uniform parameter for draw primitive. | ||||||||
| public static void | bgfx_set_uniform(short
uniform _handle, FloatBuffer pointer to uniform data _value, int number of elements. Passing _num)UINT16_MAX will use the _num passed on uniform creation.Sets shader uniform parameter for draw primitive. | ||||||||
| public static void | bgfx_set_uniform(short
uniform _handle, DoubleBuffer pointer to uniform data _value, int number of elements. Passing _num)UINT16_MAX will use the _num passed on uniform creation.Sets shader uniform parameter for draw primitive. | ||||||||
| public static void | |||||||||
| public static void | |||||||||
| public static void | |||||||||
| public static void | |||||||||
| public static void | |||||||||
| public static void | bgfx_set_vertex_buffer(int
vertex stream _stream, short vertex buffer _handle, int first vertex to render _startVertex, int number of vertices to render _numVertices)Sets vertex buffer for draw primitive. | ||||||||
| public static void | bgfx_set_vertex_buffer_name(short
static vertex buffer handle _handle, ByteBuffer static vertex buffer name _name)Set static vertex buffer debug name. | ||||||||
| public static void | bgfx_set_vertex_buffer_name(short
static vertex buffer handle _handle, CharSequence static vertex buffer name _name)Set static vertex buffer debug name. | ||||||||
| public static void | bgfx_set_vertex_buffer_with_layout(int
vertex stream _stream, short vertex buffer _handle, int first vertex to render _startVertex, int number of vertices to render _numVertices, short vertex layout for aliasing vertex buffer. If invalid handle is used, vertex layout used for creation of vertex buffer will be used. _layoutHandle)Sets vertex buffer for draw primitive. | ||||||||
| public static void | bgfx_set_vertex_count(int
number of vertices _numVertices)Set number of vertices for auto generated vertices use in conjunction with | ||||||||
| public static void | bgfx_set_view_clear(int
view id _id, int clear flags. Use _flags, int CLEAR_NONE to remove any clear operation. One or more of:color clear value _rgba, float depth clear value _depth, int stencil clear value _stencil)Sets view clear flags. | ||||||||
| public static void | bgfx_set_view_clear_mrt(int
view id _id, int clear flags. Use _flags, float CLEAR_NONE to remove any clear operation. One or more of:depth clear value _depth, int stencil clear value _stencil, byte palette index for frame buffer attachment 0 _0, byte palette index for frame buffer attachment 1 _1, byte palette index for frame buffer attachment 2 _2, byte palette index for frame buffer attachment 3 _3, byte palette index for frame buffer attachment 4 _4, byte palette index for frame buffer attachment 5 _5, byte palette index for frame buffer attachment 6 _6, byte palette index for frame buffer attachment 7 _7)Sets view clear flags with different clear color for each frame buffer texture. | ||||||||
| public static void | bgfx_set_view_frame_buffer(int
view id _id, short frame buffer handle. Passing _handle)INVALID_HANDLE as frame buffer handle will draw primitives from this view into default back buffer.Sets view frame buffer. | ||||||||
| public static void | bgfx_set_view_mode(int
view id _id, int view sort mode. One of: _mode)
Sets view sorting mode. | ||||||||
| public static void | |||||||||
| public static void | |||||||||
| public static void | bgfx_set_view_order(int
view id _id, int number of views to remap _num, ShortBuffer view remap id table. Passing _order)NULL will reset view ids to default statePost submit view reordering. | ||||||||
| public static void | |||||||||
| public static void | bgfx_set_view_rect(int
view id _id, int position x from the left corner of the window _x, int position y from the top corner of the window _y, int width of view port region _width, int height of view port region _height)Sets view rectangle. | ||||||||
| public static void | bgfx_set_view_rect_ratio(int
view id _id, int position x from the left corner of the window _x, int position y from the top corner of the window _y, int width and height will be set in respect to back-buffer size. One of: _ratio)
Sets view rectangle. | ||||||||
| public static void | bgfx_set_view_scissor(int
view id _id, int position x from the left corner of the window _x, int position y from the top corner of the window _y, int width of scissor region _width, int height of scissor region _height)Sets view scissor. | ||||||||
| public static void | bgfx_set_view_transform(int
view id _id, ByteBuffer view matrix _view, ByteBuffer projection matrix _proj)Sets view's view matrix and projection matrix, all draw primitives in this view will use these two matrices. | ||||||||
| public static void | bgfx_set_view_transform(int
view id _id, FloatBuffer view matrix _view, FloatBuffer projection matrix _proj)Sets view's view matrix and projection matrix, all draw primitives in this view will use these two matrices. | ||||||||
| public static void | |||||||||
| public static void | |||||||||
| public static long | |||||||||
| public static long | |||||||||
| public static long | |||||||||
| public static long | |||||||||
| public static long | |||||||||
| public static long | |||||||||
| public static long | |||||||||
| public static long | |||||||||
| public static long | |||||||||
| public static long | |||||||||
| public static long | |||||||||
| public static long | |||||||||
| public static long | |||||||||
| public static long | |||||||||
| public static int | |||||||||
| public static int | |||||||||
| public static void | bgfx_submit(int
view id _id, short program _program, int depth for sorting _depth, int which states to discard for next draw. One or more of: _flags)
Submits primitive for rendering. | ||||||||
| public static void | bgfx_submit_indirect(int
view id _id, short program _program, short indirect buffer _indirectHandle, int first element in indirect buffer _start, int number of draws _num, int depth for sorting _depth, int which states to discard for next draw. One or more of: _flags)
Submits primitive for rendering with index and instance data info from indirect buffer. | ||||||||
| public static void | bgfx_submit_indirect_count(int
view id _id, short program _program, short indirect buffer _indirectHandle, int first element in indirect buffer _start, short buffer for number of draws. Must be created with _numHandle, int BUFFER_INDEX32 and BUFFER_DRAW_INDIRECTelement in number buffer _numIndex, int max number of draws _numMax, int depth for sorting _depth, int which states to discard for next draw. One or more of: _flags)
Submits primitive for rendering with index and instance data info and draw count from indirect buffers. | ||||||||
| public static void | bgfx_submit_occlusion_query(int
view id _id, short program _program, short occlusion query _occlusionQuery, int depth for sorting _depth, int which states to discard for next draw. One or more of: _flags)
Submits primitive with occlusion query for rendering. | ||||||||
| public static int | Returns: number of output indices after conversiondestination index buffer. If this argument is _dst, ByteBuffer NULL function will return number of indices after conversionsource indices _indices, boolean set to _index32)true if input indices are 32-bitConverts index buffer for use with different primitive topologies. | ||||||||
| public static int | Returns: number of output indices after conversiondestination index buffer. If this argument is _dst, ShortBuffer NULL function will return number of indices after conversionsource indices _indices, boolean set to _index32)true if input indices are 32-bitConverts index buffer for use with different primitive topologies. | ||||||||
| public static int | Returns: number of output indices after conversiondestination index buffer. If this argument is _dst, IntBuffer NULL function will return number of indices after conversionsource indices _indices, boolean set to _index32)true if input indices are 32-bitConverts index buffer for use with different primitive topologies. | ||||||||
| public static int | bgfx_topology_convert(int _conversion, short[] _dst, short[] _indices, boolean _index32)
Array version of: | ||||||||
| public static int | bgfx_topology_convert(int _conversion, int[] _dst, int[] _indices, boolean _index32)
Array version of: | ||||||||
| public static void | bgfx_topology_sort_tri_list(int
sort order. One of: _sort, ByteBuffer destination index buffer _dst, FloatBuffer direction (vector must be normalized) _dir, FloatBuffer position _pos, ByteBuffer pointer to first vertex represented as float x, y, z. Must contain at least number of vertices referenced by index buffer. _vertices, int vertex stride _stride, ByteBuffer source indices _indices, boolean set to _index32)true if input indices are 32-bitSorts indices. | ||||||||
| public static void | bgfx_topology_sort_tri_list(int
sort order. One of: _sort, ShortBuffer destination index buffer _dst, FloatBuffer direction (vector must be normalized) _dir, FloatBuffer position _pos, ByteBuffer pointer to first vertex represented as float x, y, z. Must contain at least number of vertices referenced by index buffer. _vertices, int vertex stride _stride, ShortBuffer source indices _indices, boolean set to _index32)true if input indices are 32-bitSorts indices. | ||||||||
| public static void | bgfx_topology_sort_tri_list(int
sort order. One of: _sort, IntBuffer destination index buffer _dst, FloatBuffer direction (vector must be normalized) _dir, FloatBuffer position _pos, ByteBuffer pointer to first vertex represented as float x, y, z. Must contain at least number of vertices referenced by index buffer. _vertices, int vertex stride _stride, IntBuffer source indices _indices, boolean set to _index32)true if input indices are 32-bitSorts indices. | ||||||||
| public static void | bgfx_topology_sort_tri_list(int _sort, ByteBuffer _dst, float[] _dir, float[] _pos, ByteBuffer _vertices, int _stride, ByteBuffer _indices, boolean _index32)
Array version of: | ||||||||
| public static void | bgfx_topology_sort_tri_list(int _sort, short[] _dst, float[] _dir, float[] _pos, ByteBuffer _vertices, int _stride, short[] _indices, boolean _index32)
Array version of: | ||||||||
| public static void | bgfx_topology_sort_tri_list(int _sort, int[] _dst, float[] _dir, float[] _pos, ByteBuffer _vertices, int _stride, int[] _indices, boolean _index32)
Array version of: | ||||||||
| public static void | |||||||||
| public static void | bgfx_update_dynamic_index_buffer(short
dynamic index buffer handle _handle, int start index _startIndex, BGFXMemory index buffer data _mem)Updates dynamic index buffer. | ||||||||
| public static void | bgfx_update_dynamic_vertex_buffer(short
dynamic vertex buffer handle _handle, int start vertex _startVertex, BGFXMemory vertex buffer data _mem)Updates dynamic vertex buffer. | ||||||||
| public static void | bgfx_update_texture_2d(short
texture handle _handle, int layers in texture array _layer, int mip level _mip, int x offset in texture _x, int y offset in texture _y, int width of texture block _width, int height of texture block _height, BGFXMemory texture update data _mem, int pitch of input image (bytes). When _pitch)_pitch is set to UINT16_MAX, it will be calculated internally based on _width.Updates 2D texture. | ||||||||
| public static void | bgfx_update_texture_3d(short
texture handle _handle, int mip level _mip, int x offset in texture _x, int y offset in texture _y, int z offset in texture _z, int width of texture block _width, int height of texture block _height, int depth of texture block _depth, BGFXMemory texture update data _mem)Updates 3D texture. | ||||||||
| public static void | bgfx_update_texture_cube(short
texture handle _handle, int layers in texture array _layer, byte cubemap side, where 0 is +X, 1 is -X, 2 is +Y, 3 is -Y, 4 is +Z, and 5 is -Z.
_side, int
. One of:
mip level _mip, int x offset in texture _x, int y offset in texture _y, int width of texture block _width, int height of texture block _height, BGFXMemory texture update data _mem, int pitch of input image (bytes). When _pitch)_pitch is set to UINT16_MAX, it will be calculated internally based on _width.Updates Cube texture. | ||||||||
| public static void | bgfx_vertex_convert(BGFXVertexLayout
destination vertex stream layout _dstLayout, ByteBuffer destination vertex stream _dstData, BGFXVertexLayout source vertex stream layout _srcLayout, ByteBuffer source vertex stream data _srcData, int number of vertices to convert from source to destination _num)Converts vertex stream data from one vertex stream format to another. | ||||||||
| public static BGFXVertexLayout | Returns: itselfthe vertex layout _this, int _attrib, int number of elements. One of: _num, int _type, boolean
when using fixed point attribute type (f.e. _normalized, boolean ATTRIB_TYPE_UINT8) value will be normalized for vertex shader usage. When normalized is set to
true, ATTRIB_TYPE_UINT8 value in range 0-255 will be in range 0.0-1.0 in vertex shader.packaging rule for _asInt)vertexPack, vertexUnpack, and vertexConvert for ATTRIB_TYPE_UINT8 and ATTRIB_TYPE_INT16. Unpacking
code must be implemented inside vertex shader.Adds attribute to a vertex layout. | ||||||||
| public static BGFXVertexLayout | Returns: itselfthe vertex layout _this, int _renderer)Start a vertex layout. | ||||||||
| public static void | bgfx_vertex_layout_decode(BGFXVertexLayout
the vertex layout _this, int the attribute to decode _attrib, ByteBuffer number of elements _num, IntBuffer element type _type, ByteBuffer normalized flag _normalized, ByteBuffer packaging flag _asInt)Decodes attribute. | ||||||||
| public static void | bgfx_vertex_layout_decode(BGFXVertexLayout _this, int _attrib, ByteBuffer _num, int[] _type, ByteBuffer _normalized, ByteBuffer _asInt)
Array version of: | ||||||||
| public static void | |||||||||
| public static boolean | Returns: true if VertexLayout contains attributethe vertex layout _this, int _attr)Returns true if | ||||||||
| public static BGFXVertexLayout | Returns: itselfthe vertex layout _this, int the number of bytes to skip _num)Skips | ||||||||
| public static void | bgfx_vertex_pack(FloatBuffer
value to be packed into vertex stream _input, boolean true if input value is already normalized _inputNormalized, int _attr, BGFXVertexLayout vertex stream layout _layout, ByteBuffer destination vertex stream where data will be packed _data, int vertex index that will be modified _index)Packs vertex attribute into vertex stream format. | ||||||||
| public static void | bgfx_vertex_pack(float[] _input, boolean _inputNormalized, int _attr, BGFXVertexLayout _layout, ByteBuffer _data, int _index)
Array version of: | ||||||||
| public static void | bgfx_vertex_unpack(FloatBuffer
result of unpacking _output, int _attr, BGFXVertexLayout vertex stream layout _layout, ByteBuffer source vertex stream from where data will be unpacked _data, int vertex index that will be unpacked _index)Unpacks vertex attribute from vertex stream format. | ||||||||
| public static void | bgfx_vertex_unpack(float[] _output, int _attr, BGFXVertexLayout _layout, ByteBuffer _data, int _index)
Array version of: | ||||||||
| public static int | Returns: number of unique vertices after vertex weldingwelded vertices remapping table. The size of buffer must be the same as number of vertices. _output, BGFXVertexLayout vertex stream layout _layout, ByteBuffer vertex stream _data, boolean set to _index32, float true if input indices are 32-biterror tolerance for vertex position comparison _epsilon)Welds vertices. | ||||||||
| public static int | Returns: number of unique vertices after vertex weldingwelded vertices remapping table. The size of buffer must be the same as number of vertices. _output, BGFXVertexLayout vertex stream layout _layout, ByteBuffer vertex stream _data, boolean set to _index32, float true if input indices are 32-biterror tolerance for vertex position comparison _epsilon)Welds vertices. | ||||||||
| public static int | Returns: number of unique vertices after vertex weldingwelded vertices remapping table. The size of buffer must be the same as number of vertices. _output, BGFXVertexLayout vertex stream layout _layout, ByteBuffer vertex stream _data, boolean set to _index32, float true if input indices are 32-biterror tolerance for vertex position comparison _epsilon)Welds vertices. | ||||||||
| public static int | bgfx_weld_vertices(short[] _output, BGFXVertexLayout _layout, ByteBuffer _data, boolean _index32, float _epsilon)
Array version of: | ||||||||
| public static int | bgfx_weld_vertices(int[] _output, BGFXVertexLayout _layout, ByteBuffer _data, boolean _index32, float _epsilon)
Array version of: | ||||||||
| public static SharedLibrary | |||||||||
| public static long | |||||||||
| public static void | nbgfx_alloc_instance_data_buffer(long _idb, int _num, short _stride)
Unsafe version of: | ||||||||
| public static int | |||||||||
| public static boolean | nbgfx_alloc_transient_buffers(long _tvb, long _layout, int _numVertices, long _tib, int _numIndices, boolean _index32)
Unsafe version of: | ||||||||
| public static void | nbgfx_alloc_transient_index_buffer(long _tib, int _num, boolean _index32)
Unsafe version of: | ||||||||
| public static void | nbgfx_alloc_transient_vertex_buffer(long _tvb, int _num, long _layout)
Unsafe version of: | ||||||||
| public static void | nbgfx_attachment_init(long _this, short _handle, int _access, short _layer, short _numLayers, short _mip, byte _resolve)
Unsafe version of: | ||||||||
| public static void | nbgfx_blit(short _id, short _dst, byte _dstMip, short _dstX, short _dstY, short _dstZ, short _src, byte _srcMip, short _srcX, short _srcY, short _srcZ, short _width, short _height, short _depth)
Unsafe version of: | ||||||||
| public static void | nbgfx_calc_texture_size(long _info, short _width, short _height, short _depth, boolean _cubeMap, boolean _hasMips, short _numLayers, int _format)
Unsafe version of: | ||||||||
| public static long | |||||||||
| public static short | nbgfx_create_dynamic_index_buffer(int _num, short _flags)
Unsafe version of: | ||||||||
| public static short | nbgfx_create_dynamic_index_buffer_mem(long _mem, short _flags)
Unsafe version of: | ||||||||
| public static short | nbgfx_create_dynamic_vertex_buffer(int _num, long _layout, short _flags)
Unsafe version of: | ||||||||
| public static short | nbgfx_create_dynamic_vertex_buffer_mem(long _mem, long _layout, short _flags)
Unsafe version of: | ||||||||
| public static short | nbgfx_create_frame_buffer(short _width, short _height, int _format, long _textureFlags)
Unsafe version of: | ||||||||
| public static short | nbgfx_create_frame_buffer_from_attachment(byte
number of attachments _num, long _attachment, boolean _destroyTextures)Unsafe version of: | ||||||||
| public static short | nbgfx_create_frame_buffer_from_handles(byte
number of texture attachments _num, long _handles, boolean _destroyTextures)Unsafe version of: | ||||||||
| public static short | nbgfx_create_frame_buffer_from_nwh(long _nwh, short _width, short _height, int _format, int _depthFormat)
Unsafe version of: | ||||||||
| public static short | |||||||||
| public static short | |||||||||
| public static short | nbgfx_create_texture(long _mem, long _flags, byte _skip, long _info)
Unsafe version of: | ||||||||
| public static short | nbgfx_create_texture_2d(short _width, short _height, boolean _hasMips, short _numLayers, int _format, long _flags, long _mem)
Unsafe version of: | ||||||||
| public static short | nbgfx_create_texture_2d_scaled(int _ratio, boolean _hasMips, short _numLayers, int _format, long _flags)
Unsafe version of: | ||||||||
| public static short | nbgfx_create_texture_3d(short _width, short _height, short _depth, boolean _hasMips, int _format, long _flags, long _mem)
Unsafe version of: | ||||||||
| public static short | nbgfx_create_texture_cube(short _size, boolean _hasMips, short _numLayers, int _format, long _flags, long _mem)
Unsafe version of: | ||||||||
| public static short | |||||||||
| public static short | nbgfx_create_vertex_buffer(long _mem, long _layout, short _flags)
Unsafe version of: | ||||||||
| public static short | |||||||||
| public static void | |||||||||
| public static void | nbgfx_dbg_text_image(short _x, short _y, short _width, short _height, long _data, short _pitch)
Unsafe version of: | ||||||||
| public static void | nbgfx_dbg_text_printf(short _x, short _y, byte _attr, long _format)
Unsafe version of: | ||||||||
| public static void | nbgfx_dbg_text_vprintf(short _x, short _y, byte _attr, long _format, long _argList)
Unsafe version of: | ||||||||
| public static void | |||||||||
| public static void | nbgfx_dispatch(short _id, short _program, int _numX, int _numY, int _numZ, byte _flags)
Unsafe version of: | ||||||||
| public static void | nbgfx_dispatch_indirect(short _id, short _program, short _indirectHandle, short _start, short _num, byte _flags)
Unsafe version of: | ||||||||
| public static int | nbgfx_encoder_alloc_transform(long _this, long _transform, short _num)
Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_blit(long _this, short _id, short _dst, byte _dstMip, short _dstX, short _dstY, short _dstZ, short _src, byte _srcMip, short _srcX, short _srcY, short _srcZ, short _width, short _height, short _depth)
Unsafe version of: | ||||||||
| public static void | |||||||||
| public static void | nbgfx_encoder_dispatch(long _this, short _id, short _handle, int _numX, int _numY, int _numZ, byte _flags)
Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_dispatch_indirect(long _this, short _id, short _handle, short _indirectHandle, short _start, short _num, byte _flags)
Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_set_compute_dynamic_index_buffer(long _this, byte _stage, short _handle, int _access)
Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_set_compute_dynamic_vertex_buffer(long _this, byte _stage, short _handle, int _access)
Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_set_compute_index_buffer(long _this, byte _stage, short _handle, int _access)
Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_set_compute_indirect_buffer(long _this, byte _stage, short _handle, int _access)
Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_set_compute_vertex_buffer(long _this, byte _stage, short _handle, int _access)
Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_set_dynamic_vertex_buffer(long _this, byte _stream, short _handle, int _startVertex, int _numVertices)
Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_set_dynamic_vertex_buffer_with_layout(long _this, byte _stream, short _handle, int _startVertex, int _numVertices, short _layoutHandle)
Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_set_image(long _this, byte _stage, short _handle, byte _mip, int _access, int _format)
Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_set_instance_data_buffer(long _this, long _idb, int _start, int _num)
Unsafe version of: | ||||||||
| public static void | |||||||||
| public static short | nbgfx_encoder_set_scissor(long _this, short _x, short _y, short _width, short _height)
Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_set_scissor_cached(long _this, short _cache)
Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_set_texture(long _this, byte _stage, short _sampler, short _handle, int _flags)
Unsafe version of: | ||||||||
| public static int | nbgfx_encoder_set_transform(long _this, long _mtx, short
number of matrices in array _num)Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_set_transform_cached(long _this, int _cache, short _num)
Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_set_transient_index_buffer(long _this, long _tib, int _firstIndex, int _numIndices)
Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_set_transient_vertex_buffer(long _this, byte _stream, long _tvb, int _startVertex, int _numVertices)
Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_set_transient_vertex_buffer_with_layout(long _this, byte _stream, long _tvb, int _startVertex, int _numVertices, short _layoutHandle)
Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_set_uniform(long _this, short _handle, long _value, short _num)
Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_set_vertex_buffer(long _this, byte _stream, short _handle, int _startVertex, int _numVertices)
Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_set_vertex_buffer_with_layout(long _this, byte _stream, short _handle, int _startVertex, int _numVertices, short _layoutHandle)
Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_submit(long _this, short _id, short _handle, int _depth, byte _flags)
Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_submit_indirect(long _this, short _id, short _handle, short _indirectHandle, short _start, short _num, int _depth, byte _flags)
Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_submit_indirect_count(long _this, short _id, short _program, short _indirectHandle, short _start, short _numHandle, int _numIndex, short _numMax, int _depth, byte _flags)
Unsafe version of: | ||||||||
| public static void | nbgfx_encoder_submit_occlusion_query(long _this, short _id, short _program, short _occlusionQuery, int _depth, byte _flags)
Unsafe version of: | ||||||||
| public static void | |||||||||
| public static int | nbgfx_get_avail_instance_data_buffer(int _num, short _stride)
Unsafe version of: | ||||||||
| public static int | nbgfx_get_avail_transient_vertex_buffer(int _num, long _layout)
Unsafe version of: | ||||||||
| public static long | |||||||||
| public static long | |||||||||
| public static int | |||||||||
| public static short | nbgfx_get_shader_uniforms(short _handle, long _uniforms, short
maximum capacity of _max)_uniformsUnsafe version of: | ||||||||
| public static long | |||||||||
| public static byte | nbgfx_get_supported_renderers(byte
maximum number of elements in _max, long _enum)_enum arrayUnsafe version of: | ||||||||
| public static short | |||||||||
| public static void | |||||||||
| public static boolean | |||||||||
| public static void | |||||||||
| public static boolean | |||||||||
| public static boolean | nbgfx_is_texture_valid(short _depth, boolean _cubeMap, short _numLayers, int _format, long _flags)
Unsafe version of: | ||||||||
| public static long | |||||||||
| public static long | nbgfx_make_ref_release(long _data, int
the number of bytes to reference _size, long _releaseFn, long _userData)Unsafe version of: | ||||||||
| public static int | |||||||||
| public static void | |||||||||
| public static void | |||||||||
| public static void | nbgfx_set_compute_dynamic_index_buffer(byte _stage, short _handle, int _access)
Unsafe version of: | ||||||||
| public static void | nbgfx_set_compute_dynamic_vertex_buffer(byte _stage, short _handle, int _access)
Unsafe version of: | ||||||||
| public static void | nbgfx_set_compute_index_buffer(byte _stage, short _handle, int _access)
Unsafe version of: | ||||||||
| public static void | nbgfx_set_compute_indirect_buffer(byte _stage, short _handle, int _access)
Unsafe version of: | ||||||||
| public static void | nbgfx_set_compute_vertex_buffer(byte _stage, short _handle, int _access)
Unsafe version of: | ||||||||
| public static void | nbgfx_set_dynamic_vertex_buffer(byte _stream, short _handle, int _startVertex, int _numVertices)
Unsafe version of: | ||||||||
| public static void | nbgfx_set_dynamic_vertex_buffer_with_layout(byte _stream, short _handle, int _startVertex, int _numVertices, short _layoutHandle)
Unsafe version of: | ||||||||
| public static void | nbgfx_set_frame_buffer_name(short _handle, long _name, int
frame buffer name length (if length is _len)INT32_MAX, it's expected that _name is zero terminated string)Unsafe version of: | ||||||||
| public static void | nbgfx_set_image(byte _stage, short _handle, byte _mip, int _access, int _format)
Unsafe version of: | ||||||||
| public static void | nbgfx_set_index_buffer_name(short _handle, long _name, int
static index buffer name length (if length is _len)INT32_MAX, it's expected that _name is zero terminated string)Unsafe version of: | ||||||||
| public static void | nbgfx_set_instance_data_buffer(long _idb, int _start, int _num)
Unsafe version of: | ||||||||
| public static void | |||||||||
| public static void | |||||||||
| public static void | |||||||||
| public static short | |||||||||
| public static void | |||||||||
| public static void | nbgfx_set_shader_name(short _handle, long _name, int
shader name length (if length is _len)INT32_MAX, it's expected that _name is zero terminated string)Unsafe version of: | ||||||||
| public static void | nbgfx_set_texture(byte _stage, short _sampler, short _handle, int _flags)
Unsafe version of: | ||||||||
| public static void | nbgfx_set_texture_name(short _handle, long _name, int
texture name length (if length is _len)INT32_MAX, it's expected that _name is zero terminated string)Unsafe version of: | ||||||||
| public static int | nbgfx_set_transform(long _mtx, short
number of matrices in array _num)Unsafe version of: | ||||||||
| public static void | |||||||||
| public static void | nbgfx_set_transient_index_buffer(long _tib, int _firstIndex, int _numIndices)
Unsafe version of: | ||||||||
| public static void | nbgfx_set_transient_vertex_buffer(byte _stream, long _tvb, int _startVertex, int _numVertices)
Unsafe version of: | ||||||||
| public static void | nbgfx_set_transient_vertex_buffer_with_layout(byte _stream, long _tvb, int _startVertex, int _numVertices, short _layoutHandle)
Unsafe version of: | ||||||||
| public static void | |||||||||
| public static void | nbgfx_set_vertex_buffer(byte _stream, short _handle, int _startVertex, int _numVertices)
Unsafe version of: | ||||||||
| public static void | nbgfx_set_vertex_buffer_name(short _handle, long _name, int
static vertex buffer name length (if length is _len)INT32_MAX, it's expected that _name is zero terminated string)Unsafe version of: | ||||||||
| public static void | nbgfx_set_vertex_buffer_with_layout(byte _stream, short _handle, int _startVertex, int _numVertices, short _layoutHandle)
Unsafe version of: | ||||||||
| public static void | nbgfx_set_view_clear(short _id, short _flags, int _rgba, float _depth, byte _stencil)
Unsafe version of: | ||||||||
| public static void | nbgfx_set_view_clear_mrt(short _id, short _flags, float _depth, byte _stencil, byte _0, byte _1, byte _2, byte _3, byte _4, byte _5, byte _6, byte _7)
Unsafe version of: | ||||||||
| public static void | |||||||||
| public static void | |||||||||
| public static void | |||||||||
| public static void | |||||||||
| public static void | nbgfx_set_view_rect(short _id, short _x, short _y, short _width, short _height)
Unsafe version of: | ||||||||
| public static void | nbgfx_set_view_rect_ratio(short _id, short _x, short _y, int _ratio)
Unsafe version of: | ||||||||
| public static void | nbgfx_set_view_scissor(short _id, short _x, short _y, short _width, short _height)
Unsafe version of: | ||||||||
| public static void | |||||||||
| public static void | |||||||||
| public static void | nbgfx_submit_indirect(short _id, short _program, short _indirectHandle, short _start, short _num, int _depth, byte _flags)
Unsafe version of: | ||||||||
| public static void | nbgfx_submit_indirect_count(short _id, short _program, short _indirectHandle, short _start, short _numHandle, int _numIndex, short _numMax, int _depth, byte _flags)
Unsafe version of: | ||||||||
| public static void | nbgfx_submit_occlusion_query(short _id, short _program, short _occlusionQuery, int _depth, byte _flags)
Unsafe version of: | ||||||||
| public static int | nbgfx_topology_convert(int _conversion, long _dst, int
destination index buffer in bytes. It must be large enough to contain output indices. If destination size is insufficient index buffer will be
truncated. _dstSize, long _indices, int number of input indices _numIndices, boolean _index32)Unsafe version of: | ||||||||
| public static void | nbgfx_topology_sort_tri_list(int _sort, long _dst, int
destination index buffer in bytes. It must be large enough to contain output indices. If destination size is insufficient index buffer will be
truncated. _dstSize, long _dir, long _pos, long _vertices, int _stride, long _indices, int number of input indices _numIndices, boolean _index32)Unsafe version of: | ||||||||
| public static void | |||||||||
| public static void | nbgfx_update_dynamic_index_buffer(short _handle, int _startIndex, long _mem)
Unsafe version of: | ||||||||
| public static void | nbgfx_update_dynamic_vertex_buffer(short _handle, int _startVertex, long _mem)
Unsafe version of: | ||||||||
| public static void | nbgfx_update_texture_2d(short _handle, short _layer, byte _mip, short _x, short _y, short _width, short _height, long _mem, short _pitch)
Unsafe version of: | ||||||||
| public static void | nbgfx_update_texture_3d(short _handle, byte _mip, short _x, short _y, short _z, short _width, short _height, short _depth, long _mem)
Unsafe version of: | ||||||||
| public static void | nbgfx_update_texture_cube(short _handle, short _layer, byte _side, byte _mip, short _x, short _y, short _width, short _height, long _mem, short _pitch)
Unsafe version of: | ||||||||
| public static void | nbgfx_vertex_convert(long _dstLayout, long _dstData, long _srcLayout, long _srcData, int _num)
Unsafe version of: | ||||||||
| public static long | nbgfx_vertex_layout_add(long _this, int _attrib, byte _num, int _type, boolean _normalized, boolean _asInt)
Unsafe version of: | ||||||||
| public static long | |||||||||
| public static void | nbgfx_vertex_layout_decode(long _this, int _attrib, long _num, long _type, long _normalized, long _asInt)
Unsafe version of: | ||||||||
| public static void | |||||||||
| public static boolean | |||||||||
| public static long | |||||||||
| public static void | nbgfx_vertex_pack(long _input, boolean _inputNormalized, int _attr, long _layout, long _data, int _index)
Unsafe version of: | ||||||||
| public static void | nbgfx_vertex_unpack(long _output, int _attr, long _layout, long _data, int _index)
Unsafe version of: | ||||||||
| public static int | nbgfx_weld_vertices(long _output, long _layout, long _data, int
number of vertices in vertex stream _num, boolean _index32, float _epsilon)Unsafe version of: |