|
bool | isOpenGLReady () override |
| Get whether opengl render system is ready, subclass must implement this method. More...
|
|
var | 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...
|
|
void | end () override |
| Force destroying EGL view, subclass must implement this method. More...
|
|
var | end () |
| Force destroying EGL view, subclass must implement this method. More...
|
|
local | end () |
| 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...
|
|
var | 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...
|
|
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 () |
var | getFrameZoomFactor () |
local | getFrameZoomFactor () |
virtual void | setViewPortInPoints (float x, float y, float w, float h) |
| Set opengl view port rectangle with points. More...
|
|
var | setViewPortInPoints ( var x, var y, var w, var 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...
|
|
var | setScissorInPoints ( var x, var y, var w, var 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 () |
var | windowShouldClose () |
void | pollEvents () |
var | pollEvents () |
local | pollEvents () |
GLFWwindow * | getWindow () const |
local | getWindow () |
virtual bool | isOpenGLReady () override |
| Get whether opengl render system is ready, subclass must implement this method. More...
|
|
var | 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 () override |
| Force destroying EGL view, subclass must implement this method. More...
|
|
local | end () |
| 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...
|
|
var | 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) 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) |
var | setFrameZoomFactor ( var zoomFactor) |
local | setFrameZoomFactor ( local zoomFactor) |
void | enableRetina (bool enabled) |
| Retina support is disabled by default. More...
|
|
bool | isRetinaEnabled () |
| Check whether retina display is enabled. More...
|
|
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...
|
|
var | getContentScaleFactor () |
| returns the content scale factor More...
|
|
local | getContentScaleFactor () |
| returns the content scale factor More...
|
|
bool | isRetinaDisplay () const |
| returns whether or not the view is in Retina Display mode More...
|
|
var | isRetinaDisplay () |
| returns whether or not the view is in Retina Display mode More...
|
|
local | isRetinaDisplay () |
| returns whether or not the view is in Retina Display mode More...
|
|
void * | getEAGLView () const |
| returns the objective-c CCEAGLView instance More...
|
|
var | getEAGLView () |
| returns the objective-c CCEAGLView instance More...
|
|
local | getEAGLView () |
| returns the objective-c CCEAGLView instance More...
|
|
virtual bool | isOpenGLReady () override |
| Get whether opengl render system is ready, subclass must implement this method. More...
|
|
var | 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 () override |
| Force destroying EGL view, subclass must implement this method. More...
|
|
var | end () |
| Force destroying EGL view, subclass must implement this method. More...
|
|
local | end () |
| 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...
|
|
var | 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 | setIMEKeyboardState (bool bOpen) override |
| Open or close IME keyboard , subclass must implement this method. More...
|
|
| GLView () |
| GLView () |
| GLView () |
virtual | ~GLView () |
var | ~GLView () |
local | ~GLView () |
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...
|
|
var | end () |
| Force destroying EGL view, subclass must implement this method. More...
|
|
local | 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...
|
|
var | 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...
|
|
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...
|
|
void | ShowKeyboard (Windows::Foundation::Rect r) |
var | ShowKeyboard ( var r) |
local | ShowKeyboard ( local r) |
void | HideKeyboard (Windows::Foundation::Rect r) |
var | HideKeyboard ( var r) |
local | HideKeyboard ( local 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 () |
var | OnRendering () |
local | OnRendering () |
void | OnSuspending () |
var | OnSuspending () |
local | OnSuspending () |
void | GLView::QueueEvent (std::shared_ptr< InputEvent > &event) |
var | GLView::QueueEvent ( var event) |
local | GLView::QueueEvent ( local event) |
void | OnPointerPressed (Windows::UI::Core::PointerEventArgs^args) |
local | OnPointerPressed ( local args) |
void | OnPointerMoved (Windows::UI::Core::PointerEventArgs^args) |
var | OnPointerMoved ( var args) |
local | OnPointerMoved ( local 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 () |
var | OnBackKeyPress () |
local | OnBackKeyPress () |
Windows::UI::Core::CoreWindow | getWindow () |
local | getWindow () |
int | Run () |
var | Run () |
local | Run () |
void | resize (int width, int height) |
var | resize ( var width, var height) |
local | resize ( local width, local height) |
void | setFrameZoomFactor (float fZoomFactor) |
var | setFrameZoomFactor ( var fZoomFactor) |
local | setFrameZoomFactor ( local fZoomFactor) |
float | getFrameZoomFactor () |
var | getFrameZoomFactor () |
local | getFrameZoomFactor () |
void | centerWindow () |
var | centerWindow () |
local | centerWindow () |
virtual bool | isOpenGLReady () |
| Get whether opengl render system is ready, subclass must implement this method. More...
|
|
var | 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...
|
|
local | 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...
|
|
var | 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...
|
|
var | setViewPortInPoints ( var x, var y, var w, var 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...
|
|
var | setScissorInPoints ( var x, var y, var w, var 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 |
var | getOrientationMatrix () |
local | getOrientationMatrix () |
const Mat4 & | getReverseOrientationMatrix () const |
Windows::Graphics::Display::DisplayOrientations | getDeviceOrientation () |
local | getDeviceOrientation () |
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) |
var | ShowKeyboard ( var r) |
void | HideKeyboard (Windows::Foundation::Rect r) |
var | HideKeyboard ( var r) |
local | HideKeyboard ( local r) |
virtual bool | Create (EGLDisplay eglDisplay, EGLContext eglContext, EGLSurface eglSurface, float width, float height) |
local | Create ( local eglDisplay, local eglContext, local eglSurface, local width, local height) |
virtual void | UpdateDevice (EGLDisplay eglDisplay, EGLContext eglContext, EGLSurface eglSurface) |
void | OnPointerPressed (Windows::UI::Core::PointerEventArgs^args) |
void | OnPointerMoved (Windows::UI::Core::PointerEventArgs^args) |
var | OnPointerMoved ( var args) |
local | OnPointerMoved ( local 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 | 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) |
var | OnVisibilityChanged ( var sender, var args) |
local | OnVisibilityChanged ( local sender, local args) |
void | OnWindowClosed (Windows::UI::Core::CoreWindow^sender, Windows::UI::Core::CoreWindowEventArgs^args) |
void | OnResuming (Platform::Object^sender, Platform::Object^args) |
var | OnResuming ( var sender, var args) |
local | OnResuming ( local sender, local args) |
void | OnSuspending (Platform::Object^sender, Windows::ApplicationModel::SuspendingEventArgs^args) |
void | OnBackKeyPress () |
void | QueueBackKeyPress () |
var | QueueBackKeyPress () |
local | QueueBackKeyPress () |
void | QueuePointerEvent (PointerEventType type, Windows::UI::Core::PointerEventArgs^args) |
var | QueuePointerEvent ( var type, var args) |
local | QueuePointerEvent ( local type, local args) |
void | GLView::QueueEvent (std::shared_ptr< InputEvent > &event) |
local | GLView::QueueEvent ( local event) |
void | SetXamlEventDelegate (PhoneDirect3DXamlAppComponent::Cocos2dEventDelegate^delegate) |
var | SetXamlEventDelegate ( var delegate) |
local | SetXamlEventDelegate ( local delegate) |
void | SetXamlMessageBoxDelegate (PhoneDirect3DXamlAppComponent::Cocos2dMessageBoxDelegate^delegate) |
void | SetXamlEditBoxDelegate (PhoneDirect3DXamlAppComponent::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) |
var | OpenXamlEditBox ( var strPlaceHolder, var strText, var maxLength, var inputMode, var inputFlag, var receiveHandler) |
local | OpenXamlEditBox ( local strPlaceHolder, local strText, local maxLength, local inputMode, local inputFlag, local receiveHandler) |
int | Run () |
void | Render () |
var | Render () |
local | Render () |
void | resize (int width, int height) |
var | resize ( var width, var height) |
local | resize ( local width, local height) |
float | getFrameZoomFactor () |
var | getFrameZoomFactor () |
local | getFrameZoomFactor () |
void | centerWindow () |
var | centerWindow () |
local | centerWindow () |
void | UpdateOrientation (Windows::Graphics::Display::DisplayOrientations orientation) |
var | UpdateOrientation ( var orientation) |
local | UpdateOrientation ( local orientation) |
void | UpdateForWindowSizeChange (float width, float height) |
var | UpdateForWindowSizeChange ( var width, var height) |
local | UpdateForWindowSizeChange ( local width, local height) |
void | ProcessEvents () |
var | ProcessEvents () |
local | ProcessEvents () |
void | AddPointerEvent (PointerEventType type, Windows::UI::Core::PointerEventArgs^args) |
local | AddPointerEvent ( local type, local args) |
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 () |
| GLViewProtocol () |
| ctor () |
| GLViewProtocol () |
virtual | ~GLViewProtocol () |
virtual void | pollInputEvents () |
| Polls input events. More...
|
|
local | pollInputEvents () |
| Polls input events. More...
|
|
virtual const Size & | getFrameSize () const |
| 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...
|
|
local | getScissorRect () |
| Get the current scissor rectangle. More...
|
|
virtual void | setViewName (const std::string &viewname) |
var | setViewName ( var viewname) |
local | setViewName ( local viewname) |
const std::string & | getViewName () const |
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[]) |
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[]) |
local | handleTouchesCancel ( local num) |
const Rect & | getViewPortRect () const |
| Get the opengl view port rectangle. More...
|
|
var | getViewPortRect () |
| Get the opengl view port rectangle. More...
|
|
local | getViewPortRect () |
| Get the opengl view port rectangle. More...
|
|
float | getScaleX () const |
| 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...
|
|
local | getScaleY () |
| Get scale factor of the vertical direction. More...
|
|
ResolutionPolicy | getResolutionPolicy () const |
| returns the current Resolution policy More...
|
|
local | getResolutionPolicy () |
| returns the current Resolution policy More...
|
|