Click or drag to resize
Ab4d.SharpEngine logo

InitializeRenderingStep Class

InitializeRendering is the first rendering step. It sets up the RenderingContext with current RenderTargets, resets statistics, etc.
Inheritance Hierarchy
SystemObject
  Ab4d.SharpEngine.CoreComponentBase
    Ab4d.SharpEngine.RenderingStepsRenderingStep
      Ab4d.SharpEngine.RenderingStepsInitializeRenderingStep

Namespace: Ab4d.SharpEngine.RenderingSteps
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax
C#
public class InitializeRenderingStep : RenderingStep

The InitializeRenderingStep type exposes the following members.

Constructors
 NameDescription
Public methodInitializeRenderingStep Constructor
Top
Properties
 NameDescription
Public propertyIsInitializingFromSceneView Gets or sets a Boolean that specifies if this InitializeRenderingStep sets BackBuffers, BackBuffer views, CurrentViewport and UsedCamera from SceneView. Default value is true.
Public propertyIsWaitingUntilRenderingComplete Gets a Boolean that specifies if this rendering step is currently waiting for rendering of the previous frame to be completed. This can happen when graphics card has not yet rendered the previous frame. In this case this rendering step waits in the main thread until the frame is fully renderer and only then continues to render the new frame.
Top
Methods
 NameDescription
Protected methodOnRun The method should true to continue executing rendering steps; when false is returned then rendering is terminated.
(Overrides RenderingStepOnRun(RenderingContext))
Public methodSaveExecutionTimeStatistics SaveExecutionTimeStatistics is called when we are collecting statistics. The implementation of the method should save or add the elapsedMilliseconds to the corresponding property in the RenderingStatistics class.
(Overrides RenderingStepSaveExecutionTimeStatistics(Double, RenderingStatistics))
Top
See Also