Click or drag to resize
Ab4d.SharpEngine logo

BeginRenderPassRenderingStep Class

BeginRenderPassRenderingStep begins rendering by first calling vkBeginCommandBuffer on the renderingContext.CurrentCommandBuffer, then calling vkCmdBeginRenderPass and finally calling the vkCmdSetViewport and vkCmdSetScissor.
Inheritance Hierarchy
SystemObject
  Ab4d.SharpEngine.CoreComponentBase
    Ab4d.SharpEngine.RenderingStepsRenderingStep
      Ab4d.SharpEngine.RenderingStepsBeginRenderPassRenderingStep

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

The BeginRenderPassRenderingStep type exposes the following members.

Constructors
 NameDescription
Public methodBeginRenderPassRenderingStep Constructor
Top
Properties
 NameDescription
Public propertyAutomaticallyEndPreviouslyStartedRenderingPass Gets or sets a Boolean that specifies if previously started rendering pass is automatically ended (if any is started) before starting a new rendering pass. Default value is false.
Public propertyCustomBackgroundColor When CustomBackgroundColor is set (is not null), then this color is used to clear the frame buffers (the color is not alpha-premultiplied). When the value is not set, then BackgroundColor from current SceneView is used.
Public propertyCustomDepthClearValue When CustomDepthClearValue is set (is not null), then its value is used to clear the depth buffer. When not set, then 1.0f value is used.
Public propertyCustomStencilClearValue When CustomDepthStencilClearColor is set (is not null), then its value is used to clear the stencil buffer. When not set, then 0 value is used.
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 RenderingStepSaveExecutionTimeStatistics(Double, RenderingStatistics))
Top
See Also