Click or drag to resize
Ab4d.SharpEngine logo

GpuRenderPass Class

Inheritance Hierarchy
SystemObject
  Ab4d.SharpEngine.CoreComponentBase
    Ab4d.SharpEngine.CoreGpuDeviceComponent
      Ab4d.SharpEngine.CoreGpuRenderPass

Namespace: Ab4d.SharpEngine.Core
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntax
C#
public class GpuRenderPass : GpuDeviceComponent, 
	IDisposable

The GpuRenderPass type exposes the following members.

Constructors
 NameDescription
Public methodGpuRenderPass(VulkanDevice, RenderPass, Framebuffer, Int32, String)Initializes a new instance of the GpuRenderPass class
Public methodGpuRenderPass(VulkanDevice, GpuImage, GpuImage, ImageLayout, Boolean, String)Initializes a new instance of the GpuRenderPass class
Public methodGpuRenderPass(VulkanDevice, GpuSwapChain, GpuImage, ImageLayout, Boolean, String)Initializes a new instance of the GpuRenderPass class
Public methodGpuRenderPass(VulkanDevice, GpuImage, GpuImage, GpuImage, ImageLayout, Boolean, String)Initializes a new instance of the GpuRenderPass class
Public methodGpuRenderPass(VulkanDevice, GpuSwapChain, GpuImage, GpuImage, ImageLayout, Boolean, String)Initializes a new instance of the GpuRenderPass class
Top
Properties
 NameDescription
Public propertyClearColor Gets or sets an alpha-premultiplied Color4 that is used to clear the color attachment when this render pass begins. Default value is Black color (0, 0, 0, 1).
Public propertyClearDepthValue Gets or sets a float that is used to clear the depth buffer when this render pass begins. Default value is 1 (max depth).
Public propertyClearMSAAColor Gets or sets an alpha-premultiplied Color4 that is used to clear the MSAA color attachment when this render pass begins (used only when crated by passing a msaaColorAttachment). Default value is Black color (0, 0, 0, 1).
Public propertyClearStencilValue Gets or sets an unsigned integer that is used to clear the stencil buffer when this render pass begins. Default value is 0.
Public propertyCustomRenderArea Gets or sets a custom render area (Viewport) that is used when starting this render pass. When set to default value (0,0,0,0) then the Width and Height of the RenderingContext are used for actual render area.
Public propertyFrameBuffers Gets an array of Framebuffers that are created and used by this GpuRenderPass.
Public propertyRenderPass Gets the RenderPass that is created by this GpuRenderPass.
Top
Methods
See Also