diff --git a/bgfx.html b/bgfx.html index 9568bd429..48ecc89bd 100644 --- a/bgfx.html +++ b/bgfx.html @@ -4306,7 +4306,7 @@ All state is cleared after calling bgfx::submit.
1-Blend factor
Blend Equaation
+Blend Equation
Warning
-doxygenfunction: Unable to resolve function “bgfx::submit” with arguments (ViewId, ProgramHandle, IndirectBufferHandle, uint16_t, uint16_t, uint32_t, uint8_t) in doxygen xml output for project “bgfx” from directory: ../../.build/docs/xml. -Potential matches: +
Submit primitive for rendering with index and instance data info from indirect buffer.
+Availability depends on: BGFX_CAPS_DRAW_INDIRECT.
C99’s equivalent binding is bgfx_submit_indirect.
- void submit(ViewId _id, ProgramHandle _program, IndirectBufferHandle _indirectHandle, uint32_t _start = 0, uint32_t _num = 1, uint32_t _depth = 0, uint8_t _flags = BGFX_DISCARD_ALL)
-- void submit(ViewId _id, ProgramHandle _program, IndirectBufferHandle _indirectHandle, uint32_t _start, IndexBufferHandle _numHandle, uint32_t _numIndex = 0, uint32_t _numMax = UINT32_MAX, uint32_t _depth = 0, uint8_t _flags = BGFX_DISCARD_ALL)
-- void submit(ViewId _id, ProgramHandle _program, OcclusionQueryHandle _occlusionQuery, uint32_t _depth = 0, uint8_t _flags = BGFX_DISCARD_ALL)
-- void submit(ViewId _id, ProgramHandle _program, uint32_t _depth = 0, uint8_t _flags = BGFX_DISCARD_ALL)
-Warning
-doxygenfunction: Unable to resolve function “bgfx::submit” with arguments (ViewId, ProgramHandle, IndirectBufferHandle, uint16_t, IndexBufferHandle, uint32_t, uint16_t, uint32_t, uint8_t) in doxygen xml output for project “bgfx” from directory: ../../.build/docs/xml. -Potential matches: +
_id – [in] View id.
_program – [in] Program.
_indirectHandle – [in] Indirect buffer.
_start – [in] First element in indirect buffer.
_num – [in] Number of draws.
_depth – [in] Depth for sorting.
_flags – [in] Discard or preserve states. See BGFX_DISCARD_*.
Submit primitive for rendering with index and instance data info and draw count from indirect buffers.
+Availability depends on:BGFX_CAPS_DRAW_INDIRECT_COUNT.
C99’s equivalent binding is bgfx_submit_indirect_count.
- void submit(ViewId _id, ProgramHandle _program, IndirectBufferHandle _indirectHandle, uint32_t _start = 0, uint32_t _num = 1, uint32_t _depth = 0, uint8_t _flags = BGFX_DISCARD_ALL)
-- void submit(ViewId _id, ProgramHandle _program, IndirectBufferHandle _indirectHandle, uint32_t _start, IndexBufferHandle _numHandle, uint32_t _numIndex = 0, uint32_t _numMax = UINT32_MAX, uint32_t _depth = 0, uint8_t _flags = BGFX_DISCARD_ALL)
-- void submit(ViewId _id, ProgramHandle _program, OcclusionQueryHandle _occlusionQuery, uint32_t _depth = 0, uint8_t _flags = BGFX_DISCARD_ALL)
-- void submit(ViewId _id, ProgramHandle _program, uint32_t _depth = 0, uint8_t _flags = BGFX_DISCARD_ALL)
-_id – [in] View id.
_program – [in] Program.
_indirectHandle – [in] Indirect buffer.
_start – [in] First element in indirect buffer.
_numHandle – [in] Buffer for number of draws. Must be created with BGFX_BUFFER_INDEX32 and BGFX_BUFFER_DRAW_INDIRECT.
_numIndex – [in] Element in number buffer.
_numMax – [in] Max number of draws.
_depth – [in] Depth for sorting.
_flags – [in] Discard or preserve states. See BGFX_DISCARD_*.
Warning
-doxygenfunction: Unable to resolve function “bgfx::dispatch” with arguments (ViewId, ProgramHandle, IndirectBufferHandle, uint16_t, uint16_t, uint8_t) in doxygen xml output for project “bgfx” from directory: ../../.build/docs/xml. -Potential matches: +
Dispatch compute indirect.
+C99’s equivalent binding is bgfx_dispatch_indirect.
- void dispatch(ViewId _id, ProgramHandle _handle, IndirectBufferHandle _indirectHandle, uint32_t _start = 0, uint32_t _num = 1, uint8_t _flags = BGFX_DISCARD_ALL)
-- void dispatch(ViewId _id, ProgramHandle _handle, uint32_t _numX = 1, uint32_t _numY = 1, uint32_t _numZ = 1, uint8_t _flags = BGFX_DISCARD_ALL)
-_id – [in] View id.
_handle – [in] Compute program.
_indirectHandle – [in] Indirect buffer.
_start – [in] First element in indirect buffer.
_num – [in] Number of dispatches.
_flags – [in] Discard or preserve states. See BGFX_DISCARD_*.
Texture Flags
+Texture will be used for MSAA sampling.
+Render target no MSAA.
+Texture will be used for compute write.
+Sample texture as sRGB.
+Texture will be used as blit destination.
+Texture will be used for read back from GPU.
+Render target MSAAx2 mode.
+Render target MSAAx4 mode.
+Render target MSAAx8 mode.
+Render target MSAAx16 mode.
+Render target will be used for writing.
+_width – [in] Texture width.
_height – [in] Texture height.
_format – [in] Texture format. See: TextureFormat::Enum.
_textureFlags – [in] Default texture sampling mode is linear, and wrap mode is repeat.
_textureFlags – [in] Texture creation (see BGFX_TEXTURE_*.), and sampler (see BGFX_SAMPLER_*) flags. Default texture sampling mode is linear, and wrap mode is repeat.
BGFX_SAMPLER_[U/V/W]_[MIRROR/CLAMP] - Mirror or clamp to edge wrap mode.
BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC] - Point or anisotropic sampling.
_ratio – [in] Frame buffer size in respect to back-buffer size. See: BackbufferRatio::Enum.
_format – [in] Texture format. See: TextureFormat::Enum.
_textureFlags – [in] Default texture sampling mode is linear, and wrap mode is repeat.
_textureFlags – [in] Texture creation (see BGFX_TEXTURE_*.), and sampler (see BGFX_SAMPLER_*) flags. Default texture sampling mode is linear, and wrap mode is repeat.
BGFX_SAMPLER_[U/V/W]_[MIRROR/CLAMP] - Mirror or clamp to edge wrap mode.
BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC] - Point or anisotropic sampling.