OGRE-Next  4.0.0unstable
Object-Oriented Graphics Rendering Engine
Ogre::AndroidEGLWindow Class Reference

#include <OgreAndroidEGLWindow.h>

+ Inheritance diagram for Ogre::AndroidEGLWindow:

Public Member Functions

 AndroidEGLWindow (AndroidEGLSupport *glsupport)
 
virtual ~AndroidEGLWindow ()
 
void _createInternalResources (NativeWindowType window, AConfiguration *config)
 
void _destroyInternalResources ()
 
void create (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams)
 
- Public Member Functions inherited from Ogre::EGLWindow
 EGLWindow (const String &title, uint32 width, uint32 height, bool fullscreenMode, PixelFormatGpu depthStencilFormat, const NameValuePairList *miscParams, EGLGLSupport *glsupport)
 
 EGLWindow (EGLSupport *glsupport)
 
virtual ~EGLWindow ()
 
virtual ~EGLWindow ()
 
virtual void _initialize (TextureGpuManager *textureManager)
 
virtual void _setVisible (bool visible)
 Internal method to notify the window it has been obscured or minimized. More...
 
void copyContentsToMemory (const Box &src, const PixelBox &dst, FrameBuffer buffer)
 
virtual void destroy ()
 
void destroy ()
 
virtual void getCustomAttribute (const String &name, void *pData)
 
virtual void getCustomAttribute (IdString name, void *pData)
 
virtual bool isClosed () const
 Indicates whether the window has been closed by the user. More...
 
bool isClosed () const
 Indicates whether the window has been closed by the user. More...
 
bool isHidden () const
 Indicates whether the window was set to hidden (not displayed) More...
 
bool isVisible () const
 
bool isVisible () const
 
virtual void reposition (int32 left, int32 top)
 
void requestFullscreenSwitch (bool goFullscreen, bool borderless, uint32 monitorIdx, uint32 width, uint32 height, uint32 frequencyNumerator, uint32 frequencyDenominator)
 Requests to toggle between fullscreen and windowed mode. More...
 
void requestResolution (uint32 width, uint32 height)
 Requests a change in resolution. More...
 
bool requiresTextureFlipping () const
 
bool requiresTextureFlipping () const
 
virtual void setFullscreen (bool fullscreen, uint width, uint height)
 
void setHidden (bool hidden)
 Hide (or show) the window. More...
 
void setVisible (bool visible)
 
virtual void setVSync (bool vSync, uint32 vSyncInterval)
 Turns VSync on/off. More...
 
void swapBuffers ()
 
void swapBuffers ()
 
- Public Member Functions inherited from Ogre::Window
 Window (const String &title, uint32 widthPt, uint32 heightPt, bool fullscreenMode)
 
virtual ~Window ()
 
virtual void _initialize (TextureGpuManager *textureGpuManager, const NameValuePairList *ogre_nullable miscParams)=0
 
void _setPrimary ()
 Indicates that this is the primary window. More...
 
virtual bool canDownloadData () const
 Returns true if you can download to CPU (i.e. More...
 
bool getBorderless () const
 
TextureGpu *ogre_nullable getDepthBuffer () const
 
uint32 getFrequencyDenominator () const
 
uint32 getFrequencyNumerator () const
 
uint32 getHeight () const
 
virtual void getMetrics (uint32 &width, uint32 &height, int32 &left, int32 &top) const
 Overloaded version of getMetrics from RenderTarget, including extra details specific to windowing systems. More...
 
PixelFormatGpu getPixelFormat () const
 
uint32 getRequestedHeightPt () const
 
uint32 getRequestedWidthPt () const
 
SampleDescription getSampleDescription () const
 
TextureGpu *ogre_nullable getStencilBuffer () const
 
TextureGpu *ogre_nullable getTexture () const
 WARNING: Attempting to change the TextureGpu (e.g. More...
 
const StringgetTitle () const
 
virtual float getViewPointToPixelScale () const
 Many windowing systems that support HiDPI displays use special points to specify size of the windows and controls, so that windows and controls with hardcoded sizes does not become too small on HiDPI displays. More...
 
bool getVSync () const
 
uint32 getVSyncInterval () const
 
uint32 getWidth () const
 
bool isFocused () const
 
bool isFullscreen () const
 Returns true if we are currently in fullscreen mode. More...
 
virtual bool isManualSwapRelease () const
 Returns the value set by setManualSwapRelease when supported. More...
 
bool isMultisample () const
 
bool isPrimary () const
 
virtual void performManualRelease ()
 See Window::setManualSwapRelease. More...
 
virtual void setBorderless (bool borderless)
 
virtual void setFocused (bool focused)
 
virtual void setFsaa (const String &fsaa)
 Set the FSAA mode to be used if hardware support it. More...
 
virtual void setManualSwapRelease (bool bManualRelease)
 Metal doesn't want us to hold on to a drawable after presenting. More...
 
virtual void setTitle (const String &title)
 
virtual void setWantsToDownload (bool bWantsToDownload)
 On Metal you must call this function and set it to true in order to take pictures. More...
 
bool wantsToGoFullscreen () const
 Returns true if we are in windowed mode right now, but want to go fullscreen. More...
 
bool wantsToGoWindowed () const
 Returns true if we are in fullscreen mode right now, but want to go windowed mode. More...
 

Constructor & Destructor Documentation

◆ AndroidEGLWindow()

Ogre::AndroidEGLWindow::AndroidEGLWindow ( AndroidEGLSupport glsupport)

◆ ~AndroidEGLWindow()

virtual Ogre::AndroidEGLWindow::~AndroidEGLWindow ( )
virtual

Member Function Documentation

◆ _createInternalResources()

void Ogre::AndroidEGLWindow::_createInternalResources ( NativeWindowType  window,
AConfiguration *  config 
)

◆ _destroyInternalResources()

void Ogre::AndroidEGLWindow::_destroyInternalResources ( )

◆ create()

void Ogre::AndroidEGLWindow::create ( const String name,
unsigned int  width,
unsigned int  height,
bool  fullScreen,
const NameValuePairList miscParams 
)

The documentation for this class was generated from the following file: