Handbook
Glossary
debug-text-vertex-format
Vocabulary
game
.
debug
.
private
Definition
IN:
game.debug.private
SINGLETON:
debug-text-vertex-format
Methods
USING:
alien.c-types
alien.data
alien.strings
byte-arrays
combinators
game.debug.private
gpu.shaders
gpu.shaders.private
io.encodings.ascii
kernel
opengl.gl
;
M:
debug-text-vertex-format
(verify-feedback-format)
drop
[
[
0 11
dup
[
f
0
int
<ref>
0
int
<ref>
]
dip
<byte-array>
[
glGetTransformFeedbackVarying
]
3keep
ascii
alien>string
T{
vertex-attribute
{
name
"a_position"
}
{
dim 2
}
}
assert-feedback-attribute
]
[
1 11
dup
[
f
0
int
<ref>
0
int
<ref>
]
dip
<byte-array>
[
glGetTransformFeedbackVarying
]
3keep
ascii
alien>string
T{
vertex-attribute
{
name
"a_texcoord"
}
{
dim 2
}
}
assert-feedback-attribute
]
]
cleave
;
USING:
combinators
game.debug.private
gpu.buffers
gpu.shaders.private
kernel
;
M:
debug-text-vertex-format
bind-vertex-format
drop
vertex-buffer
[
{
[
"a_position"
2 5126 0 16 0
(bind-float-vertex-attribute)
]
[
"a_texcoord"
2 5126 0 16 8
(bind-float-vertex-attribute)
]
}
2cleave
]
with-buffer-ptr
;
USING:
alien.syntax
game.debug.private
gpu.shaders.private
kernel
opengl.gl
specialized-arrays.instances.alien.c-types.void*
;
M:
debug-text-vertex-format
link-feedback-format
drop
2
void*-array{
ALIEN:
6000029346a0
ALIEN:
6000029346b0
}
GL_INTERLEAVED_ATTRIBS
glTransformFeedbackVaryings
;
USING:
game.debug.private
gpu.shaders
kernel
;
M:
debug-text-vertex-format
vertex-format-size
drop
16
;