OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
NullOpenGLContext Class Reference

#include <NullOpenGLContext.h>

Inheritance diagram for NullOpenGLContext:
PlatformOpenGLContext

Public Member Functions

 NullOpenGLContext (NullPlatformSharedState *state)
 
virtual ~NullOpenGLContext ()
 
virtual bool bind () override
 
virtual bool unbind () override
 
virtual void * nativeHandle () override
 
virtual void swapBuffers () override
 
virtual void * getProcAddress (const char *name) override
 
- Public Member Functions inherited from PlatformOpenGLContext
virtual ~PlatformOpenGLContext ()=default
 
virtual bool bind ()=0
 
virtual bool unbind ()=0
 
virtual void * nativeHandle ()=0
 
virtual void swapBuffers ()=0
 
virtual void * getProcAddress (const char *name)=0
 

Private Attributes

NullPlatformSharedState_state = nullptr
 

Constructor & Destructor Documentation

◆ NullOpenGLContext()

NullOpenGLContext::NullOpenGLContext ( NullPlatformSharedState state)
explicit

◆ ~NullOpenGLContext()

NullOpenGLContext::~NullOpenGLContext ( )
virtual

Member Function Documentation

◆ bind()

bool NullOpenGLContext::bind ( )
overridevirtual

Implements PlatformOpenGLContext.

◆ getProcAddress()

void * NullOpenGLContext::getProcAddress ( const char *  name)
overridevirtual

Implements PlatformOpenGLContext.

◆ nativeHandle()

void * NullOpenGLContext::nativeHandle ( )
overridevirtual

Implements PlatformOpenGLContext.

◆ swapBuffers()

void NullOpenGLContext::swapBuffers ( )
overridevirtual

Implements PlatformOpenGLContext.

◆ unbind()

bool NullOpenGLContext::unbind ( )
overridevirtual

Implements PlatformOpenGLContext.

Member Data Documentation

◆ _state

NullPlatformSharedState* NullOpenGLContext::_state = nullptr
private

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