Class CCEGLView

#include <Geode/cocos/platform/win32/CCEGLView.h>
classCCEGLView:publiccocos2d::CCEGLViewProtocol,publiccocos2d::CCObject{ ... }
No description provided
Examples0
Public static methods6
staticcocos2d::CCEGLView*sharedOpenGLView()

get the shared main open gl window

staticcocos2d::CCEGLView*get()
No description provided

ℹ Geode addition

staticcocos2d::CCEGLView*create()
No description provided

ℹ RobTop addition

staticcocos2d::CCEGLView*createWithFullScreen(,)
No description provided
staticcocos2d::CCEGLView*createWithFullScreen(,,,)
No description provided
staticcocos2d::CCEGLView*createWithRect(,,)
No description provided
Public member functions46
virtualboolisOpenGLReady()
No description provided
virtualvoidend()
No description provided
virtualvoidswapBuffers()
No description provided
virtualvoidsetFrameSize(
floatwidth
,
floatheight
)
No description provided
virtualvoidsetIMEKeyboardState(
boolbOpen
)
No description provided
voidupdateWindow(
intwidth
,
intheight
)
No description provided
voidpollEvents()
No description provided
voidsetMenuResource()
No description provided
voidsetWndProc()
No description provided
voidsetHWnd(
HWNDhWnd
)
No description provided
voidresizeWindow(
intwidth
,
intheight
)
No description provided
voidsetFrameZoomFactor(
floatfZoomFactor
)
No description provided
floatgetFrameZoomFactor()
No description provided
voidcenterWindow()
No description provided
boolwindowShouldClose()
No description provided
voidshowCursor(
boolstate
)
No description provided
voidsetAccelerometerKeyHook()
No description provided
virtualvoidsetViewPortInPoints(,,,)
No description provided
virtualvoidsetScissorInPoints(,,,)
No description provided
cocos2d::CCPointgetMousePosition()
No description provided

ℹ Geode addition

voidtoggleFullScreen(
boolfullscreen
,
boolborderless
)
No description provided

ℹ RobTop addition

GLFWwindow*getWindow()const
No description provided

ℹ RobTop addition

cocos2d::CCSizegetDisplaySize()
No description provided

ℹ RobTop addition

voidcapture()
No description provided
voidcheckErrorGL()
No description provided
voidenableRetina()
No description provided
boolgetCursorLocked()const
No description provided
boolgetGameplayActive()const
No description provided
boolgetIsBorderless()const
No description provided
boolgetIsFullscreen()const
No description provided
intgetRetinaFactor()const
No description provided
boolgetShouldHideCursor()const
No description provided
voidiconify()
No description provided
boolinitWithFullScreen(,)
No description provided
boolinitWithFullscreen(,,,)
No description provided
boolinitWithRect(,,)
No description provided
boolisRetinaEnabled()const
No description provided
voidonGLFWWindowCloseFunCallback()
No description provided
voidreleaseCapture()
No description provided
voidshowMessage()
No description provided
voidtoggleGameplayActive()
No description provided
voidtoggleLockCursor()
No description provided
voidupdateDesignSize(,)
No description provided
voidupdateFrameSize()
No description provided
cocos2d::CCSizegetWindowedSize()const
No description provided
voidsetWindowedSize()
No description provided
Fields7
floatm_fMouseX
;
No description provided
floatm_fMouseY
;
No description provided
boolm_bIsFullscreen
;
No description provided
boolm_bIsBorderless
;
No description provided
boolm_bShouldHideCursor
;
No description provided
boolm_bCursorLocked
;
No description provided
boolm_bShouldCallGLFinish
;
No description provided
Protected member functions14
voidsetupWindow()
No description provided
boolinitGlew()
No description provided
voidonGLFWCharCallback(,
uintentered
)
No description provided
voidonGLFWCursorEnterFunCallback(,
intentered
)
No description provided
voidonGLFWDeviceChangeFunCallback()
No description provided
voidonGLFWError(
intcode
,
charconst*description
)
No description provided
voidonGLFWframebuffersize(,
intwidth
,
intheight
)
No description provided
voidonGLFWMouseMoveCallBack(,,)
No description provided
voidonGLFWMouseCallBack(,
intbutton
,
intaction
,
intmods
)
No description provided
voidonGLFWKeyCallback(,
intkey
,
intscancode
,
intaction
,
intmods
)
No description provided
voidonGLFWMouseScrollCallback(,
doublexoffset
,
doubleyoffset
)
No description provided
voidonGLFWWindowIconifyFunCallback(,
inticonified
)
No description provided
voidonGLFWWindowPosCallback(,,)
No description provided
voidonGLFWWindowSizeFunCallback(,
intwidth
,
intheight
)
No description provided
Protected fields10
boolm_bCaptured
;
No description provided
boolm_bSupportTouch
;
No description provided
boolm_bInRetinaMonitor
;
No description provided
boolm_bRetinaEnabled
;
No description provided
intm_nRetinaFactor
;
No description provided
boolm_bCursorHidden
;
No description provided
floatm_fFrameZoomFactor
;
No description provided
GLFWwindow*m_pMainWindow
;
No description provided
GLFWmonitor*m_pPrimaryMonitor
;
No description provided
cocos2d::CCSizem_obWindowedSize
;
No description provided