|
bool | isOpenGLReady () override |
| Get whether opengl render system is ready, subclass must implement this method. More...
|
|
void | end () override |
| Force destroying EGL view, subclass must implement this method. More...
|
|
void | swapBuffers () override |
| Exchanges the front and back buffers, subclass must implement this method. More...
|
|
void | setIMEKeyboardState (bool bOpen) override |
| Open or close IME keyboard , subclass must implement this method. More...
|
|
var | setIMEKeyboardState ( var bOpen) |
| Open or close IME keyboard , subclass must implement this method. More...
|
|
local | setIMEKeyboardState ( local bOpen) |
| Open or close IME keyboard , subclass must implement this method. More...
|
|
float | getFrameZoomFactor () const |
virtual void | setViewPortInPoints (float x, float y, float w, float h) |
| Set opengl view port rectangle with points. More...
|
|
local | setViewPortInPoints ( local x, local y, local w, local h) |
| Set opengl view port rectangle with points. More...
|
|
virtual void | setScissorInPoints (float x, float y, float w, float h) |
| Set Scissor rectangle with points. More...
|
|
local | setScissorInPoints ( local x, local y, local w, local h) |
| Set Scissor rectangle with points. More...
|
|
bool | windowShouldClose () |
void | pollEvents () |
GLFWwindow * | getWindow () const |
local | getWindow () |
virtual bool | isOpenGLReady () override |
| Get whether opengl render system is ready, subclass must implement this method. More...
|
|
local | isOpenGLReady () |
| Get whether opengl render system is ready, subclass must implement this method. More...
|
|
virtual void | end () override |
| Force destroying EGL view, subclass must implement this method. More...
|
|
virtual void | swapBuffers () override |
| Exchanges the front and back buffers, subclass must implement this method. More...
|
|
virtual void | setFrameSize (float width, float height) override |
| Set the frame size of EGL view. More...
|
|
local | setFrameSize ( local width, local height) |
| Set the frame size of EGL view. More...
|
|
virtual void | setIMEKeyboardState (bool bOpen) override |
| Open or close IME keyboard , subclass must implement this method. More...
|
|
local | setIMEKeyboardState ( local bOpen) |
| Open or close IME keyboard , subclass must implement this method. More...
|
|
void | setFrameZoomFactor (float zoomFactor) |
| Set and get zoom factor for frame. More...
|
|
void | enableRetina (bool enabled) |
| Retina support is disabled by default. More...
|
|
bool | isRetinaEnabled () const |
| Check whether retina display is enabled. More...
|
|
int | getRetinaFactor () const |
| Get retina factor. More...
|
|
HWND | getWin32Window () |
id | getCocoaWindow () |
bool | setContentScaleFactor (float contentScaleFactor) |
| sets the content scale factor More...
|
|
var | setContentScaleFactor ( var contentScaleFactor) |
| sets the content scale factor More...
|
|
local | setContentScaleFactor ( local contentScaleFactor) |
| sets the content scale factor More...
|
|
float | getContentScaleFactor () const |
| returns the content scale factor More...
|
|
bool | isRetinaDisplay () const |
| returns whether or not the view is in Retina Display mode More...
|
|
void * | getEAGLView () const |
| returns the objective-c CCEAGLView instance More...
|
|
virtual bool | isOpenGLReady () override |
| Get whether opengl render system is ready, subclass must implement this method. More...
|
|
virtual void | end () override |
| Force destroying EGL view, subclass must implement this method. More...
|
|
virtual void | swapBuffers () override |
| Exchanges the front and back buffers, subclass must implement this method. More...
|
|
virtual void | setIMEKeyboardState (bool bOpen) override |
| Open or close IME keyboard , subclass must implement this method. More...
|
|
local | setIMEKeyboardState ( local bOpen) |
| Open or close IME keyboard , subclass must implement this method. More...
|
|
virtual bool | isOpenGLReady () |
| Get whether opengl render system is ready, subclass must implement this method. More...
|
|
virtual void | end () |
| Force destroying EGL view, subclass must implement this method. More...
|
|
virtual void | swapBuffers () |
| Exchanges the front and back buffers, subclass must implement this method. More...
|
|
virtual void | setViewPortInPoints (float x, float y, float w, float h) |
| Set opengl view port rectangle with points. More...
|
|
local | setViewPortInPoints ( local x, local y, local w, local h) |
| Set opengl view port rectangle with points. More...
|
|
virtual void | setScissorInPoints (float x, float y, float w, float h) |
| Set Scissor rectangle with points. More...
|
|
local | setScissorInPoints ( local x, local y, local w, local h) |
| Set Scissor rectangle with points. More...
|
|
Windows::Graphics::Display::DisplayOrientations | getDeviceOrientation () |
Size | getRenerTargetSize () const |
virtual void | setIMEKeyboardState (bool bOpen) |
| Open or close IME keyboard , subclass must implement this method. More...
|
|
var | setIMEKeyboardState ( var bOpen) |
| Open or close IME keyboard , subclass must implement this method. More...
|
|
local | setIMEKeyboardState ( local bOpen) |
| Open or close IME keyboard , subclass must implement this method. More...
|
|
virtual void | setIMEKeyboardState (bool bOpen, std::string str) |
local | setIMEKeyboardState ( local bOpen, local str) |
virtual bool | Create (float width, float height, float dpi, Windows::Graphics::Display::DisplayOrientations orientation) |
local | Create ( local width, local height, local dpi, local orientation) |
void | setDispatcher (Windows::UI::Core::CoreDispatcher^dispatcher) |
Windows::UI::Core::CoreDispatcher | getDispatcher () |
local | getDispatcher () |
void | setPanel (Windows::UI::Xaml::Controls::Panel^panel) |
Windows::UI::Xaml::Controls::Panel | getPanel () |
local | getPanel () |
void | OnPointerPressed (Windows::UI::Core::PointerEventArgs^args) |
var | OnPointerPressed ( var args) |
local | OnPointerPressed ( local args) |
void | OnPointerMoved (Windows::UI::Core::PointerEventArgs^args) |
void | OnPointerReleased (Windows::UI::Core::PointerEventArgs^args) |
local | OnPointerReleased ( local args) |
void | OnPointerPressed (Windows::UI::Core::CoreWindow^sender, Windows::UI::Core::PointerEventArgs^args) |
void | OnPointerWheelChanged (Windows::UI::Core::CoreWindow^, Windows::UI::Core::PointerEventArgs^args) |
void | OnPointerMoved (Windows::UI::Core::CoreWindow^, Windows::UI::Core::PointerEventArgs^args) |
void | OnPointerReleased (Windows::UI::Core::CoreWindow^sender, Windows::UI::Core::PointerEventArgs^args) |
void | OnVisibilityChanged (Windows::UI::Core::CoreWindow^sender, Windows::UI::Core::VisibilityChangedEventArgs^args) |
void | OnWindowClosed (Windows::UI::Core::CoreWindow^sender, Windows::UI::Core::CoreWindowEventArgs^args) |
void | OnResuming (Platform::Object^sender, Platform::Object^args) |
void | OnSuspending (Platform::Object^sender, Windows::ApplicationModel::SuspendingEventArgs^args) |
void | OnBackKeyPress () |
void | QueueBackKeyPress () |
void | QueuePointerEvent (PointerEventType type, Windows::UI::Core::PointerEventArgs^args) |
void | QueueEvent (std::shared_ptr< InputEvent > &event) |
bool | ShowMessageBox (Platform::String^title, Platform::String^message) |
int | Run () |
void | Render () |
void | resize (int width, int height) |
local | resize ( local width, local height) |
float | getFrameZoomFactor () |
void | centerWindow () |
void | UpdateOrientation (Windows::Graphics::Display::DisplayOrientations orientation) |
void | UpdateForWindowSizeChange (float width, float height) |
void | SetDPI (float dpi) |
float | GetDPI () |
void | ProcessEvents () |
| GLViewImpl () |
virtual | ~GLViewImpl () |
virtual bool | isOpenGLReady () |
| Get whether opengl render system is ready, subclass must implement this method. More...
|
|
local | isOpenGLReady () |
| Get whether opengl render system is ready, subclass must implement this method. More...
|
|
virtual void | end () |
| Force destroying EGL view, subclass must implement this method. More...
|
|
virtual void | swapBuffers () |
| Exchanges the front and back buffers, subclass must implement this method. More...
|
|
local | swapBuffers () |
| Exchanges the front and back buffers, subclass must implement this method. More...
|
|
virtual void | setFrameSize (float width, float height) |
| Set the frame size of EGL view. More...
|
|
local | setFrameSize ( local width, local height) |
| Set the frame size of EGL view. More...
|
|
virtual void | setIMEKeyboardState (bool bOpen) |
| Open or close IME keyboard , subclass must implement this method. More...
|
|
local | setIMEKeyboardState ( local bOpen) |
| Open or close IME keyboard , subclass must implement this method. More...
|
|
void | ShowKeyboard (Windows::Foundation::Rect r) |
void | HideKeyboard (Windows::Foundation::Rect r) |
virtual bool | Create (Windows::UI::Core::CoreWindow^window, Windows::UI::Xaml::Controls::SwapChainBackgroundPanel^panel) |
var | Create ( var window, var panel) |
local | Create ( local window, local panel) |
void | UpdateForWindowSizeChange () |
void | OnRendering () |
void | OnSuspending () |
void | GLViewImpl::QueueEvent (std::shared_ptr< InputEvent > &event) |
var | GLViewImpl::QueueEvent ( var event) |
local | GLViewImpl::QueueEvent ( local event) |
void | OnPointerPressed (Windows::UI::Core::PointerEventArgs^args) |
void | OnPointerMoved (Windows::UI::Core::PointerEventArgs^args) |
void | OnPointerReleased (Windows::UI::Core::PointerEventArgs^args) |
var | OnPointerReleased ( var args) |
local | OnPointerReleased ( local args) |
void | OnPointerPressed (Windows::UI::Core::CoreWindow^sender, Windows::UI::Core::PointerEventArgs^args) |
void | OnBackKeyPress () |
Windows::UI::Core::CoreWindow | getWindow () |
int | Run () |
void | resize (int width, int height) |
local | resize ( local width, local height) |
void | setFrameZoomFactor (float fZoomFactor) |
| Set and get zoom factor for frame. More...
|
|
var | setFrameZoomFactor ( var fZoomFactor) |
| Set and get zoom factor for frame. More...
|
|
local | setFrameZoomFactor ( local fZoomFactor) |
| Set and get zoom factor for frame. More...
|
|
float | getFrameZoomFactor () |
void | centerWindow () |
virtual bool | isOpenGLReady () |
| Get whether opengl render system is ready, subclass must implement this method. More...
|
|
virtual void | end () |
| Force destroying EGL view, subclass must implement this method. More...
|
|
virtual void | swapBuffers () |
| Exchanges the front and back buffers, subclass must implement this method. More...
|
|
local | swapBuffers () |
| Exchanges the front and back buffers, subclass must implement this method. More...
|
|
virtual void | setViewPortInPoints (float x, float y, float w, float h) |
| Set opengl view port rectangle with points. More...
|
|
local | setViewPortInPoints ( local x, local y, local w, local h) |
| Set opengl view port rectangle with points. More...
|
|
virtual void | setScissorInPoints (float x, float y, float w, float h) |
| Set Scissor rectangle with points. More...
|
|
local | setScissorInPoints ( local x, local y, local w, local h) |
| Set Scissor rectangle with points. More...
|
|
const Mat4 & | getOrientationMatrix () const |
const Mat4 & | getReverseOrientationMatrix () const |
var | getReverseOrientationMatrix () |
local | getReverseOrientationMatrix () |
Windows::Graphics::Display::DisplayOrientations | getDeviceOrientation () |
Size | getRenerTargetSize () const |
virtual void | setIMEKeyboardState (bool bOpen) |
| Open or close IME keyboard , subclass must implement this method. More...
|
|
local | setIMEKeyboardState ( local bOpen) |
| Open or close IME keyboard , subclass must implement this method. More...
|
|
virtual void | setIMEKeyboardState (bool bOpen, std::string str) |
local | setIMEKeyboardState ( local bOpen, local str) |
Platform::String | stringToPlatformString (std::string strSrc) |
void | ShowKeyboard (Windows::Foundation::Rect r) |
void | HideKeyboard (Windows::Foundation::Rect r) |
virtual bool | Create (EGLDisplay eglDisplay, EGLContext eglContext, EGLSurface eglSurface, float width, float height, Windows::Graphics::Display::DisplayOrientations orientation) |
local | Create ( local eglDisplay, local eglContext, local eglSurface, local width, local height, local orientation) |
virtual void | UpdateDevice (EGLDisplay eglDisplay, EGLContext eglContext, EGLSurface eglSurface) |
var | UpdateDevice ( var eglDisplay, var eglContext, var eglSurface) |
local | UpdateDevice ( local eglDisplay, local eglContext, local eglSurface) |
void | OnPointerPressed (Windows::UI::Core::PointerEventArgs^args) |
void | OnPointerMoved (Windows::UI::Core::PointerEventArgs^args) |
void | OnPointerReleased (Windows::UI::Core::PointerEventArgs^args) |
local | OnPointerReleased ( local args) |
void | OnPointerPressed (Windows::UI::Core::CoreWindow^sender, Windows::UI::Core::PointerEventArgs^args) |
void | OnPointerWheelChanged (Windows::UI::Core::CoreWindow^, Windows::UI::Core::PointerEventArgs^args) |
void | OnPointerMoved (Windows::UI::Core::CoreWindow^, Windows::UI::Core::PointerEventArgs^args) |
void | OnPointerReleased (Windows::UI::Core::CoreWindow^sender, Windows::UI::Core::PointerEventArgs^args) |
void | OnVisibilityChanged (Windows::UI::Core::CoreWindow^sender, Windows::UI::Core::VisibilityChangedEventArgs^args) |
void | OnWindowClosed (Windows::UI::Core::CoreWindow^sender, Windows::UI::Core::CoreWindowEventArgs^args) |
void | OnResuming (Platform::Object^sender, Platform::Object^args) |
void | OnSuspending (Platform::Object^sender, Windows::ApplicationModel::SuspendingEventArgs^args) |
void | OnBackKeyPress () |
void | QueueBackKeyPress () |
void | QueuePointerEvent (PointerEventType type, Windows::UI::Core::PointerEventArgs^args) |
void | GLViewImpl::QueueEvent (std::shared_ptr< InputEvent > &event) |
void | SetXamlEventDelegate (Cocos2dEventDelegate^delegate) |
void | SetXamlMessageBoxDelegate (Cocos2dMessageBoxDelegate^delegate) |
void | SetXamlEditBoxDelegate (Cocos2dEditBoxDelegate^delegate) |
bool | ShowMessageBox (Platform::String^title, Platform::String^message) |
bool | OpenXamlEditBox (Platform::String^strPlaceHolder, Platform::String^strText, int maxLength, int inputMode, int inputFlag, Windows::Foundation::EventHandler< Platform::String^>^receiveHandler) |
int | Run () |
void | Render () |
void | resize (int width, int height) |
local | resize ( local width, local height) |
float | getFrameZoomFactor () |
void | centerWindow () |
void | UpdateOrientation (Windows::Graphics::Display::DisplayOrientations orientation) |
void | UpdateForWindowSizeChange (float width, float height) |
local | UpdateForWindowSizeChange ( local width, local height) |
void | ProcessEvents () |
void | AddPointerEvent (PointerEventType type, Windows::UI::Core::PointerEventArgs^args) |
| GLView () |
| ctor () |
| GLView () |
virtual | ~GLView () |
virtual void | pollInputEvents () |
| Polls input events. More...
|
|
var | pollInputEvents () |
| Polls input events. More...
|
|
local | pollInputEvents () |
| Polls input events. More...
|
|
virtual const Size & | getFrameSize () const |
| Get the frame size of EGL view. More...
|
|
var | getFrameSize () |
| Get the frame size of EGL view. More...
|
|
local | getFrameSize () |
| Get the frame size of EGL view. More...
|
|
virtual Size | getVisibleSize () const |
| Get the visible area size of opengl viewport. More...
|
|
var | getVisibleSize () |
| Get the visible area size of opengl viewport. More...
|
|
local | getVisibleSize () |
| Get the visible area size of opengl viewport. More...
|
|
virtual Vec2 | getVisibleOrigin () const |
| Get the visible origin point of opengl viewport. More...
|
|
local | getVisibleOrigin () |
| Get the visible origin point of opengl viewport. More...
|
|
virtual Rect | getVisibleRect () const |
| Get the visible rectangle of opengl viewport. More...
|
|
var | getVisibleRect () |
| Get the visible rectangle of opengl viewport. More...
|
|
local | getVisibleRect () |
| Get the visible rectangle of opengl viewport. More...
|
|
virtual void | setDesignResolutionSize (float width, float height, ResolutionPolicy resolutionPolicy) |
| Set the design resolution size. More...
|
|
local | setDesignResolutionSize ( local width, local height, local resolutionPolicy) |
| Set the design resolution size. More...
|
|
virtual const Size & | getDesignResolutionSize () const |
| Get design resolution size. More...
|
|
var | getDesignResolutionSize () |
| Get design resolution size. More...
|
|
local | getDesignResolutionSize () |
| Get design resolution size. More...
|
|
virtual bool | isScissorEnabled () |
| Get whether GL_SCISSOR_TEST is enable. More...
|
|
virtual Rect | getScissorRect () const |
| Get the current scissor rectangle. More...
|
|
var | getScissorRect () |
| Get the current scissor rectangle. More...
|
|
local | getScissorRect () |
| Get the current scissor rectangle. More...
|
|
virtual void | setViewName (const std::string &viewname) |
local | setViewName ( local viewname) |
const std::string & | getViewName () const |
var | getViewName () |
local | getViewName () |
virtual void | handleTouchesBegin (int num, intptr_t ids[], float xs[], float ys[]) |
| Touch events are handled by default; if you want to customize your handlers, please override these functions: More...
|
|
virtual void | handleTouchesMove (int num, intptr_t ids[], float xs[], float ys[]) |
var | handleTouchesMove ( var num) |
local | handleTouchesMove ( local num) |
virtual void | handleTouchesEnd (int num, intptr_t ids[], float xs[], float ys[]) |
local | handleTouchesEnd ( local num) |
virtual void | handleTouchesCancel (int num, intptr_t ids[], float xs[], float ys[]) |
var | handleTouchesCancel ( var num) |
local | handleTouchesCancel ( local num) |
const Rect & | getViewPortRect () const |
| Get the opengl view port rectangle. More...
|
|
std::vector< Touch * > | getAllTouches () const |
| Get list of all active touches. More...
|
|
float | getScaleX () const |
| Get scale factor of the horizontal direction. More...
|
|
var | getScaleX () |
| Get scale factor of the horizontal direction. More...
|
|
local | getScaleX () |
| Get scale factor of the horizontal direction. More...
|
|
float | getScaleY () const |
| Get scale factor of the vertical direction. More...
|
|
var | getScaleY () |
| Get scale factor of the vertical direction. More...
|
|
local | getScaleY () |
| Get scale factor of the vertical direction. More...
|
|
ResolutionPolicy | getResolutionPolicy () const |
| returns the current Resolution policy More...
|
|
var | getResolutionPolicy () |
| returns the current Resolution policy More...
|
|
local | getResolutionPolicy () |
| returns the current Resolution policy More...
|
|
void | retain () |
| Retains the ownership. More...
|
|
void | release () |
| Releases the ownership immediately. More...
|
|
Ref * | autorelease () |
| Releases the ownership sometime soon automatically. More...
|
|
unsigned int | getReferenceCount () const |
| Returns the Ref's current reference count. More...
|
|
virtual | ~Ref () |