diff --git a/bgfx.html b/bgfx.html index d45527ba6..3b48dc2ac 100644 --- a/bgfx.html +++ b/bgfx.html @@ -241,6 +241,12 @@

Enable device for profiling.

+
+
+PlatformData platformData
+

Platform data.

+
+
Resolution resolution
@@ -1563,6 +1569,12 @@

Number of compute calls submitted.

+
+
+uint32_t numBlit
+

Number of blit calls submitted.

+
+
uint32_t maxGpuLatency
@@ -1883,12 +1895,6 @@ creating windows.

Backbuffer depth/stencil.

-
-
-void *session
-

ovrSession, for Oculus SDK

-
- @@ -2568,7 +2574,7 @@ In graphics debugger view name will appear as:

Set view sorting mode.

Remark
-
View mode must be set prior calling bgfx::submit for the view.
+
View mode must be set prior calling bgfx::submit for the view.
Attention
C99 equivalent is bgfx_set_view_mode.
Parameters
@@ -3239,8 +3245,8 @@ In graphics debugger view name will appear as:
-
-void submit(ViewId _id, ProgramHandle _program, int32_t _depth = 0, bool _preserveState = false)
+
+void submit(ViewId _id, ProgramHandle _program, uint32_t _depth = 0, bool _preserveState = false)

Submit primitive for rendering.

Attention
@@ -3258,8 +3264,8 @@ In graphics debugger view name will appear as:
-
-void submit(ViewId _id, ProgramHandle _program, OcclusionQueryHandle _occlusionQuery, int32_t _depth = 0, bool _preserveState = false)
+
+void submit(ViewId _id, ProgramHandle _program, OcclusionQueryHandle _occlusionQuery, uint32_t _depth = 0, bool _preserveState = false)

Submit primitive with occlusion query for rendering.

Attention
@@ -3278,8 +3284,8 @@ In graphics debugger view name will appear as:
-
-void submit(ViewId _id, ProgramHandle _program, IndirectBufferHandle _indirectHandle, uint16_t _start = 0, uint16_t _num = 1, int32_t _depth = 0, bool _preserveState = false)
+
+void submit(ViewId _id, ProgramHandle _program, IndirectBufferHandle _indirectHandle, uint16_t _start = 0, uint16_t _num = 1, uint32_t _depth = 0, bool _preserveState = false)

Submit primitive for rendering with index and instance data info from indirect buffer.

Attention
@@ -4382,67 +4388,39 @@ otherwise prefer bgfx::setViewScissor.

Within view all draw commands are executed after blit and compute commands.

-
-
-void bgfx::submit(ViewId _id, ProgramHandle _program, int32_t _depth = 0, bool _preserveState = false)
-

Submit primitive for rendering.

-

-
Attention
-
C99 equivalent is bgfx_submit.
-
Parameters
-
    -
  • _id: View id.
  • -
  • _program: Program.
  • -
  • _depth: Depth for sorting.
  • -
  • _preserveState: Preserve internal draw state for next draw call submit.
  • -
-
-
+
+

Warning

+

doxygenfunction: Unable to resolve multiple matches for function “bgfx::submit” with arguments (ViewId, ProgramHandle, int32_t, bool) in doxygen xml output for project “bgfx” from directory: ../../.build/docs/xml. +Potential matches:

-
- -
-
-void bgfx::submit(ViewId _id, ProgramHandle _program, OcclusionQueryHandle _occlusionQuery, int32_t _depth = 0, bool _preserveState = false)
-

Submit primitive with occlusion query for rendering.

-

-
Attention
-
C99 equivalent is bgfx_submit_occlusion_query.
-
Parameters
-
    -
  • _id: View id.
  • -
  • _program: Program.
  • -
  • _occlusionQuery: Occlusion query.
  • -
  • _depth: Depth for sorting.
  • -
  • _preserveState: Preserve internal draw state for next draw call submit.
  • -
-
-
+
- void bgfx::submit(ViewId, ProgramHandle, IndirectBufferHandle, uint16_t, uint16_t, uint32_t, bool)
+- void bgfx::submit(ViewId, ProgramHandle, OcclusionQueryHandle, uint32_t, bool)
+- void bgfx::submit(ViewId, ProgramHandle, uint32_t, bool)
+
+
+
+
+

Warning

+

doxygenfunction: Unable to resolve multiple matches for function “bgfx::submit” with arguments (ViewId, ProgramHandle, OcclusionQueryHandle, int32_t, bool) in doxygen xml output for project “bgfx” from directory: ../../.build/docs/xml. +Potential matches:

- - -
-
-void bgfx::submit(ViewId _id, ProgramHandle _program, IndirectBufferHandle _indirectHandle, uint16_t _start = 0, uint16_t _num = 1, int32_t _depth = 0, bool _preserveState = false)
-

Submit primitive for rendering with index and instance data info from indirect buffer.

-

-
Attention
-
C99 equivalent is bgfx_submit_indirect.
-
Parameters
-
    -
  • _id: View id.
  • -
  • _program: Program.
  • -
  • _indirectHandle: Indirect buffer.
  • -
  • _start: First element in indirect buffer.
  • -
  • _num: Number of dispatches.
  • -
  • _depth: Depth for sorting.
  • -
  • _preserveState: Preserve internal draw state for next draw call submit.
  • -
-
-
+
- void bgfx::submit(ViewId, ProgramHandle, IndirectBufferHandle, uint16_t, uint16_t, uint32_t, bool)
+- void bgfx::submit(ViewId, ProgramHandle, OcclusionQueryHandle, uint32_t, bool)
+- void bgfx::submit(ViewId, ProgramHandle, uint32_t, bool)
+
+
+
+
+

Warning

+

doxygenfunction: Unable to resolve multiple matches for function “bgfx::submit” with arguments (ViewId, ProgramHandle, IndirectBufferHandle, uint16_t, uint16_t, int32_t, bool) in doxygen xml output for project “bgfx” from directory: ../../.build/docs/xml. +Potential matches:

- - +
- void bgfx::submit(ViewId, ProgramHandle, IndirectBufferHandle, uint16_t, uint16_t, uint32_t, bool)
+- void bgfx::submit(ViewId, ProgramHandle, OcclusionQueryHandle, uint32_t, bool)
+- void bgfx::submit(ViewId, ProgramHandle, uint32_t, bool)
+
+
+
diff --git a/examples.html b/examples.html index 986df03d0..f5fd89840 100644 --- a/examples.html +++ b/examples.html @@ -128,6 +128,7 @@
  • 36-sky
  • 37-gpudrivenrendering
  • 38-bloom
  • +
  • 39-assao
  • API Reference
  • @@ -1122,11 +1123,19 @@ off programatically.

    38-bloom

    Bloom. Reference: -Next Generation Post Processing in Call of Duty: Advanced Warfare,

    +Next Generation Post Processing in Call of Duty: Advanced Warfare.

    example-38-bloom
    +
    +

    39-assao

    +

    Adaptive Screen Space Ambient Occlusion. Reference: +Adaptive Screen Space Ambient Occlusion.

    +
    +example-39-assao +
    +
    diff --git a/genindex.html b/genindex.html index f36d90b2b..22a8be648 100644 --- a/genindex.html +++ b/genindex.html @@ -701,7 +701,7 @@ -
    bgfx::Encoder::submit (C++ function), [1], [2] +
    bgfx::Encoder::submit (C++ function), [1], [2]
    @@ -817,6 +817,10 @@ +
    bgfx::Init::platformData (C++ member) +
    + +
    bgfx::Init::profile (C++ member)
    @@ -917,10 +921,6 @@ -
    bgfx::PlatformData::session (C++ member) -
    - -
    bgfx::readTexture (C++ function)
    @@ -1181,6 +1181,10 @@ +
    bgfx::Stats::numBlit (C++ member) +
    + +
    bgfx::Stats::numCompute (C++ member)
    @@ -1232,12 +1236,12 @@
    bgfx::Stats::numUniforms (C++ member)
    + +
    bgfx::Stats::numVertexBuffers (C++ member)
    -
    -
    bgfx::Stats::numVertexDecls (C++ member)
    @@ -1287,10 +1291,6 @@ -
    bgfx::submit (C++ function), [1], [2] -
    - -
    bgfx::TextureFormat (C++ class)
    diff --git a/index.html b/index.html index d352befa7..7eac1ae67 100644 --- a/index.html +++ b/index.html @@ -237,6 +237,7 @@ licensed under permissive BSD-2 clause open source license.

  • 36-sky
  • 37-gpudrivenrendering
  • 38-bloom
  • +
  • 39-assao
  • API Reference