 |
GpuRenderPass Class |
Inheritance Hierarchy Namespace: Ab4d.SharpEngine.CoreAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntaxpublic class GpuRenderPass : GpuDeviceComponent,
IDisposable
The GpuRenderPass type exposes the following members.
Constructors | Name | Description |
---|
 | GpuRenderPass(VulkanDevice, RenderPass, Framebuffer, Int32, String) | Initializes a new instance of the GpuRenderPass class |
 | GpuRenderPass(VulkanDevice, GpuImage, GpuImage, ImageLayout, Boolean, String) | Initializes a new instance of the GpuRenderPass class |
 | GpuRenderPass(VulkanDevice, GpuSwapChain, GpuImage, ImageLayout, Boolean, String) | Initializes a new instance of the GpuRenderPass class |
 | GpuRenderPass(VulkanDevice, GpuImage, GpuImage, GpuImage, ImageLayout, Boolean, String) | Initializes a new instance of the GpuRenderPass class |
 | GpuRenderPass(VulkanDevice, GpuSwapChain, GpuImage, GpuImage, ImageLayout, Boolean, String) | Initializes a new instance of the GpuRenderPass class |
Top
Properties | Name | Description |
---|
 | ClearColor |
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).
|
 | ClearDepthValue |
Gets or sets a float that is used to clear the depth buffer when this render pass begins.
Default value is 1 (max depth).
|
 | ClearMSAAColor |
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).
|
 | ClearStencilValue |
Gets or sets an unsigned integer that is used to clear the stencil buffer when this render pass begins.
Default value is 0.
|
 | CustomRenderArea |
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.
|
 | FrameBuffers |
Gets an array of Framebuffers that are created and used by this GpuRenderPass.
|
 | RenderPass |
Gets the RenderPass that is created by this GpuRenderPass.
|
Top
Methods
See Also