mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Ensure PersistantConfig member functions are documented
This commit is contained in:
@@ -357,6 +357,8 @@ def maybe_skip_member(app, what, name, obj, skip, options):
|
||||
# as we don't have a way in SWIG to attach docstrings to constants directly.
|
||||
if 'exclude-members' in options and 'enum_constants__' in options['exclude-members'] and isinstance(obj, int):
|
||||
return True
|
||||
if 'exclude-members' in options and 'properties__' in options['exclude-members'] and 'getset_desc' in str(type(obj)):
|
||||
return True
|
||||
# Allow arbitrary globbing as a hack to exclude or include members
|
||||
if 'exclude-members' in options:
|
||||
for exclude in options['exclude-members']:
|
||||
|
||||
@@ -9,6 +9,9 @@ Config
|
||||
------
|
||||
|
||||
.. autoclass:: qrenderdoc.PersistantConfig
|
||||
:members:
|
||||
:undoc-members:
|
||||
:exclude-members: enum_constants__,properties__
|
||||
|
||||
.. autoclass:: qrenderdoc.ShaderProcessingTool
|
||||
:members:
|
||||
|
||||
@@ -791,12 +791,12 @@ public:
|
||||
DOCUMENT(R"(Adds a new remote host.
|
||||
|
||||
:param RemoteHost host: The remote host to add.
|
||||
R)");
|
||||
)");
|
||||
void AddRemoteHost(RemoteHost host);
|
||||
DOCUMENT(R"(Removes an existing remote host.
|
||||
|
||||
:param RemoteHost host: The remote host to remove.
|
||||
R)");
|
||||
)");
|
||||
void RemoveRemoteHost(RemoteHost host);
|
||||
DOCUMENT("If configured, queries available device protocols to update auto-configured hosts.");
|
||||
void UpdateEnumeratedProtocolDevices();
|
||||
|
||||
Reference in New Issue
Block a user