KDGpu::RenderPass¶
Module: Public API
RenderPass is a representation of a rendering instance. More...
#include <KDGpu/render_pass.h>
Public Functions¶
Name | |
---|---|
RenderPass() | |
~RenderPass() | |
RenderPass(RenderPass && other) | |
RenderPass & | operator=(RenderPass && other) |
RenderPass(const RenderPass & ) =delete | |
RenderPass & | operator=(const RenderPass & ) =delete |
Handle< RenderPass_t > | handle() const Returns the handle used to retrieve the underlying API specific RenderPass. |
bool | isValid() const Convenience function to check whether the RenderPass is actually referencing a valid API specific resource. |
operator Handle< RenderPass_t >() const |
Friends¶
Name | |
---|---|
class | Device |
Detailed Description¶
1 |
|
RenderPass is a representation of a rendering instance.
See:
Renderpass defines:
- a list of rendering attachments
- a list of subpasses that reference attachments and what they will be used for
- a list of dependencies between the different subpasses
- Optionally, a list of multiview masks used throughout the subpasses if multiview is enabled
In return, the RenderPass tells the driver how resources will be accessed by the difference subpasses so that it can optimize memory accesses and synchronizations to the attachments which is especially imported on Tile based GPUs.
RenderPass instances are provided by the logical Device. The RenderPass is used to instruct the CommandRecorder the rendering architectures.
Also, GraphicsPipelines are to be bound against a RenderPass at a specific subpass index. They can be reused across multiple compatible RenderPasses (same attachment count and format). The renderpass ultimately being used is the one specified by the CommandRecorder.
Public Functions Documentation¶
function RenderPass¶
1 |
|
function ~RenderPass¶
1 |
|
function RenderPass¶
1 2 3 |
|
function operator=¶
1 2 3 |
|
function RenderPass¶
1 2 3 |
|
function operator=¶
1 2 3 |
|
function handle¶
1 |
|
Returns the handle used to retrieve the underlying API specific RenderPass.
See: ResourceManager
function isValid¶
1 |
|
Convenience function to check whether the RenderPass is actually referencing a valid API specific resource.
function operator Handle< RenderPass_t >¶
1 |
|
Friends¶
friend Device¶
1 2 3 |
|
Updated on 2024-09-08 at 00:13:10 +0000