Handbook
Glossary
component-type>c-type ( component-type -- c-type )
Vocabulary
gpu
.
shaders
.
private
Inputs
component-type
an
object
Outputs
c-type
an
object
Definition
USING:
alien.c-types
combinators
images
math.floats.half
;
IN:
gpu.shaders.private
:
component-type>c-type
( component-type -- c-type )
{
{
ubyte-components
[
uchar
]
}
{
ushort-components
[
ushort
]
}
{
uint-components
[
uint
]
}
{
half-components
[
half
]
}
{
float-components
[
float
]
}
{
byte-integer-components
[
char
]
}
{
ubyte-integer-components
[
uchar
]
}
{
short-integer-components
[
short
]
}
{
ushort-integer-components
[
ushort
]
}
{
int-integer-components
[
int
]
}
{
uint-integer-components
[
uint
]
}
}
case
;