Skip to main content
Version: 0.9.0

StreamParamsOpenGl class

Base of the three OpenGL stream-parameter extensions. Pick the one matching the context the application owns; requires a library built with QAR_ENABLE_OPENGL.

Namespace: Quaternar.Qaros · Assembly: Quaternar.Qaros.dll · Source: QarTypes.cs

public abstract class StreamParamsOpenGl : Structure

Inherits: Structure → StreamParamsOpenGl
Derived: StreamParamsOpenGlEgl, StreamParamsOpenGlGlx, StreamParamsOpenGlWgl

Properties​

Context​

Required. EGLContext, HGLRC or GLXContext; a null context is rejected.

public nint Context { get; set; }

Value: nint

Callbacks​

Optional overrides of how the library binds the context; the default uses the library's own.

public OpenGlContextCallbacks Callbacks { get; set; }

Value: OpenGlContextCallbacks