GLContext
Class
constructor
parent
Class
name
activate
check
Feature
choose
Format
create
Context
destroy
Context
get
Config
get
Current
Context
get
Gl
Api
get
Gl
Context
get
Gl
Platform
get
Gl
Platform
Version
get
Proc
Address
request
Config
swap
Buffers
NODE-GTK API Reference
GstGL-1.0
GstGL
GLContextClass
Class GLContextClass
Hierarchy
GLContextClass
Index
Constructors
constructor
Properties
parent
Class
name
Methods
activate
check
Feature
choose
Format
create
Context
destroy
Context
get
Config
get
Current
Context
get
Gl
Api
get
Gl
Context
get
Gl
Platform
get
Gl
Platform
Version
get
Proc
Address
request
Config
swap
Buffers
Constructors
constructor
new GLContext
Class
(
)
:
GLContextClass
Returns
GLContextClass
Properties
parent
Class
parent
Class
:
Gst
.
ObjectClass
Static
name
name
:
string
Methods
activate
activate
(
context
:
GstGL
.
GLContext
, activate
:
boolean
)
:
boolean
Parameters
context:
GstGL
.
GLContext
activate:
boolean
Returns
boolean
check
Feature
check
Feature
(
context
:
GstGL
.
GLContext
, feature
:
string
)
:
boolean
Parameters
context:
GstGL
.
GLContext
feature:
string
Returns
boolean
choose
Format
choose
Format
(
context
:
GstGL
.
GLContext
)
:
boolean
Parameters
context:
GstGL
.
GLContext
Returns
boolean
create
Context
create
Context
(
context
:
GstGL
.
GLContext
, glApi
:
GstGL
.
GLAPI
, otherContext
:
GstGL
.
GLContext
)
:
boolean
Parameters
context:
GstGL
.
GLContext
glApi:
GstGL
.
GLAPI
otherContext:
GstGL
.
GLContext
Returns
boolean
destroy
Context
destroy
Context
(
context
:
GstGL
.
GLContext
)
:
void
Parameters
context:
GstGL
.
GLContext
Returns
void
get
Config
get
Config
(
context
:
GstGL
.
GLContext
)
:
Gst
.
Structure
Parameters
context:
GstGL
.
GLContext
Returns
Gst
.
Structure
get
Current
Context
get
Current
Context
(
)
:
number
Returns
number
get
Gl
Api
get
Gl
Api
(
context
:
GstGL
.
GLContext
)
:
GstGL
.
GLAPI
Parameters
context:
GstGL
.
GLContext
Returns
GstGL
.
GLAPI
get
Gl
Context
get
Gl
Context
(
context
:
GstGL
.
GLContext
)
:
number
Parameters
context:
GstGL
.
GLContext
Returns
number
get
Gl
Platform
get
Gl
Platform
(
context
:
GstGL
.
GLContext
)
:
GLPlatform
Parameters
context:
GstGL
.
GLContext
Returns
GLPlatform
get
Gl
Platform
Version
get
Gl
Platform
Version
(
context
:
GstGL
.
GLContext
)
:
[
number
,
number
]
Parameters
context:
GstGL
.
GLContext
Returns
[
number
,
number
]
get
Proc
Address
get
Proc
Address
(
glApi
:
GstGL
.
GLAPI
, name
:
string
)
:
object
Parameters
glApi:
GstGL
.
GLAPI
name:
string
Returns
object
request
Config
request
Config
(
context
:
GstGL
.
GLContext
, glConfig
:
Gst
.
Structure
)
:
boolean
Parameters
context:
GstGL
.
GLContext
glConfig:
Gst
.
Structure
Returns
boolean
swap
Buffers
swap
Buffers
(
context
:
GstGL
.
GLContext
)
:
void
Parameters
context:
GstGL
.
GLContext
Returns
void
GLContext
Class
constructor
parent
Class
name
activate
check
Feature
choose
Format
create
Context
destroy
Context
get
Config
get
Current
Context
get
Gl
Api
get
Gl
Context
get
Gl
Platform
get
Gl
Platform
Version
get
Proc
Address
request
Config
swap
Buffers
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHc3RHTF8xXzAuR3N0R0wuR0xDb250ZXh0Q2xhc3MuaHRtbCNjb25zdHJ1Y3RvciIsIm5hbWUiOiJjb25zdHJ1Y3RvciIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIiwiaHJlZiI6IkdzdEdMXzFfMC5Hc3RHTC5HTENvbnRleHRDbGFzcy5odG1sI3BhcmVudENsYXNzIiwibmFt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