diff --git a/bgfx.html b/bgfx.html index da5f3a3a4..6555d3dcc 100644 --- a/bgfx.html +++ b/bgfx.html @@ -4536,9 +4536,11 @@ otherwise prefer bgfx::setViewScissor.

-void bgfx::readTexture(TextureHandle _handle, void *_data)
+uint32_t bgfx::readTexture(TextureHandle _handle, void *_data)

Read back texture content.

+
Return
+
Frame number when the result will be available. See: bgfx::frame.
Attention
Texture must be created with BGFX_TEXTURE_READ_BACK flag.
Attention
@@ -4559,9 +4561,11 @@ otherwise prefer bgfx::setViewScissor.

-void bgfx::readTexture(FrameBufferHandle _handle, uint8_t _attachment, void *_data)
+uint32_t bgfx::readTexture(FrameBufferHandle _handle, uint8_t _attachment, void *_data)

Read back texture content.

+
Return
+
Frame number when the result will be available. See: bgfx::frame.
Attention
Texture must be created with BGFX_TEXTURE_READ_BACK flag.
Attention
@@ -4607,6 +4611,8 @@ otherwise prefer bgfx::setViewScissor.

FrameBufferHandle bgfx::createFrameBuffer(uint16_t _width, uint16_t _height, TextureFormat::Enum _format, uint32_t _textureFlags = BGFX_TEXTURE_U_CLAMP|BGFX_TEXTURE_V_CLAMP)

Create frame buffer (simple).

+
Return
+
Handle to frame buffer object.
Attention
C99 equivalent is bgfx_create_frame_buffer.
Parameters
@@ -4634,6 +4640,8 @@ otherwise prefer bgfx::setViewScissor.

FrameBufferHandle bgfx::createFrameBuffer(BackbufferRatio::Enum _ratio, TextureFormat::Enum _format, uint32_t _textureFlags = BGFX_TEXTURE_U_CLAMP|BGFX_TEXTURE_V_CLAMP)

Create frame buffer with size based on backbuffer ratio. Frame buffer will maintain ratio if back buffer resolution changes.

+
Return
+
Handle to frame buffer object.
Attention
C99 equivalent is bgfx_create_frame_buffer_scaled.
Parameters
@@ -4659,6 +4667,8 @@ otherwise prefer bgfx::setViewScissor.

FrameBufferHandle bgfx::createFrameBuffer(uint8_t _num, const TextureHandle *_handles, bool _destroyTextures = false)

Create frame buffer.

+
Return
+
Handle to frame buffer object.
Attention
C99 equivalent is bgfx_create_frame_buffer_from_handles.
Parameters
diff --git a/objects.inv b/objects.inv index dfc8e6982..526a24583 100644 Binary files a/objects.inv and b/objects.inv differ