/* * Copyright (c) Hisilicon Technologies Co., Ltd. 2020-2020. All rights reserved. * Description: DolGLDrawSurface * Author: * Create: 2020-01-03 */ #ifndef RECT_INFO_H #define RECT_INFO_H #include "Common.h" namespace dolgles { class RectInfo { public: RectInfo(); ~RectInfo(); void SetDstFbo(const FrameBuffObject &fbo); const FrameBuffObject &GetDstFbo() const; void SetDstRect(const GLRectInfo &rect); const GLRectInfo &GetDstRect() const; void SetRectColor(const ColorRGBA &color); const ColorRGBA &GetRectColor() const; private: FrameBuffObject dstFbo; GLRectInfo dstRect; ColorRGBA mColor; }; }; // namespace dolgles #endif // end RECT_INFO_H