Skip to content

Commit adae6d9

Browse files
committed
Remove the WIP usage recommendations for AddVTables since I don't know enough to explain it
1 parent 2798760 commit adae6d9

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

docs/for-contributors/Generator/generator-mods.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ This mod adds an empty struct for each name specified in its mod configuration.
9191

9292
Usage recommendations:
9393

94-
To be added.
94+
(TODO: To be added)
9595

9696
### AddVTables
9797

@@ -102,15 +102,7 @@ different styles of accessing native APIs, such as through an instance of an API
102102

103103
Usage recommendations:
104104

105-
This mod *should* so that the generated bindings are exposed through Silk-style vtables; however, these *must* be used
106-
if the API has more complicated API-loading requirements not expressed by `[DllImport]`.
107-
108-
For example, SDL has a simple configuration `AddVTables` configuration since all of its functions can be loaded
109-
statically. However, APIs like OpenGL and Vulkan are more complex. OpenGL uses a context object that is bound to a
110-
specific thread. Vulkan loads its function pointers from its `Instance` and `Device` objects. In OpenGL, the context
111-
object can be both set and both by
112-
113-
(TODO: Explain the different types of vtables)
105+
(TODO: To be added)
114106

115107
### BakeSourceSets
116108

0 commit comments

Comments
 (0)