Go to the documentation of this file.
41 { 0xb818dec7, 0x174d, 0x447a, { 0xa8, 0xe4, 0x94, 0xd2, 0x1c, 0x57, 0xb4, 0xa } };
121 #if DILIGENT_CPP_INTERFACE
130 return Format == RHS.
Format &&
143 #define ATTACHMENT_UNUSED (~0U)
155 #if DILIGENT_CPP_INTERFACE
160 AttachmentIndex{_AttachmentIndex},
178 return !(*
this == RHS);
223 #if DILIGENT_CPP_INTERFACE
237 for(
Uint32 i=0; i < InputAttachmentCount; ++i)
243 for(
Uint32 i=0; i < RenderTargetAttachmentCount; ++i)
255 for(
Uint32 i=0; i < RenderTargetAttachmentCount; ++i)
278 for(
Uint32 i=0; i < PreserveAttachmentCount; ++i)
292 #define SUBPASS_EXTERNAL (~0U)
315 #if DILIGENT_CPP_INTERFACE
334 return !(*
this == RHS);
364 #if DILIGENT_CPP_INTERFACE
384 struct IRenderPassVtbl
386 struct IObjectMethods Object;
387 struct IDeviceObjectMethods DeviceObject;
391 typedef struct IRenderPass
393 struct IRenderPassVtbl* pVtbl;
Uint32 RenderTargetAttachmentCount
The number of color render target attachments.
Definition: RenderPass.h:195
struct INTERFACE_ID INTERFACE_ID
Definition: InterfaceID.h:54
const AttachmentReference * pResolveAttachments
Pointer to the array of resolve attachments, see Diligent::AttachmentReference.
Definition: RenderPass.h:212
ATTACHMENT_STORE_OP
Render pass attachment store operation Vulkan counterpart: VkAttachmentStoreOp. D3D12 counterpart: D3...
Definition: RenderPass.h:71
@ PIPELINE_STAGE_FLAG_UNDEFINED
Undefined stage.
Definition: GraphicsTypes.h:2628
ATTACHMENT_STORE_OP StencilStoreOp
Store operation how the contents of the stencil component of the attachment is treated at the end of ...
Definition: RenderPass.h:112
const AttachmentReference * pDepthStencilAttachment
Pointer to the depth-stencil attachment, see Diligent::AttachmentReference.
Definition: RenderPass.h:215
ATTACHMENT_LOAD_OP LoadOp
Load operation that specifies how the contents of color and depth components of the attachment are tr...
Definition: RenderPass.h:98
Attachment reference description.
Definition: RenderPass.h:146
PIPELINE_STAGE_FLAGS DstStageMask
A bitmask of PIPELINE_STAGE_FLAGS specifying the destination stage mask.
Definition: RenderPass.h:307
PIPELINE_STAGE_FLAGS SrcStageMask
A bitmask of PIPELINE_STAGE_FLAGS specifying the source stage mask.
Definition: RenderPass.h:304
AttachmentReference() noexcept
Definition: RenderPass.h:156
PIPELINE_STAGE_FLAGS
Pipeline stage flags.
Definition: GraphicsTypes.h:2625
bool operator==(const Plane3D &p1, const Plane3D &p2)
Definition: AdvancedMath.hpp:442
@ ATTACHMENT_LOAD_OP_DISCARD
The previous contents within the area need not be preserved; the contents of the attachment will be u...
Definition: RenderPass.h:64
Render pass description.
Definition: RenderPass.h:341
TEXTURE_FORMAT Format
The format of the texture view that will be used for the attachment.
Definition: RenderPass.h:91
Subpass dependency description.
Definition: RenderPass.h:295
Base interface for all objects created by the render device Diligent::IRenderDevice.
Definition: DeviceObject.h:52
Uint32 SrcSubpass
The subpass index of the first subpass in the dependency, or SUBPASS_EXTERNAL.
Definition: RenderPass.h:298
@ TEX_FORMAT_UNKNOWN
Unknown format.
Definition: GraphicsTypes.h:331
const AttachmentReference * pRenderTargetAttachments
Pointer to the array of color render target attachments, see Diligent::AttachmentReference.
Definition: RenderPass.h:203
@ ATTACHMENT_STORE_OP_DISCARD
The contents within the render area are not needed after rendering, and may be discarded; the content...
Definition: RenderPass.h:82
Describes common device object attributes.
Definition: GraphicsTypes.h:1196
Uint32 DstSubpass
The subpass index of the second subpass in the dependency, or SUBPASS_EXTERNAL.
Definition: RenderPass.h:301
RESOURCE_STATE FinalState
The state the attachment texture subresource will be transitioned to when a render pass instance ends...
Definition: RenderPass.h:118
RESOURCE_STATE InitialState
The state the attachment texture subresource will be in when a render pass instance begins.
Definition: RenderPass.h:115
ATTACHMENT_STORE_OP StoreOp
Store operation how the contents of color and depth components of the attachment are treated at the e...
Definition: RenderPass.h:102
#define DILIGENT_END_NAMESPACE
Definition: CommonDefinitions.h:86
@ ATTACHMENT_STORE_OP_STORE
The contents generated during the render pass and within the render area are written to memory....
Definition: RenderPass.h:76
ATTACHMENT_LOAD_OP
Render pass attachment load operation Vulkan counterpart: VkAttachmentLoadOp. D3D12 counterpart: D3D1...
Definition: RenderPass.h:47
#define DILIGENT_DERIVE(TypeName)
Definition: CommonDefinitions.h:90
Render pass subpass decription.
Definition: RenderPass.h:186
#define DILIGENT_CALL_TYPE
Definition: CommonDefinitions.h:45
@ ATTACHMENT_LOAD_OP_CLEAR
The contents within the render area will be cleared to a uniform value, which is specified when a ren...
Definition: RenderPass.h:58
uint32_t Uint32
32-bit unsigned integer
Definition: BasicTypes.h:51
#define DEFAULT_INITIALIZER(x)
Definition: CommonDefinitions.h:93
ACCESS_FLAGS
Access flag.
Definition: GraphicsTypes.h:2721
Uint32 InputAttachmentCount
The number of input attachments the subpass uses.
Definition: RenderPass.h:189
@ RESOURCE_STATE_UNKNOWN
The resource state is not known to the engine and is managed by the application.
Definition: GraphicsTypes.h:2817
@ ACCESS_FLAG_NONE
No access.
Definition: GraphicsTypes.h:2724
Uint8 SampleCount
The number of samples in the texture.
Definition: RenderPass.h:94
RESOURCE_STATE State
The state of the attachment during the subpass.
Definition: RenderPass.h:153
TEXTURE_FORMAT
Texture formats.
Definition: GraphicsTypes.h:328
const Uint32 * pPreserveAttachments
Pointer to the array of preserve attachments, see Diligent::AttachmentReference.
Definition: RenderPass.h:221
@ ATTACHMENT_LOAD_OP_LOAD
The previous contents of the texture within the render area will be preserved. Vulkan counterpart: VK...
Definition: RenderPass.h:52
Render pass attachment description.
Definition: RenderPass.h:88
#define DILIGENT_TYPED_ENUM(EnumName, EnumType)
Definition: CommonDefinitions.h:88
ACCESS_FLAGS DstAccessMask
A bitmask of ACCESS_FLAGS specifying a destination access mask.
Definition: RenderPass.h:313
ATTACHMENT_LOAD_OP StencilLoadOp
Load operation that specifies how the contents of the stencil component of the attachment is treated ...
Definition: RenderPass.h:107
uint8_t Uint8
8-bit unsigned integer
Definition: BasicTypes.h:53
#define DILIGENT_BEGIN_NAMESPACE(Name)
Definition: CommonDefinitions.h:82
Uint32 AttachmentIndex
Either an integer value identifying an attachment at the corresponding index in RenderPassDesc::pAtta...
Definition: RenderPass.h:150
RESOURCE_STATE
Resource usage state.
Definition: GraphicsTypes.h:2814
AttachmentReference(Uint32 _AttachmentIndex, RESOURCE_STATE _State) noexcept
Definition: RenderPass.h:158
const AttachmentReference * pInputAttachments
Pointer to the array of input attachments, see Diligent::AttachmentReference.
Definition: RenderPass.h:192
bool operator!=(const STDAllocator< T, A > &left, const STDAllocator< U, A > &right)
Definition: STDAllocator.hpp:173
ACCESS_FLAGS SrcAccessMask
A bitmask of ACCESS_FLAGS specifying a source access mask.
Definition: RenderPass.h:310
Render pass interface.
Definition: RenderPass.h:369
Uint32 PreserveAttachmentCount
The number of preserve attachments.
Definition: RenderPass.h:218
The library uses Direct3D-style math:
Definition: AdvancedMath.hpp:37