clarified framebuffer comments

This commit is contained in:
Noel Berry 2020-08-27 23:41:42 -07:00 committed by GitHub
parent 6bcf8d6d41
commit a9087d10bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,10 +13,10 @@ namespace Blah
public: public:
virtual ~FrameBuffer() = default; virtual ~FrameBuffer() = default;
// Gets an Attachment from the FrameBuffer // Gets the list of Attachments from the FrameBuffer
virtual Attachments& attachments() = 0; virtual Attachments& attachments() = 0;
// Gets an Attachment from the FrameBuffer // Gets the list of Attachments from the FrameBuffer
virtual const Attachments& attachments() const = 0; virtual const Attachments& attachments() const = 0;
// Gets the width of the FrameBuffer // Gets the width of the FrameBuffer
@ -33,4 +33,4 @@ namespace Blah
}; };
typedef std::shared_ptr<FrameBuffer> FrameBufferRef; typedef std::shared_ptr<FrameBuffer> FrameBufferRef;
} }