Initialize |
public class InitializeRenderingStep : RenderingStepBase
The InitializeRenderingStep type exposes the following members.
Name | Description | |
---|---|---|
InitializeRenderingStep | Initializes a new instance of the InitializeRenderingStep class. |
Name | Description | |
---|---|---|
IsInitializingFromDXScene | Gets or sets a Boolean that specifies if this InitializeRenderingStep sets BackBuffers, BackBuffer views, CurrentViewport and UsedCamera from DXScene. Default value is true. | |
IsInitializingRenderingContext | Gets or sets a Boolean that specified is this InitializeRenderingStep initialized the RenderingContext by setting BackBuffers, BackBuffer views, CurrentViewport and UsedCamera. True by default. When set to false, then user should manually call InitializeRenderingContext(RenderingContext) method. This can prevent duplicate initialization of RenderingContext. | |
IsSortingRenderingQueues | 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. | |
IsWaitingUntilRenderingComplete | 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. |
Name | Description | |
---|---|---|
InitializeRenderingContext | InitializeRenderingContext can be manually called when IsInitializingRenderingContext is set to false. | |
SaveExecutionTimeStatistics |
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)) | |
UpdatedResolveBackBufferRenderingStep | UpdatedResolveBackBufferRenderingStep method updates the DefaultResolveBackBufferRenderingStep and based on the specified supersamplingCount sets the recommended TexelOffsetsScale, ResolveFilter and CenterPixelWeight. |