Kanzi  3.9.9
Kanzi Engine C++ API
gl_graphics_context.hpp File Reference

Namespaces

 kanzi
 

Typedefs

typedef kanzi::shared_ptr< KzsGlGraphicsContext > KzsGlGraphicsContextSharedPtr
 

Functions

kzsError kzsGlGraphicsContextCreate (kanzi::GLGraphicsOutput &glGraphicsOutput, KzsGlGraphicsContextSharedPtr *out_glGraphicsContext)
 
kzsError kzsGlGraphicsContextDestroy (struct KzsGlGraphicsContext *context)
 
kanzi::GlGraphicsAdapterkzsGlGraphicsContextGetAdapter (const struct KzsGlGraphicsContext *context)
 
kanzi::GraphicsContextAPI kzsGlGraphicsContextGetAPI (const struct KzsGlGraphicsContext *context)
 
bool kzsGlGraphicsContextGetDumpStateOnDrawCalls (struct KzsGlGraphicsContext *context)
 
void kzsGlGraphicsContextGetGlesSymbols (kanzi::GLGraphicsOutput &glGraphicsOutput)
 
bool kzsGlGraphicsContextGetLogging (struct KzsGlGraphicsContext *context)
 Return current OpenGL API call logging setting. More...
 
void kzsGlGraphicsContextGetOpenGlSymbols (kanzi::GLGraphicsOutput &glGraphicsOutput)
 
kanzi::SurfaceClientAPI kzsGlGraphicsContextGetSurfaceClientAPI (const struct KzsGlGraphicsContext *context)
 
enum KzsOpenGlVendor kzsGlGraphicsContextGetVendor (const struct KzsGlGraphicsContext *context)
 
bool kzsGlGraphicsContextIsKhrDebugSupported (const struct KzsGlGraphicsContext *context)
 
void kzsGlGraphicsContextSetActive (const struct KzsGlGraphicsContext *context)
 
void kzsGlGraphicsContextSetDebugCallback (struct KzsGlGraphicsContext *context, bool enabled)
 Set OpenGL API call debug callback on/off. More...
 
void kzsGlGraphicsContextSetErrorChecking (struct KzsGlGraphicsContext *context, bool enabled)
 Set OpenGL API call error checking on/off. More...
 
void kzsGlGraphicsContextSetLogging (struct KzsGlGraphicsContext *context, bool enabled, bool dumpStateOnDrawCalls)
 Set OpenGL API call logging on/off. More...
 
bool kzsGlIsExtensionSupported (const struct KzsGlGraphicsContext *context, kzString extension)
 

Typedef Documentation

typedef kanzi::shared_ptr<KzsGlGraphicsContext> KzsGlGraphicsContextSharedPtr

Function Documentation

kzsError kzsGlGraphicsContextCreate ( kanzi::GLGraphicsOutput glGraphicsOutput,
KzsGlGraphicsContextSharedPtr out_glGraphicsContext 
)
kzsError kzsGlGraphicsContextDestroy ( struct KzsGlGraphicsContext *  context)
void kzsGlGraphicsContextSetActive ( const struct KzsGlGraphicsContext *  context)
kanzi::GlGraphicsAdapter* kzsGlGraphicsContextGetAdapter ( const struct KzsGlGraphicsContext *  context)
bool kzsGlGraphicsContextIsKhrDebugSupported ( const struct KzsGlGraphicsContext *  context)
enum KzsOpenGlVendor kzsGlGraphicsContextGetVendor ( const struct KzsGlGraphicsContext *  context)
kanzi::SurfaceClientAPI kzsGlGraphicsContextGetSurfaceClientAPI ( const struct KzsGlGraphicsContext *  context)
kanzi::GraphicsContextAPI kzsGlGraphicsContextGetAPI ( const struct KzsGlGraphicsContext *  context)
bool kzsGlIsExtensionSupported ( const struct KzsGlGraphicsContext *  context,
kzString  extension 
)
void kzsGlGraphicsContextSetLogging ( struct KzsGlGraphicsContext *  context,
bool  enabled,
bool  dumpStateOnDrawCalls 
)

Set OpenGL API call logging on/off.

bool kzsGlGraphicsContextGetLogging ( struct KzsGlGraphicsContext *  context)

Return current OpenGL API call logging setting.

bool kzsGlGraphicsContextGetDumpStateOnDrawCalls ( struct KzsGlGraphicsContext *  context)
void kzsGlGraphicsContextSetErrorChecking ( struct KzsGlGraphicsContext *  context,
bool  enabled 
)

Set OpenGL API call error checking on/off.

void kzsGlGraphicsContextSetDebugCallback ( struct KzsGlGraphicsContext *  context,
bool  enabled 
)

Set OpenGL API call debug callback on/off.

void kzsGlGraphicsContextGetGlesSymbols ( kanzi::GLGraphicsOutput glGraphicsOutput)
void kzsGlGraphicsContextGetOpenGlSymbols ( kanzi::GLGraphicsOutput glGraphicsOutput)