Handbook
Glossary
gl-target ( kind -- target )
Vocabulary
gpu
.
buffers
.
private
Inputs
kind
an
object
Outputs
target
an
object
Definition
USING:
combinators
gpu.buffers
opengl.gl
;
IN:
gpu.buffers.private
:
gl-target
( kind -- target )
{
{
vertex-buffer
[
GL_ARRAY_BUFFER
]
}
{
index-buffer
[
GL_ELEMENT_ARRAY_BUFFER
]
}
{
pixel-unpack-buffer
[
GL_PIXEL_UNPACK_BUFFER
]
}
{
pixel-pack-buffer
[
GL_PIXEL_PACK_BUFFER
]
}
{
transform-feedback-buffer
[
GL_TRANSFORM_FEEDBACK_BUFFER
]
}
}
case
;
inline