Handbook
Glossary
set-gpu-api ( -- )
Vocabulary
gpu
.
private
Inputs
None
Outputs
None
Definition
USING:
kernel
namespaces
opengl.capabilities
;
IN:
gpu.private
:
set-gpu-api
( -- )
"2.0"
require-gl-version
"3.0"
{
{
"GL_ARB_vertex_array_object"
"GL_APPLE_vertex_array_object"
}
}
has-gl-version-or-extensions?
has-vertex-array-objects?
set-global
"3.0"
has-gl-version?
opengl-3
opengl-2
?
gpu-api
set-global
;