mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Changes to API reference (#3286)
* Update bgfx.rst Added Texture Flags BGFX_TEXTURE_* in Textures section under TextureFormat * Update bgfx.h Added a specific mention that Texture creation BGFX_TEXTURE_* flags can be used, in both relevant createFrameBuffer prototypes
This commit is contained in:
@@ -318,7 +318,7 @@ State Flags
|
||||
.. doxygendefine:: BGFX_STATE_BLEND_FACTOR
|
||||
.. doxygendefine:: BGFX_STATE_BLEND_INV_FACTOR
|
||||
|
||||
**Blend Equaation**
|
||||
**Blend Equation**
|
||||
|
||||
.. doxygendefine:: BGFX_STATE_BLEND_EQUATION_ADD
|
||||
.. doxygendefine:: BGFX_STATE_BLEND_EQUATION_SUB
|
||||
@@ -550,6 +550,20 @@ Textures
|
||||
.. doxygenstruct:: bgfx::TextureFormat
|
||||
:members:
|
||||
|
||||
**Texture Flags**
|
||||
|
||||
.. doxygendefine:: BGFX_TEXTURE_MSAA_SAMPLE
|
||||
.. doxygendefine:: BGFX_TEXTURE_RT
|
||||
.. doxygendefine:: BGFX_TEXTURE_COMPUTE_WRITE
|
||||
.. doxygendefine:: BGFX_TEXTURE_SRGB
|
||||
.. doxygendefine:: BGFX_TEXTURE_BLIT_DST
|
||||
.. doxygendefine:: BGFX_TEXTURE_READ_BACK
|
||||
.. doxygendefine:: BGFX_TEXTURE_RT_MSAA_X2
|
||||
.. doxygendefine:: BGFX_TEXTURE_RT_MSAA_X4
|
||||
.. doxygendefine:: BGFX_TEXTURE_RT_MSAA_X8
|
||||
.. doxygendefine:: BGFX_TEXTURE_RT_MSAA_X16
|
||||
.. doxygendefine:: BGFX_TEXTURE_RT_WRITE_ONLY
|
||||
|
||||
.. doxygenfunction:: bgfx::isTextureValid
|
||||
|
||||
.. doxygenstruct:: bgfx::TextureInfo
|
||||
|
||||
Reference in New Issue
Block a user