From 4b884a0ba77fd227e4f9232b8955a9659dbc1136 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Thu, 31 Aug 2017 22:12:40 -0700 Subject: [PATCH] Updated docs. --- bgfx.html | 38 ++++++++++++++++++++++++++++++++++++++ examples.html | 8 ++++++++ genindex.html | 4 ++++ index.html | 1 + objects.inv | Bin 15522 -> 15583 bytes searchindex.js | 2 +- 6 files changed, 52 insertions(+), 1 deletion(-) diff --git a/bgfx.html b/bgfx.html index 6ad072746..4acb3b936 100644 --- a/bgfx.html +++ b/bgfx.html @@ -2459,6 +2459,44 @@ In graphics debugger view name will appear as:
+
+
+void bgfx::setName(ShaderHandle _handle, const char *_name)
+

Set shader debug name.

+

+
Attention
+
C99 equivalent is bgfx_set_shader_name.
+
Parameters
+
    +
  • _handle -

    Shader handle.

    +
  • +
  • _name -

    Shader name.

    +
  • +
+
+
+

+
+ +
+
+void bgfx::setName(TextureHandle _handle, const char *_name)
+

Set texture debug name.

+

+
Attention
+
C99 equivalent is bgfx_set_texture_name.
+
Parameters
+
    +
  • _handle -

    Texture handle.

    +
  • +
  • _name -

    Texture name.

    +
  • +
+
+
+

+
+

State

diff --git a/examples.html b/examples.html index 7d8966c4f..bb0da0b99 100644 --- a/examples.html +++ b/examples.html @@ -126,6 +126,7 @@
  • 31-rsm
  • 32-particles
  • 33-pom
  • +
  • 34-mvs
  • API Reference
  • @@ -1086,6 +1087,13 @@ off programatically.

    example-33-pom
    +
    +

    34-mvs

    +

    Multiple vertex streams.

    +
    +example-34-mvs +
    +
    diff --git a/genindex.html b/genindex.html index 1276c95bd..6066fec6c 100644 --- a/genindex.html +++ b/genindex.html @@ -835,6 +835,10 @@ +
    bgfx::setName (C++ function), [1] +
    + +
    bgfx::setPaletteColor (C++ function), [1], [2]
    diff --git a/index.html b/index.html index a3f69a865..4dba2e91d 100644 --- a/index.html +++ b/index.html @@ -238,6 +238,7 @@ licensed under permissive BSD-2 clause open source license.

  • 31-rsm
  • 32-particles
  • 33-pom
  • +
  • 34-mvs
  • API Reference