|
| GLView () |
| ctor () |
| GLView () |
virtual | ~GLView () |
virtual void | end ()=0 |
| 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 bool | isOpenGLReady ()=0 |
| Get whether opengl render system is ready, subclass must implement this method. More...
|
|
virtual void | swapBuffers ()=0 |
| Exchanges the front and back buffers, subclass must implement this method. More...
|
|
virtual void | setIMEKeyboardState (bool open)=0 |
| Open or close IME keyboard , subclass must implement this method. More...
|
|
var | setIMEKeyboardState ( var open) |
| Open or close IME keyboard , subclass must implement this method. More...
|
|
local | setIMEKeyboardState ( local open) |
| Open or close IME keyboard , subclass must implement this method. More...
|
|
virtual void | setIMEKeyboardState (bool open, std::string str)=0 |
var | setIMEKeyboardState ( var open, var str) |
virtual bool | windowShouldClose () |
| When the window is closed, it will return false if the platforms is Ios or Android. More...
|
|
virtual void | pollInputEvents () |
var | pollInputEvents () |
local | pollInputEvents () |
virtual void | pollEvents () |
| Polls the events. More...
|
|
var | pollEvents () |
| Polls the events. More...
|
|
local | pollEvents () |
| Polls the events. More...
|
|
virtual const Size & | getFrameSize () const |
| Get the frame size of EGL view. 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 | setFrameZoomFactor (float zoomFactor) |
| Set zoom factor for frame. More...
|
|
local | setFrameZoomFactor ( local zoomFactor) |
| Set zoom factor for frame. More...
|
|
virtual float | getFrameZoomFactor () const |
| Get zoom factor for frame. More...
|
|
var | getFrameZoomFactor () |
| Get zoom factor for frame. More...
|
|
local | getFrameZoomFactor () |
| Get zoom factor for frame. More...
|
|
virtual void | setCursorVisible (bool isVisible) |
| Hide or Show the mouse cursor if there is one. More...
|
|
var | setCursorVisible ( var isVisible) |
| Hide or Show the mouse cursor if there is one. More...
|
|
local | setCursorVisible ( local isVisible) |
| Hide or Show the mouse cursor if there is one. More...
|
|
virtual int | getRetinaFactor () const |
| Get retina factor. More...
|
|
virtual bool | setContentScaleFactor (float scaleFactor) |
| Only works on ios platform. More...
|
|
virtual float | getContentScaleFactor () const |
| Only works on ios platform. More...
|
|
var | getContentScaleFactor () |
| Only works on ios platform. More...
|
|
local | getContentScaleFactor () |
| Only works on ios platform. More...
|
|
virtual bool | isRetinaDisplay () const |
| Returns whether or not the view is in Retina Display mode. More...
|
|
virtual void * | getEAGLView () const |
virtual Size | getRenerTargetSize () const =0 |
local | getRenerTargetSize () |
virtual const Mat4 & | getOrientationMatrix () const =0 |
local | getOrientationMatrix () |
virtual const Mat4 & | getReverseOrientationMatrix () const =0 |
var | getReverseOrientationMatrix () |
local | getReverseOrientationMatrix () |
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...
|
|
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 void | setViewPortInPoints (float x, float y, float w, float 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...
|
|
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) |
| Set the view name. More...
|
|
const std::string & | getViewName () const |
| Get the view name. More...
|
|
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 this function. More...
|
|
virtual void | handleTouchesMove (int num, intptr_t ids[], float xs[], float ys[]) |
| Touch events are handled by default; if you want to customize your handlers, please override this function. More...
|
|
var | handleTouchesMove ( var num) |
| Touch events are handled by default; if you want to customize your handlers, please override this function. More...
|
|
local | handleTouchesMove ( local num) |
| Touch events are handled by default; if you want to customize your handlers, please override this function. More...
|
|
virtual void | handleTouchesEnd (int num, intptr_t ids[], float xs[], float ys[]) |
| Touch events are handled by default; if you want to customize your handlers, please override this function. More...
|
|
local | handleTouchesEnd ( local num) |
| Touch events are handled by default; if you want to customize your handlers, please override this function. More...
|
|
virtual void | handleTouchesCancel (int num, intptr_t ids[], float xs[], float ys[]) |
| Touch events are handled by default; if you want to customize your handlers, please override this function. More...
|
|
local | handleTouchesCancel ( local num) |
| Touch events are handled by default; if you want to customize your handlers, please override this function. More...
|
|
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...
|
|
virtual HWND | getWin32Window ()=0 |
var | getWin32Window () |
local | getWin32Window () |
virtual id | getCocoaWindow ()=0 |
var | getCocoaWindow () |
local | getCocoaWindow () |
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 () |
| Destructor. More...
|
|