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: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
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.
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