Diligent Engine  v.2.4.g
Public Types | Public Member Functions | List of all members
Diligent::GLContext Class Reference

#include <GLContextAndroid.hpp>

Public Types

using NativeGLContextType = EGLContext
 
using NativeGLContextType = void *
 
using NativeGLContextType = GLXContext
 
using NativeGLContextType = void *
 
using NativeGLContextType = HGLRC
 

Public Member Functions

 GLContext (const struct EngineGLCreateInfo &InitAttribs, struct DeviceCaps &DeviceCaps, const struct SwapChainDesc *pSCDesc)
 
 ~GLContext ()
 
bool Init (ANativeWindow *window)
 
void SwapBuffers (int SwapInterval)
 
void UpdateScreenSize ()
 
bool Invalidate ()
 
void Suspend ()
 
EGLint Resume (ANativeWindow *window)
 
NativeGLContextType GetCurrentNativeGLContext ()
 
int32_t GetScreenWidth () const
 
int32_t GetScreenHeight () const
 
 GLContext (const struct EngineGLCreateInfo &InitAttribs, struct DeviceCaps &DeviceCaps, const struct SwapChainDesc *pSCDesc)
 
NativeGLContextType GetCurrentNativeGLContext ()
 
 GLContext (const struct EngineGLCreateInfo &InitAttribs, struct DeviceCaps &DeviceCaps, const struct SwapChainDesc *pSCDesc)
 
 ~GLContext ()
 
void SwapBuffers (int SwapInterval)
 
NativeGLContextType GetCurrentNativeGLContext ()
 
 GLContext (const struct EngineGLCreateInfo &InitAttribs, struct DeviceCaps &DeviceCaps, const struct SwapChainDesc *pSCDesc)
 
NativeGLContextType GetCurrentNativeGLContext ()
 
 GLContext (const struct EngineGLCreateInfo &InitAttribs, struct DeviceCaps &DeviceCaps, const struct SwapChainDesc *pSCDesc)
 
 ~GLContext ()
 
void SwapBuffers (int SwapInterval)
 
NativeGLContextType GetCurrentNativeGLContext ()
 

Member Typedef Documentation

◆ NativeGLContextType [1/5]

◆ NativeGLContextType [2/5]

◆ NativeGLContextType [3/5]

◆ NativeGLContextType [4/5]

◆ NativeGLContextType [5/5]

Constructor & Destructor Documentation

◆ GLContext() [1/5]

Diligent::GLContext::GLContext ( const struct EngineGLCreateInfo InitAttribs,
struct DeviceCaps DeviceCaps,
const struct SwapChainDesc pSCDesc 
)

◆ ~GLContext() [1/3]

Diligent::GLContext::~GLContext ( )

◆ GLContext() [2/5]

Diligent::GLContext::GLContext ( const struct EngineGLCreateInfo InitAttribs,
struct DeviceCaps DeviceCaps,
const struct SwapChainDesc pSCDesc 
)

◆ GLContext() [3/5]

Diligent::GLContext::GLContext ( const struct EngineGLCreateInfo InitAttribs,
struct DeviceCaps DeviceCaps,
const struct SwapChainDesc pSCDesc 
)

◆ ~GLContext() [2/3]

Diligent::GLContext::~GLContext ( )

◆ GLContext() [4/5]

Diligent::GLContext::GLContext ( const struct EngineGLCreateInfo InitAttribs,
struct DeviceCaps DeviceCaps,
const struct SwapChainDesc pSCDesc 
)

◆ GLContext() [5/5]

Diligent::GLContext::GLContext ( const struct EngineGLCreateInfo InitAttribs,
struct DeviceCaps DeviceCaps,
const struct SwapChainDesc pSCDesc 
)

◆ ~GLContext() [3/3]

Diligent::GLContext::~GLContext ( )

Member Function Documentation

◆ GetCurrentNativeGLContext() [1/5]

NativeGLContextType Diligent::GLContext::GetCurrentNativeGLContext ( )

◆ GetCurrentNativeGLContext() [2/5]

NativeGLContextType Diligent::GLContext::GetCurrentNativeGLContext ( )

◆ GetCurrentNativeGLContext() [3/5]

NativeGLContextType Diligent::GLContext::GetCurrentNativeGLContext ( )

◆ GetCurrentNativeGLContext() [4/5]

NativeGLContextType Diligent::GLContext::GetCurrentNativeGLContext ( )

◆ GetCurrentNativeGLContext() [5/5]

GLContext::NativeGLContextType Diligent::GLContext::GetCurrentNativeGLContext ( )

◆ GetScreenHeight()

int32_t Diligent::GLContext::GetScreenHeight ( ) const
inline

◆ GetScreenWidth()

int32_t Diligent::GLContext::GetScreenWidth ( ) const
inline

◆ Init()

bool Diligent::GLContext::Init ( ANativeWindow *  window)

◆ Invalidate()

bool Diligent::GLContext::Invalidate ( )

◆ Resume()

EGLint Diligent::GLContext::Resume ( ANativeWindow *  window)

◆ Suspend()

void Diligent::GLContext::Suspend ( )

◆ SwapBuffers() [1/3]

void Diligent::GLContext::SwapBuffers ( int  SwapInterval)

◆ SwapBuffers() [2/3]

void Diligent::GLContext::SwapBuffers ( int  SwapInterval)

◆ SwapBuffers() [3/3]

void Diligent::GLContext::SwapBuffers ( int  SwapInterval)

◆ UpdateScreenSize()

void Diligent::GLContext::UpdateScreenSize ( )

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