Kanzi 4.0.0-beta2
kanzi::platform::OpenGLPlatform::SurfaceHandle Struct Reference

The Surface handle is used to identify a platform surface that can be used as a target for OpenGL rendering. More...

#include <kanzi/platform/platform/context/opengl_platform.hpp>

Public Member Functions

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

Public Attributes

voidhandle
 Opaque platform specific handle.
 

Detailed Description

The Surface handle is used to identify a platform surface that can be used as a target for OpenGL rendering.

Member Function Documentation

◆ operator bool()

kanzi::platform::OpenGLPlatform::SurfaceHandle::operator bool ( ) const
inlineexplicit

Tests if the handle is valid.

◆ operator==()

bool kanzi::platform::OpenGLPlatform::SurfaceHandle::operator== ( const SurfaceHandle & other) const
inline

Equality operator.

◆ operator!=()

bool kanzi::platform::OpenGLPlatform::SurfaceHandle::operator!= ( const SurfaceHandle & other) const
inline

Not equals operator.

Member Data Documentation

◆ handle

void* kanzi::platform::OpenGLPlatform::SurfaceHandle::handle

Opaque platform specific handle.


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