Handbook
Glossary
gl-vertex-type ( component-type -- gl-type )
Vocabulary
gpu
.
shaders
.
private
Inputs
component-type
an
object
Outputs
gl-type
an
object
Definition
USING:
combinators
images
opengl.gl
;
IN:
gpu.shaders.private
:
gl-vertex-type
( component-type -- gl-type )
{
{
ubyte-components
[
GL_UNSIGNED_BYTE
]
}
{
ushort-components
[
GL_UNSIGNED_SHORT
]
}
{
uint-components
[
GL_UNSIGNED_INT
]
}
{
half-components
[
GL_HALF_FLOAT
]
}
{
float-components
[
GL_FLOAT
]
}
{
byte-integer-components
[
GL_BYTE
]
}
{
short-integer-components
[
GL_SHORT
]
}
{
int-integer-components
[
GL_INT
]
}
{
ubyte-integer-components
[
GL_UNSIGNED_BYTE
]
}
{
ushort-integer-components
[
GL_UNSIGNED_SHORT
]
}
{
uint-integer-components
[
GL_UNSIGNED_INT
]
}
}
case
;