Handbook
Glossary
vertex-attribute
Vocabulary
gpu
.
shaders
Class description
This tuple type is passed to
define-vertex-format
to define a new
vertex-format
type.
Definition
USING:
images
kernel
math
strings
;
IN:
gpu.shaders
TUPLE:
vertex-attribute
{
name
maybe{
string
}
read-only
initial:
f
}
{
component-type
component-type
read-only
initial:
float-components
}
{
dim
integer
read-only
initial:
4
}
{
normalize?
boolean
read-only
initial:
f
}
;