初步定义渲染窗口的初始化
This commit is contained in:
@@ -65,6 +65,8 @@ namespace hgl
|
||||
uint depth; ///<Depth缓冲区位深度,默认24
|
||||
uint stencil; ///<Stencil缓冲区位深度,默认8,不使用请写0
|
||||
|
||||
bool no_use_stencil; ///<不使用stencil缓冲区
|
||||
|
||||
struct
|
||||
{
|
||||
uint red; ///<Accum缓冲区红色位深度,默认0
|
||||
@@ -90,6 +92,17 @@ namespace hgl
|
||||
}texture;
|
||||
};
|
||||
|
||||
struct OpenGLRenderSetup:public RenderSetup
|
||||
{
|
||||
bool debug=true;
|
||||
|
||||
bool es=false;
|
||||
bool egl=false;
|
||||
|
||||
uint major=3;
|
||||
uint minor=3;
|
||||
};
|
||||
|
||||
class RenderWindow;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user