nw::demo::CommandListSwapper Classclass CommandListSwapper
Class for managing the command list and its buffering.
| nw::demo::CommandListSwapper::Description | Command list swapper settings. |
|---|
| Creation and Destruction | ||
|---|---|---|
| S |
Create
|
Creates a command list swapper. |
Destroy
|
Destroys a command list swapper. | |
| Operation | ||
Bind
|
Binds a command list. | |
| Run | Runs a bound command list. | |
| RunAsync | Asynchronously runs a bound command list. | |
| WaitDone | Waits for completion of a command list executed asynchronously. | |
Swap
|
Swaps command lists. | |
| GPU Profiling | ||
| ResetGpuProfiling | Resets the GPU profiler. | |
| AddGpuProfilingStartPoint | Adds a command list GPU profile entry and sets the start point. | |
| SetGpuProfilingEndPoint | Sets the end point for the GPU profile entry. | |
| GetGpuProfilingCostTime | Gets the measured execution time of the GPU profile entry. | |
| GetGpuProfilingTotalCostTime | Gets the total execution rime for the GPU profile entries. | |
| Set/Get | ||
| GetCommandListId | Gets the command list ID. | |
| GetListCount | Gets the number of command lists. | |
| GetCommandBufferSize | Gets the size (in bytes) of data accumulated in the 3D command buffer. | |
| GetReusableCommandBufferSize | Gets the size of the 3D command buffer for a command list that has been saved for re-use. | |
| Reuse of Commands | ||
| StartCommandSave | Starts the saving of commands for reuse. | |
| EndCommandSave | Ends the saving of commands for reuse. | |
| ReuseCommand | Reuses saved command. | |
CONFIDENTIAL