diff --git a/docs/bgfx.rst b/docs/bgfx.rst index ad6355de0..01a391793 100644 --- a/docs/bgfx.rst +++ b/docs/bgfx.rst @@ -3,9 +3,9 @@ API Reference .. note:: - + If you're just getting started with bgfx, you might get more out of these simple walkthroughs for how to use bgfx's API: - + - `Hello, bgfx! `_ - `bgfx-minimal-example `_ - `Using the bgfx library with C++ on Ubuntu `_ @@ -561,14 +561,16 @@ Textures Frame Buffers ~~~~~~~~~~~~~ +.. doxygenstruct:: bgfx::Attachment + :members: + +.. doxygenfunction:: bgfx::isFrameBufferValid + .. doxygenfunction:: bgfx::createFrameBuffer(uint16_t _width, uint16_t _height, TextureFormat::Enum _format, uint64_t _textureFlags = BGFX_SAMPLER_U_CLAMP | BGFX_SAMPLER_V_CLAMP) .. doxygenfunction:: bgfx::createFrameBuffer(BackbufferRatio::Enum _ratio, TextureFormat::Enum _format, uint64_t _textureFlags = BGFX_SAMPLER_U_CLAMP | BGFX_SAMPLER_V_CLAMP) .. doxygenfunction:: bgfx::createFrameBuffer(uint8_t _num, const TextureHandle *_handles, bool _destroyTextures = false) .. doxygenfunction:: bgfx::createFrameBuffer(void *_nwh, uint16_t _width, uint16_t _height, TextureFormat::Enum _format = TextureFormat::Count, TextureFormat::Enum _depthFormat = TextureFormat::Count) -.. doxygenstruct:: bgfx::Attachment - :members: - .. doxygenfunction:: bgfx::createFrameBuffer(uint8_t _num, const Attachment *_attachment, bool _destroyTextures = false) .. doxygenfunction:: bgfx::getTexture .. doxygenfunction:: bgfx::setName(FrameBufferHandle _handle, const char *_name, int32_t _len = INT32_MAX)