You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
703 B
31 lines
703 B
4 months ago
|
/*
|
||
|
* 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
|