Kanzi 4.1.0
kanzi::platform::GlGraphicsContext::SurfaceContextHandle Struct Reference

The SurfaceContext handle is used to identify an OpenGL context that is used by the rendering thread. More...

#include <kanzi/platform/platform/gl/common/gl_graphics_context.hpp>

Public Member Functions

 operator bool () const
 Tests if the handle is valid.
 
bool operator!= (const SurfaceContextHandle &other) const
 Not equals operator.
 
bool operator== (const SurfaceContextHandle &other) const
 Equality operator.
 

Public Attributes

void * handle
 Opaque platform specific handle.
 

Detailed Description

The SurfaceContext handle is used to identify an OpenGL context that is used by the rendering thread.

The context may have 0 to many Surface handles associated with the context.

Member Function Documentation

◆ operator bool()

kanzi::platform::GlGraphicsContext::SurfaceContextHandle::operator bool ( ) const
inlineexplicit

Tests if the handle is valid.

◆ operator==()

bool kanzi::platform::GlGraphicsContext::SurfaceContextHandle::operator== ( const SurfaceContextHandle & other) const
inline

Equality operator.

◆ operator!=()

bool kanzi::platform::GlGraphicsContext::SurfaceContextHandle::operator!= ( const SurfaceContextHandle & other) const
inline

Not equals operator.

Member Data Documentation

◆ handle

void* kanzi::platform::GlGraphicsContext::SurfaceContextHandle::handle

Opaque platform specific handle.


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