GLDisplay.connectCreateContext

Connect to CreateContext signal.

Overrides the GstGLContext creation mechanism. It can be called in any thread and it is emitted with display's object lock held.

class GLDisplay
ulong
connectCreateContext
(
T
)
(,
Flag!"After" after = No.After
)
if (
isCallable!T &&
&&
(
Parameters!T.length < 1 ||
(
ParameterStorageClassTuple!T[0] == ParameterStorageClass.none &&
is(Parameters!T[0] : gstgl.glcontext.GLContext)
)
)
&&
(
Parameters!T.length < 2 ||
(
ParameterStorageClassTuple!T[1] == ParameterStorageClass.none &&
is(Parameters!T[1] : gstgl.gldisplay.GLDisplay)
)
)
&&
Parameters!T.length < 3
)

Parameters

callback T

signal callback delegate or function to connect

gstgl.glcontext.GLContext callback(gstgl.glcontext.GLContext context, gstgl.gldisplay.GLDisplay gLDisplay)

context other context to share resources with. (optional)

gLDisplay the instance the signal is connected to (optional)

Returns the new context.

after Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: ulong

Signal ID