AliyunQueenSDK v1.9.0
Public 成员函数 | Protected 属性
queen::GlfwWindow类 参考

#include <glfw_window.h>

Public 成员函数

 GlfwWindow ()
 
 ~GlfwWindow ()
 
const char * GetGLVersion ()
 
bool Init (int width, int height, bool withWindow)
 
bool InitWithMajor (int Major, int width, int height, bool withWindow)
 
void MakeCurrent ()
 
void updateWindowSize (int width, int height)
 
void BeginRender (const std::function< void(int window_width, int window_height)> &func)
 

Protected 属性

GLFWwindow * mWin { nullptr }
 

详细描述

在文件 glfw_window.h19 行定义.

构造及析构函数说明

◆ GlfwWindow()

queen::GlfwWindow::GlfwWindow ( )

◆ ~GlfwWindow()

queen::GlfwWindow::~GlfwWindow ( )

成员函数说明

◆ BeginRender()

void queen::GlfwWindow::BeginRender ( const std::function< void(int window_width, int window_height)> &  func)

◆ GetGLVersion()

const char * queen::GlfwWindow::GetGLVersion ( )

◆ Init()

bool queen::GlfwWindow::Init ( int  width,
int  height,
bool  withWindow 
)

◆ InitWithMajor()

bool queen::GlfwWindow::InitWithMajor ( int  Major,
int  width,
int  height,
bool  withWindow 
)

◆ MakeCurrent()

void queen::GlfwWindow::MakeCurrent ( )

◆ updateWindowSize()

void queen::GlfwWindow::updateWindowSize ( int  width,
int  height 
)

结构体成员变量说明

◆ mWin

GLFWwindow* queen::GlfwWindow::mWin { nullptr }
protected

在文件 glfw_window.h31 行定义.


该类的文档由以下文件生成: