Handbook
Glossary
gl-shader-ok? ( shader -- ? )
Vocabulary
opengl
.
shaders
Inputs
shader
A
gl-shader
object
Outputs
?
a
boolean
Word description
Returns a boolean value indicating whether the given shader object compiled successfully. Compilation errors and warnings are available in the shader's info log, which can be gotten using
gl-shader-info-log
.
Definition
USING:
alien.c-types
opengl.gl
;
IN:
opengl.shaders
:
gl-shader-ok?
( shader -- ? )
GL_COMPILE_STATUS
gl-shader-get-int
c-bool>
;