nw::demo::RenderSystem Classclass RenderSystem
Class for the collection of rendering features.
| nw::demo::RenderSystem::Description | Render system settings. |
|---|---|
| nw::demo::RenderSystem::LoadMeterDescription | Load meter description. |
| Creation and Destruction | ||
|---|---|---|
| S | Create | Creates drawing-related classes. |
| LoadSkyModel | Constructs a model located in the most distant background. | |
Destroy
|
Destroys the render system. | |
| Set/Get | ||
SetRenderTarget
|
Sets targets to be rendered. | |
| GetRenderContext | Gets the render context. | |
| GetSceneEnvironment | Gets the scene environment. | |
| SetRenderSortMode | Sets the render sort mode. | |
| GetRenderSortMode | Gets the render sort mode. | |
| GetRenderQueue | Gets the render queue. | |
| GetMeshRenderer | Gets the mesh renderer. | |
| GetCommandListSwapper | Gets a command list swapper. | |
| EnqueueRenderCommand | Stacks render command elements in the render queue. | |
| Rendering | ||
| SetSceneEnvironmentSettings | Sets the scene environment to the render context. | |
| SetEnvironment | Sets the scene context environment to the render context. This function is called to set lights and fog without using SceneEnvironmentSetting. |
|
SubmitView
|
Adds a render element to the render queue. | |
| RenderScene | Renders a scene. | |
| RenderStereoScene | Renders a scene suitable for stereo display. | |
ClearBuffer
|
Erases the buffer. | |
| ClearBySkyModel | Renders while adjusting the translate and scale of the most distant models based on camera parameters. | |
| TransferBuffer | Transfers the buffer. | |
| WaitCommandList | Waits for the executing command list to end. | |
| RunCommandList | Runs a bound command list. | |
| SwapCommandList | Swaps command list with buffer. | |
| WaitVSync | Waits for VSync. | |
| SwapBuffer | Reserves a buffer swap. | |
| PresentBuffer | Waits for VSync, shows the display buffer and executes the command list. | |
| CalcStereoCamera | Calculates the stereo camera. | |
| Load Meter | ||
| BeginLoadMeter | Starts the load meter. | |
| EndLoadMeter | Stops the load meter. | |
| CalcLoadMeter | Calculates load meter results. | |
| SuspendLoadMeter | Pauses the load meter. | |
| ResumeLoadMeter | Resumes the load meter. | |
| ResetCumulativeLoadMeter | Resets the cumulative load meter. | |
| GetCumulativeLoadMeter | Gets the cumulative load. | |
| DrawLoadMeter | Displays the load meter results. Must be called between BeginDrawingString and FlushDrawing. |
|
| LogLoadMeter | Outputs the load measurement result to a log file. | |
| AddLoadMeterCommandSize | Adds the size of drawing commands displayed on the load meter. | |
CONFIDENTIAL