Add entries in sphinx documentation to generate correct API autodocs

This commit is contained in:
baldurk
2017-03-24 15:47:31 +00:00
parent 83f769a2cd
commit 99063c2401
9 changed files with 88 additions and 2 deletions
+1 -2
View File
@@ -5,5 +5,4 @@ Enums and Data Structures
:members:
:undoc-members:
:imported-members:
:exclude-members: free_functions__, str
:exclude-members: free_functions__, enum_constants__, name_match__startswith__D3D11_, name_match__startswith__D3D12_, name_match__startswith__VK_, name_match__startswith__GL_, str, ReplayRenderer, ReplayOutput, TargetControl, RemoteServer
+30
View File
@@ -1,3 +1,33 @@
Functions
=========
.. module:: renderdoc
.. autofunction:: renderdoc.Maths_FloatToHalf
.. autofunction:: renderdoc.Maths_HalfToFloat
.. autofunction:: renderdoc.Topology_NumVerticesPerPrimitive
.. autofunction:: renderdoc.Topology_VertexOffset
.. autofunction:: renderdoc.SupportLocalReplay
.. autofunction:: renderdoc.CreateReplayRenderer
.. autofunction:: renderdoc.CreateTargetControl
.. autofunction:: renderdoc.EnumerateRemoteTargets
.. autofunction:: renderdoc.GetDefaultRemoteServerPort
.. autofunction:: renderdoc.CreateRemoteServerConnection
.. autofunction:: renderdoc.BecomeRemoteServer
.. autofunction:: renderdoc.GetDefaultCaptureOptions
.. autofunction:: renderdoc.StartGlobalHook
.. autofunction:: renderdoc.ExecuteAndInject
.. autofunction:: renderdoc.InjectIntoProcess
.. autofunction:: renderdoc.StartSelfHostCapture
.. autofunction:: renderdoc.EndSelfHostCapture
.. autofunction:: renderdoc.SetDebugLogFile
.. autofunction:: renderdoc.GetLogFile
.. autofunction:: renderdoc.GetThumbnail
.. autofunction:: renderdoc.GetVersionString
.. autofunction:: renderdoc.GetCommitHash
.. autofunction:: renderdoc.IsD3D
.. autofunction:: renderdoc.PatchList_Count
.. autofunction:: renderdoc.PatchList_Topology
.. autofunction:: renderdoc.MaskForStage
+1
View File
@@ -5,4 +5,5 @@ Python API
main_ifaces
funcs
enums_data
pipelines/index
qrenderdoc
+16
View File
@@ -1,4 +1,20 @@
Primary Interfaces
==================
.. module:: renderdoc
.. autoclass:: renderdoc.ReplayRenderer
:members:
:undoc-members:
.. autoclass:: renderdoc.ReplayOutput
:members:
:undoc-members:
.. autoclass:: renderdoc.TargetControl
:members:
:undoc-members:
.. autoclass:: renderdoc.RemoteServer
:members:
:undoc-members:
+8
View File
@@ -0,0 +1,8 @@
D3D11 Pipeline State
====================
.. automodule:: renderdoc
:members:
:undoc-members:
:imported-members:
:exclude-members: free_functions__, enum_constants__, name_match__include_only__startswith__D3D11_
+8
View File
@@ -0,0 +1,8 @@
D3D12 Pipeline State
====================
.. automodule:: renderdoc
:members:
:undoc-members:
:imported-members:
:exclude-members: free_functions__, enum_constants__, name_match__include_only__startswith__D3D12_
+8
View File
@@ -0,0 +1,8 @@
OpenGL Pipeline State
=====================
.. automodule:: renderdoc
:members:
:undoc-members:
:imported-members:
:exclude-members: free_functions__, enum_constants__, name_match__include_only__startswith__GL_
+8
View File
@@ -0,0 +1,8 @@
Pipeline State Objects
======================
.. toctree::
d3d11
d3d12
gl
vulkan
+8
View File
@@ -0,0 +1,8 @@
Vulkan Pipeline State
=====================
.. automodule:: renderdoc
:members:
:undoc-members:
:imported-members:
:exclude-members: free_functions__, enum_constants__, name_match__include_only__startswith__VK_