From aa06e482c0e67f88467a705e6f59d390550a2919 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?= Date: Sat, 23 Jul 2022 10:59:04 -0700 Subject: [PATCH] Updated docs. --- docs/bgfx.rst | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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)