You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,8 @@ A lock-free CommandBuffer implementation designed for multi-threaded rendering a
7
7
Useful to reduce state switches(i.e. materials, shaders), depth sorting(for transparency or hardware early-z rejection) and also for dispatching commands from multiple threads.
8
8
9
9
## Features
10
-
- designed for high-congestion as it's lock-free
11
-
- graphics API independent(see cb::RenderContext)
10
+
-lock-free, designed for high-congestion
11
+
- graphics API agnostic(see cb::RenderContext)
12
12
- fast and configurable allocation via a linear allocator
13
13
- optional material binder with multiple material passes support
14
14
- chainable/appendable commands
@@ -72,7 +72,7 @@ void testFunction() {
72
72
```
73
73
NOTE. Can enable/disable logging of the commands via CB_DEBUG_COMMANDS_PRINT in config.h which is enabled by default.
74
74
75
-
Appending/chaining commands(useful to reduce overhead of redundant material binding):
75
+
Appending/chaining commands(useful to reduce overhead of redundant material bindings):
@@ -107,11 +107,11 @@ Sometimes you may want to share/reference a command so you don't copy it's data
107
107
//fill command data
108
108
...
109
109
```
110
-
NOTE. Since matrices is a POD you can use data copy commands which will automatically allocate auxiliary memory and copy it.
110
+
NOTE. Since matrices are PODs you can use data copy commands which will automatically allocate auxiliary memory and copy it.
111
111
112
112
## Example
113
113
114
-
Check the [example](example/) folder which shows how to use the CommandBuffer in a real use case scenario and more advanced usage, it was done by adapting NVIDIA's Gameworks GL Threading example to a deferred renderer.
114
+
Check the [example](example/) folder which shows how to use the CommandBuffer in a real use case scenario with more advanced usage, it was done by adapting NVIDIA's Gameworks GL Threading example to a deferred renderer.
0 commit comments