Handbook
Glossary
collada-vertex-format
Vocabulary
game
.
models
.
collada
.
private
Definition
IN:
game.models.collada.private
SINGLETON:
collada-vertex-format
Methods
USING:
alien.c-types
alien.data
alien.strings
byte-arrays
combinators
game.models.collada.private
gpu.shaders
gpu.shaders.private
io.encodings.ascii
kernel
opengl.gl
;
M:
collada-vertex-format
(verify-feedback-format)
drop
[
[
0 9
dup
[
f
0
int
<ref>
0
int
<ref>
]
dip
<byte-array>
[
glGetTransformFeedbackVarying
]
3keep
ascii
alien>string
T{
vertex-attribute
{
name
"POSITION"
}
{
dim 3
}
}
assert-feedback-attribute
]
[
1 7
dup
[
f
0
int
<ref>
0
int
<ref>
]
dip
<byte-array>
[
glGetTransformFeedbackVarying
]
3keep
ascii
alien>string
T{
vertex-attribute
{
name
"NORMAL"
}
{
dim 3
}
}
assert-feedback-attribute
]
[
2 9
dup
[
f
0
int
<ref>
0
int
<ref>
]
dip
<byte-array>
[
glGetTransformFeedbackVarying
]
3keep
ascii
alien>string
T{
vertex-attribute
{
name
"TEXCOORD"
}
{
dim 2
}
}
assert-feedback-attribute
]
]
cleave
;
USING:
combinators
game.models.collada.private
gpu.buffers
gpu.shaders.private
kernel
;
M:
collada-vertex-format
bind-vertex-format
drop
vertex-buffer
[
{
[
"POSITION"
3 5126 0 32 0
(bind-float-vertex-attribute)
]
[
"NORMAL"
3 5126 0 32 12
(bind-float-vertex-attribute)
]
[
"TEXCOORD"
2 5126 0 32 24
(bind-float-vertex-attribute)
]
}
2cleave
]
with-buffer-ptr
;
USING:
alien.syntax
game.models.collada.private
gpu.shaders.private
kernel
opengl.gl
specialized-arrays.instances.alien.c-types.void*
;
M:
collada-vertex-format
link-feedback-format
drop
3
void*-array{
ALIEN:
600002c94790
ALIEN:
600002c947a0
ALIEN:
600002c947b0
}
GL_INTERLEAVED_ATTRIBS
glTransformFeedbackVaryings
;
USING:
game.models.collada.private
gpu.shaders
kernel
;
M:
collada-vertex-format
vertex-format-size
drop
32
;