24 #ifndef PXR_IMAGING_HGI_GRAPHICS_CMDS_DESC_H 25 #define PXR_IMAGING_HGI_GRAPHICS_CMDS_DESC_H 28 #include "pxr/imaging/hgi/api.h" 29 #include "pxr/imaging/hgi/attachmentDesc.h" 30 #include "pxr/imaging/hgi/texture.h" 33 PXR_NAMESPACE_OPEN_SCOPE
64 : colorAttachmentDescs()
65 , depthAttachmentDesc()
67 , colorResolveTextures()
69 , depthResolveTexture()
72 inline bool HasAttachments()
const {
73 return !colorAttachmentDescs.empty() || depthTexture;
76 HgiAttachmentDescVector colorAttachmentDescs;
79 HgiTextureHandleVector colorTextures;
80 HgiTextureHandleVector colorResolveTextures;
82 HgiTextureHandle depthTexture;
83 HgiTextureHandle depthResolveTexture;
102 PXR_NAMESPACE_CLOSE_SCOPE
Describes the properties of a framebuffer attachment.
AR_API bool operator!=(const ArAssetInfo &lhs, const ArAssetInfo &rhs)
AR_API bool operator==(const ArAssetInfo &lhs, const ArAssetInfo &rhs)
Describes the properties to begin a HgiGraphicsCmds.
GF_API std::ostream & operator<<(std::ostream &, const GfBBox3d &)
Output a GfBBox3d using the format [(range) matrix zeroArea].