struct
DepthStencilAttachmentRepresents an tp::
Constructors, destructors, conversion operators
- DepthStencilAttachment()
- Describes an empty attachment.
- DepthStencilAttachment(ImageView image, bool depthReadOnly, AttachmentLoadOp depthLoadOp, AttachmentStoreOp depthStoreOp, bool stencilReadOnly, AttachmentLoadOp stencilLoadOp, AttachmentStoreOp stencilStoreOp, ClearValue clearValue = {}, ImageView resolveImage = {}, ResolveMode resolveMode = ResolveMode::Average)
- DepthStencilAttachment(ImageView image, bool readOnly, AttachmentLoadOp loadOp, AttachmentStoreOp storeOp, ClearValue clearValue = {}, ImageView resolveImage = {}, ResolveMode resolveMode = ResolveMode::Average)
Function documentation
tp:: DepthStencilAttachment:: DepthStencilAttachment(ImageView image,
bool depthReadOnly,
AttachmentLoadOp depthLoadOp,
AttachmentStoreOp depthStoreOp,
bool stencilReadOnly,
AttachmentLoadOp stencilLoadOp,
AttachmentStoreOp stencilStoreOp,
ClearValue clearValue = {},
ImageView resolveImage = {},
ResolveMode resolveMode = ResolveMode::Average)
Parameters | |
---|---|
image | The image view used as an attachment. |
depthReadOnly | If true , specifies that the depth aspect will not be written to inside the render pass. |
depthLoadOp | The load operation for the depth aspect done at the start of the render pass. |
depthStoreOp | The store operation for the depth aspect done at the end of the render pass. |
stencilReadOnly | If true , specifies that the stenncil aspect will not be written to inside the render pass. |
stencilLoadOp | The load operation for the stencil aspect done at the start of the render pass. |
stencilStoreOp | The store operation for the stencil aspect done at the end of the render pass. |
clearValue | If load operation is tp:: |
resolveImage | The image view that resolved multisample data will be written to at the end of the render pass. |
resolveMode | The resolve mode that will be used if resolveImage is defined. |
tp:: DepthStencilAttachment:: DepthStencilAttachment(ImageView image,
bool readOnly,
AttachmentLoadOp loadOp,
AttachmentStoreOp storeOp,
ClearValue clearValue = {},
ImageView resolveImage = {},
ResolveMode resolveMode = ResolveMode::Average)
Parameters | |
---|---|
image | The image view used as an attachment. |
readOnly | If true , specifies that the attachment will not be written to inside the render pass. |
loadOp | The load operation done at the start of the render pass. |
storeOp | The store operation done at the end of the render pass. |
clearValue | If load operation is tp:: |
resolveImage | The image view that resolved multisample data will be written to at the end of the render pass. |
resolveMode | The resolve mode that will be used if resolveImage is defined. |