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
718 B
31 lines
718 B
4 months ago
|
/*
|
||
|
* Copyright (c) Hisilicon Technologies Co., Ltd. 2020-2020. All rights reserved.
|
||
|
* Description: DolGLDrawSurface
|
||
|
* Author:
|
||
|
* Create: 2020-05-25
|
||
|
*/
|
||
|
|
||
|
#ifndef ROUND_INFO_H
|
||
|
#define ROUND_INFO_H
|
||
|
|
||
|
#include "Common.h"
|
||
|
|
||
|
namespace dolgles {
|
||
|
class RoundInfo {
|
||
|
public:
|
||
|
RoundInfo();
|
||
|
~RoundInfo();
|
||
|
void SetDstFbo(const FrameBuffObject &fbo);
|
||
|
const FrameBuffObject &GetDstFbo() const;
|
||
|
void SetDstRound(const GLRoundInfo &round);
|
||
|
const GLRoundInfo &GetDstRound() const;
|
||
|
void SetRoundColor(const ColorRGBA &color);
|
||
|
const ColorRGBA &GetRoundColor() const;
|
||
|
private:
|
||
|
FrameBuffObject dstFbo;
|
||
|
GLRoundInfo dstRound;
|
||
|
ColorRGBA mColor;
|
||
|
};
|
||
|
}; // namespace dolgles
|
||
|
|
||
|
#endif // end ROUND_INFO_H
|