Replace fixed C arrays with wrapper class in public interface

* These map more naturally to python tuples and are easier to wrap in and out.
* We also tidy up the FloatVecVal etc and standardise the members of
  ShaderValue.
This commit is contained in:
baldurk
2020-12-09 18:16:08 +00:00
parent 580f96c8a1
commit 7ff7e0a71d
66 changed files with 1833 additions and 1459 deletions
+1 -1
View File
@@ -421,7 +421,7 @@ def build_finished(app, exception):
if 'INTERNAL:' not in str(module.__dict__[item].__doc__):
items.append('{}.{}'.format(module_name, item))
items = set(filter(lambda i: re.search('__|SWIG|ResourceId_Null|rdcarray_of|Structured.*List', i) is None, items))
items = set(filter(lambda i: re.search('__|SWIG|ResourceId_Null|rdcfixedarray_of|rdcarray_of|Structured.*List', i) is None, items))
# Remove any documented/indexed python objects
items -= set(app.env.get_domain('py').objects.keys())
-12
View File
@@ -129,15 +129,3 @@ Shader Variables
.. autoclass:: renderdoc.PointerVal
:members:
.. autoclass:: renderdoc.FloatVecVal
:members:
.. autoclass:: renderdoc.DoubleVecVal
:members:
.. autoclass:: renderdoc.UIntVecVal
:members:
.. autoclass:: renderdoc.IntVecVal
:members: