Class that represent the OpenGL View. More...
#include <CCGLView.h>
Public Member Functions | |
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... | |
local | setIMEKeyboardState ( local bOpen) |
Open or close IME keyboard , subclass must implement this method. More... | |
float | getFrameZoomFactor () |
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... | |
var | setFrameSize ( var width, var 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) 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... | |
void | setFrameZoomFactor (float 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... | |
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... | |
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... | |
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... | |
GLView () | |
virtual | ~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... | |
virtual void | 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... | |
var | setFrameSize ( var width, var 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... | |
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) |
local | Create ( local window, local panel) |
void | UpdateForWindowSizeChange () |
void | OnRendering () |
void | OnSuspending () |
Windows::UI::Core::CoreWindow | getWindow () |
local | getWindow () |
int | Run () |
void | resize (int width, int height) |
void | setFrameZoomFactor (float fZoomFactor) |
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... | |
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... | |
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 kmMat4 * | getOrientationMatrix () const |
const kmMat4 * | 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... | |
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) |
virtual void | UpdateDevice (EGLDisplay eglDisplay, EGLContext eglContext, EGLSurface eglSurface) |
void | OnPointerPressed (Windows::UI::Core::PointerEventArgs^args) |
void | OnPointerMoved (Windows::UI::Core::PointerEventArgs^args) |
void | OnPointerReleased (Windows::UI::Core::PointerEventArgs^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 | SetXamlEventDelegate (PhoneDirect3DXamlAppComponent::Cocos2dEventDelegate^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) |
int | Run () |
void | Render () |
void | resize (int width, int 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 | retain () |
Retains the ownership. More... | |
void | release () |
Release the ownership immediately. More... | |
Ref * | autorelease () |
Release the ownership sometime soon automatically. More... | |
unsigned int | getReferenceCount () const |
Returns the Ref's current reference count. More... | |
virtual | ~Ref () |
![]() | |
GLViewProtocol () | |
virtual | ~GLViewProtocol () |
virtual void | 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 Point | 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... | |
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... | |
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 |
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... | |
float | getScaleX () const |
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... | |
Static Public Member Functions | |
static GLView * | create (const std::string &viewname) |
static GLView * | createWithRect (const std::string &viewName, Rect rect, float frameZoomFactor=1.0f) |
local | createWithRect ( local viewName, local rect, local 0f) |
static GLView * | createWithFullScreen (const std::string &viewName) |
local | createWithFullScreen ( local viewName) |
static GLView * | create (const std::string &viewName) |
static GLView * | createWithRect (const std::string &viewName, Rect size, float frameZoomFactor=1.0f) |
static GLView * | createWithFullScreen (const std::string &viewName) |
local | createWithFullScreen ( local viewName) |
static GLView * | createWithFullScreen (const std::string &viewName, const GLFWvidmode &videoMode, GLFWmonitor *monitor) |
local | createWithFullScreen ( local viewName, local videoMode, local monitor) |
static GLView * | createWithEAGLView (void *eaglview) |
creates a GLView with a objective-c CCEAGLView instance More... | |
local | createWithEAGLView ( local eaglview) |
creates a GLView with a objective-c CCEAGLView instance More... | |
static GLView * | create (const std::string &viewName) |
creates a GLView with a title name in fullscreen mode More... | |
local | create ( local viewName) |
creates a GLView with a title name in fullscreen mode More... | |
static GLView * | createWithRect (const std::string &viewName, Rect rect, float frameZoomFactor=1.0f) |
creates a GLView with a title name, a rect and the zoom factor More... | |
local | createWithRect ( local viewName, local rect, local 0f) |
creates a GLView with a title name, a rect and the zoom factor More... | |
static GLView * | createWithFullScreen (const std::string &viewName) |
creates a GLView with a name in fullscreen mode More... | |
local | createWithFullScreen ( local viewName) |
creates a GLView with a name in fullscreen mode More... | |
static GLView * | sharedOpenGLView () |
get the shared main open gl window More... | |
local | sharedOpenGLView () |
get the shared main open gl window More... | |
static GLView * | create (const std::string &viewName) |
static GLView * | sharedOpenGLView () |
get the shared main open gl window More... | |
var | sharedOpenGLView () |
get the shared main open gl window More... | |
local | sharedOpenGLView () |
get the shared main open gl window More... | |
Protected Member Functions | |
GLView () | |
virtual | ~GLView () |
bool | initWithRect (const std::string &viewName, Rect rect, float frameZoomFactor) |
var | initWithRect ( var viewName, var rect, var frameZoomFactor) |
local | initWithRect ( local viewName, local rect, local frameZoomFactor) |
bool | initWithFullScreen (const std::string &viewName) |
GLView () | |
virtual | ~GLView () |
bool | initWithRect (const std::string &viewName, Rect rect, float frameZoomFactor) |
bool | initWithFullScreen (const std::string &viewName) |
local | initWithFullScreen ( local viewName) |
bool | initWithFullscreen (const std::string &viewname, const GLFWvidmode &videoMode, GLFWmonitor *monitor) |
var | initWithFullscreen ( var viewname, var videoMode, var monitor) |
local | initWithFullscreen ( local viewname, local videoMode, local monitor) |
bool | initGlew () |
void | updateFrameSize () |
void | onGLFWError (int errorID, const char *errorDesc) |
void | onGLFWMouseCallBack (GLFWwindow *window, int button, int action, int modify) |
local | onGLFWMouseCallBack ( local window, local button, local action, local modify) |
void | onGLFWMouseMoveCallBack (GLFWwindow *window, double x, double y) |
local | onGLFWMouseMoveCallBack ( local window, local x, local y) |
void | onGLFWMouseScrollCallback (GLFWwindow *window, double x, double y) |
void | onGLFWKeyCallback (GLFWwindow *window, int key, int scancode, int action, int mods) |
var | onGLFWKeyCallback ( var window, var key, var scancode, var action, var mods) |
local | onGLFWKeyCallback ( local window, local key, local scancode, local action, local mods) |
void | onGLFWCharCallback (GLFWwindow *window, unsigned int character) |
void | onGLFWWindowPosCallback (GLFWwindow *windows, int x, int y) |
void | onGLFWframebuffersize (GLFWwindow *window, int w, int h) |
void | onGLFWWindowSizeFunCallback (GLFWwindow *window, int width, int height) |
GLView () | |
virtual | ~GLView () |
bool | initWithEAGLView (void *eaglview) |
local | initWithEAGLView ( local eaglview) |
bool | initWithRect (const std::string &viewName, Rect rect, float frameZoomFactor) |
bool | initWithFullScreen (const std::string &viewName) |
GLView () | |
virtual | ~GLView () |
bool | initWithRect (const std::string &viewName, Rect rect, float frameZoomFactor) |
bool | initWithFullScreen (const std::string &viewName) |
local | initWithFullScreen ( local viewName) |
void | setFrameZoomFactor (float zoomFactor) |
bool | isRetina () |
![]() | |
Ref () | |
Constructor. More... | |
![]() | |
void | updateDesignResolutionSize () |
var | updateDesignResolutionSize () |
local | updateDesignResolutionSize () |
void | handleTouchesOfEndOrCancel (EventTouch::EventCode eventCode, int num, intptr_t ids[], float xs[], float ys[]) |
var | handleTouchesOfEndOrCancel ( var eventCode, var num) |
local | handleTouchesOfEndOrCancel ( local eventCode, local num) |
Protected Attributes | |
bool | _captured |
bool | _supportTouch |
var | _supportTouch |
local | _supportTouch |
bool | _isInRetinaMonitor |
var | _isInRetinaMonitor |
local | _isInRetinaMonitor |
bool | _isRetinaEnabled |
int | _retinaFactor |
float | _frameZoomFactor |
var | _frameZoomFactor |
local | _frameZoomFactor |
GLFWwindow * | _mainWindow |
GLFWmonitor * | _monitor |
var | _monitor |
local | _monitor |
float | _mouseX |
float | _mouseY |
void * | _eaglview |
bool | _isRetina |
![]() | |
unsigned int | _referenceCount |
count of references More... | |
![]() | |
Size | _screenSize |
Size | _designResolutionSize |
var | _designResolutionSize |
local | _designResolutionSize |
Rect | _viewPortRect |
std::string | _viewName |
var | _viewName |
local | _viewName |
float | _scaleX |
float | _scaleY |
ResolutionPolicy | _resolutionPolicy |
var | _resolutionPolicy |
local | _resolutionPolicy |
Friends | |
class | GLFWEventHandler |
Class that represent the OpenGL View.
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
GLView | ( | ) |
var GLView | ( | ) |
local GLView | ( | ) |
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
void centerWindow | ( | ) |
var centerWindow | ( | ) |
local centerWindow | ( | ) |
void centerWindow | ( | ) |
var centerWindow | ( | ) |
local centerWindow | ( | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
creates a GLView with a title name in fullscreen mode
|
static |
creates a GLView with a title name in fullscreen mode
|
static |
creates a GLView with a title name in fullscreen mode
|
static |
|
static |
|
static |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
creates a GLView with a objective-c CCEAGLView instance
|
static |
creates a GLView with a objective-c CCEAGLView instance
|
static |
creates a GLView with a objective-c CCEAGLView instance
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
creates a GLView with a name in fullscreen mode
|
static |
creates a GLView with a name in fullscreen mode
|
static |
creates a GLView with a name in fullscreen mode
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
creates a GLView with a title name, a rect and the zoom factor
|
static |
creates a GLView with a title name, a rect and the zoom factor
|
static |
creates a GLView with a title name, a rect and the zoom factor
void enableRetina | ( | bool | enabled) |
Retina support is disabled by default.
var enableRetina | ( | var | enabled) |
Retina support is disabled by default.
local enableRetina | ( | local | enabled) |
Retina support is disabled by default.
|
overridevirtual |
Force destroying EGL view, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Force destroying EGL view, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Force destroying EGL view, subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Force destroying EGL view, subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Force destroying EGL view, subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Force destroying EGL view, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Force destroying EGL view, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Force destroying EGL view, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Force destroying EGL view, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Force destroying EGL view, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Force destroying EGL view, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Force destroying EGL view, subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Force destroying EGL view, subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Force destroying EGL view, subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Force destroying EGL view, subclass must implement this method.
Implements GLViewProtocol.
float getContentScaleFactor | ( | ) | const |
returns the content scale factor
var getContentScaleFactor | ( | ) |
returns the content scale factor
local getContentScaleFactor | ( | ) |
returns the content scale factor
|
inline |
|
inline |
|
inline |
|
inline |
returns the objective-c CCEAGLView instance
|
inline |
returns the objective-c CCEAGLView instance
|
inline |
returns the objective-c CCEAGLView instance
float getFrameZoomFactor | ( | ) |
var getFrameZoomFactor | ( | ) |
local getFrameZoomFactor | ( | ) |
float getFrameZoomFactor | ( | ) |
var getFrameZoomFactor | ( | ) |
local getFrameZoomFactor | ( | ) |
float getFrameZoomFactor | ( | ) |
var getFrameZoomFactor | ( | ) |
local getFrameZoomFactor | ( | ) |
const kmMat4* getOrientationMatrix | ( | ) | const |
var getOrientationMatrix | ( | ) |
local getOrientationMatrix | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void HideKeyboard | ( | Windows::Foundation::Rect | r) |
var HideKeyboard | ( | var | r) |
local HideKeyboard | ( | local | r) |
void HideKeyboard | ( | Windows::Foundation::Rect | r) |
var HideKeyboard | ( | var | r) |
local HideKeyboard | ( | local | r) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
overridevirtual |
Get whether opengl render system is ready, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Get whether opengl render system is ready, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Get whether opengl render system is ready, subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Get whether opengl render system is ready, subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Get whether opengl render system is ready, subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Get whether opengl render system is ready, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Get whether opengl render system is ready, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Get whether opengl render system is ready, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Get whether opengl render system is ready, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Get whether opengl render system is ready, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Get whether opengl render system is ready, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Get whether opengl render system is ready, subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Get whether opengl render system is ready, subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Get whether opengl render system is ready, subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Get whether opengl render system is ready, subclass must implement this method.
Implements GLViewProtocol.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
returns whether or not the view is in Retina Display mode
|
inline |
returns whether or not the view is in Retina Display mode
|
inline |
returns whether or not the view is in Retina Display mode
|
inline |
Check whether retina display is enabled.
|
inline |
Check whether retina display is enabled.
|
inline |
Check whether retina display is enabled.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
void OnPointerMoved | ( | Windows::UI::Core::PointerEventArgs^ | args) |
var OnPointerMoved | ( | var | args) |
local OnPointerMoved | ( | local | args) |
void OnPointerMoved | ( | Windows::UI::Core::CoreWindow^ | , |
Windows::UI::Core::PointerEventArgs^ | args | ||
) |
var OnPointerMoved | ( | var | , |
var | args | ||
) |
local OnPointerMoved | ( | local | , |
local | args | ||
) |
void OnPointerPressed | ( | Windows::UI::Core::PointerEventArgs^ | args) |
var OnPointerPressed | ( | var | args) |
local OnPointerPressed | ( | local | args) |
void OnPointerPressed | ( | Windows::UI::Core::CoreWindow^ | sender, |
Windows::UI::Core::PointerEventArgs^ | args | ||
) |
var OnPointerPressed | ( | var | sender, |
var | args | ||
) |
local OnPointerPressed | ( | local | sender, |
local | args | ||
) |
void OnPointerReleased | ( | Windows::UI::Core::PointerEventArgs^ | args) |
var OnPointerReleased | ( | var | args) |
local OnPointerReleased | ( | local | args) |
void OnPointerReleased | ( | Windows::UI::Core::CoreWindow^ | sender, |
Windows::UI::Core::PointerEventArgs^ | args | ||
) |
var OnPointerReleased | ( | var | sender, |
var | args | ||
) |
local OnPointerReleased | ( | local | sender, |
local | args | ||
) |
void OnPointerWheelChanged | ( | Windows::UI::Core::CoreWindow^ | , |
Windows::UI::Core::PointerEventArgs^ | args | ||
) |
var OnPointerWheelChanged | ( | var | , |
var | args | ||
) |
local OnPointerWheelChanged | ( | local | , |
local | args | ||
) |
void OnRendering | ( | ) |
var OnRendering | ( | ) |
local OnRendering | ( | ) |
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 | ||
) |
var OnSuspending | ( | var | sender, |
var | args | ||
) |
local OnSuspending | ( | local | sender, |
local | args | ||
) |
void OnSuspending | ( | ) |
var OnSuspending | ( | ) |
local OnSuspending | ( | ) |
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 | ||
) |
var OnWindowClosed | ( | var | sender, |
var | args | ||
) |
local OnWindowClosed | ( | local | sender, |
local | args | ||
) |
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 | ||
) |
void pollEvents | ( | ) |
var pollEvents | ( | ) |
local pollEvents | ( | ) |
void Render | ( | ) |
var Render | ( | ) |
local Render | ( | ) |
void resize | ( | int | width, |
int | height | ||
) |
var resize | ( | var | width, |
var | height | ||
) |
local resize | ( | local | width, |
local | height | ||
) |
void resize | ( | int | width, |
int | height | ||
) |
var resize | ( | var | width, |
var | height | ||
) |
local resize | ( | local | width, |
local | height | ||
) |
int Run | ( | ) |
var Run | ( | ) |
local Run | ( | ) |
int Run | ( | ) |
var Run | ( | ) |
local Run | ( | ) |
bool setContentScaleFactor | ( | float | contentScaleFactor) |
sets the content scale factor
var setContentScaleFactor | ( | var | contentScaleFactor) |
sets the content scale factor
local setContentScaleFactor | ( | local | contentScaleFactor) |
sets the content scale factor
|
overridevirtual |
Set the frame size of EGL view.
Reimplemented from GLViewProtocol.
|
overridevirtual |
Set the frame size of EGL view.
Reimplemented from GLViewProtocol.
|
overridevirtual |
Set the frame size of EGL view.
Reimplemented from GLViewProtocol.
|
virtual |
Set the frame size of EGL view.
Reimplemented from GLViewProtocol.
|
virtual |
Set the frame size of EGL view.
Reimplemented from GLViewProtocol.
|
virtual |
Set the frame size of EGL view.
Reimplemented from GLViewProtocol.
void setFrameZoomFactor | ( | float | zoomFactor) |
var setFrameZoomFactor | ( | var | zoomFactor) |
local setFrameZoomFactor | ( | local | zoomFactor) |
|
protected |
|
protected |
|
protected |
void setFrameZoomFactor | ( | float | fZoomFactor) |
var setFrameZoomFactor | ( | var | fZoomFactor) |
local setFrameZoomFactor | ( | local | fZoomFactor) |
|
overridevirtual |
Open or close IME keyboard , subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Open or close IME keyboard , subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Open or close IME keyboard , subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Open or close IME keyboard , subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Open or close IME keyboard , subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Open or close IME keyboard , subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Open or close IME keyboard , subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Open or close IME keyboard , subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Open or close IME keyboard , subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Open or close IME keyboard , subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Open or close IME keyboard , subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Open or close IME keyboard , subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Open or close IME keyboard , subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Open or close IME keyboard , subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Open or close IME keyboard , subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Set Scissor rectangle with points.
Reimplemented from GLViewProtocol.
|
virtual |
Set Scissor rectangle with points.
Reimplemented from GLViewProtocol.
|
virtual |
Set Scissor rectangle with points.
Reimplemented from GLViewProtocol.
|
virtual |
Set Scissor rectangle with points.
Reimplemented from GLViewProtocol.
|
virtual |
Set Scissor rectangle with points.
Reimplemented from GLViewProtocol.
|
virtual |
Set Scissor rectangle with points.
Reimplemented from GLViewProtocol.
|
virtual |
Set opengl view port rectangle with points.
Reimplemented from GLViewProtocol.
|
virtual |
Set opengl view port rectangle with points.
Reimplemented from GLViewProtocol.
|
virtual |
Set opengl view port rectangle with points.
Reimplemented from GLViewProtocol.
|
virtual |
Set opengl view port rectangle with points.
Reimplemented from GLViewProtocol.
|
virtual |
Set opengl view port rectangle with points.
Reimplemented from GLViewProtocol.
|
virtual |
Set opengl view port rectangle with points.
Reimplemented from GLViewProtocol.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
get the shared main open gl window
|
static |
get the shared main open gl window
|
static |
get the shared main open gl window
|
static |
get the shared main open gl window
|
static |
get the shared main open gl window
|
static |
get the shared main open gl window
void ShowKeyboard | ( | Windows::Foundation::Rect | r) |
var ShowKeyboard | ( | var | r) |
local ShowKeyboard | ( | local | r) |
void ShowKeyboard | ( | Windows::Foundation::Rect | r) |
var ShowKeyboard | ( | var | r) |
local ShowKeyboard | ( | local | r) |
bool ShowMessageBox | ( | Platform::String^ | title, |
Platform::String^ | message | ||
) |
var ShowMessageBox | ( | var | title, |
var | message | ||
) |
local ShowMessageBox | ( | local | title, |
local | message | ||
) |
|
overridevirtual |
Exchanges the front and back buffers, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Exchanges the front and back buffers, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Exchanges the front and back buffers, subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Exchanges the front and back buffers, subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Exchanges the front and back buffers, subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Exchanges the front and back buffers, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Exchanges the front and back buffers, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Exchanges the front and back buffers, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Exchanges the front and back buffers, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Exchanges the front and back buffers, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Exchanges the front and back buffers, subclass must implement this method.
Implements GLViewProtocol.
|
overridevirtual |
Exchanges the front and back buffers, subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Exchanges the front and back buffers, subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Exchanges the front and back buffers, subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
Exchanges the front and back buffers, subclass must implement this method.
Implements GLViewProtocol.
|
virtual |
|
virtual |
|
virtual |
void UpdateForWindowSizeChange | ( | float | width, |
float | height | ||
) |
var UpdateForWindowSizeChange | ( | var | width, |
var | height | ||
) |
local UpdateForWindowSizeChange | ( | local | width, |
local | height | ||
) |
void UpdateForWindowSizeChange | ( | ) |
var UpdateForWindowSizeChange | ( | ) |
local UpdateForWindowSizeChange | ( | ) |
|
protected |
|
protected |
|
protected |
void UpdateOrientation | ( | Windows::Graphics::Display::DisplayOrientations | orientation) |
var UpdateOrientation | ( | var | orientation) |
local UpdateOrientation | ( | local | orientation) |
bool windowShouldClose | ( | ) |
var windowShouldClose | ( | ) |
local windowShouldClose | ( | ) |
|
friend |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |