Click or drag to resize
AB4D logo

InitializeRenderingStep Class

InitializeRendering is the first rendering step. It sets up the RenderingContext with current RenderTargets, resets statistics, etc.
Inheritance Hierarchy
SystemObject
  Ab3d.DirectXDXResourceBase
    Ab3d.DirectXDisposableDXResource
      Ab3d.DirectXDXSceneResource
        Ab3d.DirectXRenderingStepBase
          Ab3d.DirectXInitializeRenderingStep

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public class InitializeRenderingStep : RenderingStepBase

The InitializeRenderingStep type exposes the following members.

Constructors
 NameDescription
Public methodInitializeRenderingStep Initializes a new instance of the InitializeRenderingStep class.
Top
Properties
 NameDescription
Public propertyIsInitializingFromDXScene Gets or sets a Boolean that specifies if this InitializeRenderingStep sets BackBuffers, BackBuffer views, CurrentViewport and UsedCamera from DXScene. Default value is true.
Public propertyIsSortingRenderingQueues Gets or sets a Boolean that specifies if this InitializeRenderingStep calls Sort method on all RenderingQueues that support sorting. Default value is true. It can be set to false to disable sorting RenderingQueues or manually sort RenderingQueues in some other rendering step.
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
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 RenderingStepBaseSaveExecutionTimeStatistics(Double, RenderingStatistics))
Public methodUpdatedResolveBackBufferRenderingStep UpdatedResolveBackBufferRenderingStep method updates the DefaultResolveBackBufferRenderingStep and based on the specified supersamplingCount sets the recommended TexelOffsetsScale, ResolveFilter and CenterPixelWeight.
Top
See Also