From 412861d7e855841bda88ed461d131a44ca9a24ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?=
=?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?=
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.
W)Q_3mB!v4@LJ$i;O9A`p^SThB+%*1}QMBRs(wgPt
zIjgaQK>78Zkq4^_u=T&L>N?RwV_g3za_*zioWXd#v|#eEU9JZEfgRj+B5}7_-xIvU
zi078${P`xgsuNxM{((slvDwws^E3vjQ=nP(k!8CkP>LZQzcpA>zEFUvL^*XKs5MmZ
zS6UUgxXl+eWifO(TzKTXfM7#1lH=`AYtD2ft2!D@w}+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