mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Cleanup.
This commit is contained in:
@@ -3219,7 +3219,7 @@ public static class bgfx
|
||||
/// mip level.
|
||||
/// </summary>
|
||||
///
|
||||
/// <param name="_num">Number of attachements.</param>
|
||||
/// <param name="_num">Number of attachments.</param>
|
||||
/// <param name="_attachment">Attachment texture info. See: `bgfx::Attachment`.</param>
|
||||
/// <param name="_destroyTexture">If true, textures will be destroyed when frame buffer is destroyed.</param>
|
||||
///
|
||||
|
||||
@@ -3175,7 +3175,7 @@ public static partial class bgfx
|
||||
/// mip level.
|
||||
/// </summary>
|
||||
///
|
||||
/// <param name="_num">Number of attachements.</param>
|
||||
/// <param name="_num">Number of attachments.</param>
|
||||
/// <param name="_attachment">Attachment texture info. See: `bgfx::Attachment`.</param>
|
||||
/// <param name="_destroyTexture">If true, textures will be destroyed when frame buffer is destroyed.</param>
|
||||
///
|
||||
|
||||
@@ -956,7 +956,7 @@ version(BindBgfx_Static)
|
||||
* Create MRT frame buffer from texture handles with specific layer and
|
||||
* mip level.
|
||||
* Params:
|
||||
* _num = Number of attachements.
|
||||
* _num = Number of attachments.
|
||||
* _attachment = Attachment texture info. See: `bgfx::Attachment`.
|
||||
* _destroyTexture = If true, textures will be destroyed when
|
||||
* frame buffer is destroyed.
|
||||
@@ -3171,7 +3171,7 @@ else
|
||||
* Create MRT frame buffer from texture handles with specific layer and
|
||||
* mip level.
|
||||
* Params:
|
||||
* _num = Number of attachements.
|
||||
* _num = Number of attachments.
|
||||
* _attachment = Attachment texture info. See: `bgfx::Attachment`.
|
||||
* _destroyTexture = If true, textures will be destroyed when
|
||||
* frame buffer is destroyed.
|
||||
|
||||
@@ -941,7 +941,7 @@ struct bgfx_uniform_info_t
|
||||
/// Frame buffer texture attachment info.
|
||||
struct bgfx_attachment_t
|
||||
{
|
||||
bgfx_access_t access; /// Attachement access. See `Access::Enum`.
|
||||
bgfx_access_t access; /// Attachment access. See `Access::Enum`.
|
||||
bgfx_texture_handle_t handle; /// Render target texture handle.
|
||||
ushort mip; /// Mip level.
|
||||
ushort layer; /// Cubemap side or depth layer/slice to use.
|
||||
@@ -1062,3 +1062,4 @@ struct bgfx_uniform_handle_t { ushort idx; }
|
||||
struct bgfx_vertex_buffer_handle_t { ushort idx; }
|
||||
|
||||
struct bgfx_vertex_layout_handle_t { ushort idx; }
|
||||
|
||||
|
||||
@@ -906,7 +906,7 @@ namespace bgfx
|
||||
, uint8_t _resolve = BGFX_RESOLVE_AUTO_GEN_MIPS
|
||||
);
|
||||
|
||||
Access::Enum access; //!< Attachement access. See `Access::Enum`.
|
||||
Access::Enum access; //!< Attachment access. See `Access::Enum`.
|
||||
TextureHandle handle; //!< Render target texture handle.
|
||||
uint16_t mip; //!< Mip level.
|
||||
uint16_t layer; //!< Cubemap side or depth layer/slice to use.
|
||||
|
||||
@@ -781,7 +781,7 @@ typedef struct bgfx_uniform_info_s
|
||||
*/
|
||||
typedef struct bgfx_attachment_s
|
||||
{
|
||||
bgfx_access_t access; /** Attachement access. See `Access::Enum`. */
|
||||
bgfx_access_t access; /** Attachment access. See `Access::Enum`. */
|
||||
bgfx_texture_handle_t handle; /** Render target texture handle. */
|
||||
uint16_t mip; /** Mip level. */
|
||||
uint16_t layer; /** Cubemap side or depth layer/slice to use. */
|
||||
@@ -2002,7 +2002,7 @@ BGFX_C_API bgfx_frame_buffer_handle_t bgfx_create_frame_buffer_from_handles(uint
|
||||
* Create MRT frame buffer from texture handles with specific layer and
|
||||
* mip level.
|
||||
*
|
||||
* @param[in] _num Number of attachements.
|
||||
* @param[in] _num Number of attachments.
|
||||
* @param[in] _attachment Attachment texture info. See: `bgfx::Attachment`.
|
||||
* @param[in] _destroyTexture If true, textures will be destroyed when
|
||||
* frame buffer is destroyed.
|
||||
|
||||
@@ -856,7 +856,7 @@ struct.UniformInfo
|
||||
|
||||
--- Frame buffer texture attachment info.
|
||||
struct.Attachment { shortname }
|
||||
.access "Access::Enum" --- Attachement access. See `Access::Enum`.
|
||||
.access "Access::Enum" --- Attachment access. See `Access::Enum`.
|
||||
.handle "TextureHandle" --- Render target texture handle.
|
||||
.mip "uint16_t" --- Mip level.
|
||||
.layer "uint16_t" --- Cubemap side or depth layer/slice to use.
|
||||
@@ -1843,7 +1843,7 @@ func.createFrameBuffer { cname = "create_frame_buffer_from_handles" }
|
||||
--- mip level.
|
||||
func.createFrameBuffer { cname = "create_frame_buffer_from_attachment" }
|
||||
"FrameBufferHandle" --- Frame buffer handle.
|
||||
.num "uint8_t" --- Number of attachements.
|
||||
.num "uint8_t" --- Number of attachments.
|
||||
.attachment "const Attachment*" --- Attachment texture info. See: `bgfx::Attachment`.
|
||||
.destroyTexture "bool" --- If true, textures will be destroyed when
|
||||
{ default = false } --- frame buffer is destroyed.
|
||||
|
||||
Reference in New Issue
Block a user