Handbook
Glossary
vertex-format-size ( format -- size )
Vocabulary
gpu
.
shaders
Inputs
format
a
vertex-format
Outputs
size
an
integer
Word description
Returns the size in bytes of a set of vertex attributes in
format
.
Definition
IN:
gpu.shaders
GENERIC:
vertex-format-size
( format -- size )
Methods
USING:
gpu.demos.bunny
gpu.shaders
kernel
;
M:
bunny-vertex
vertex-format-size
drop
32
;
USING:
game.models.collada.private
gpu.shaders
kernel
;
M:
collada-vertex-format
vertex-format-size
drop
32
;
USING:
game.debug.private
gpu.shaders
kernel
;
M:
debug-shapes-vertex-format
vertex-format-size
drop
24
;
USING:
game.debug.private
gpu.shaders
kernel
;
M:
debug-text-vertex-format
vertex-format-size
drop
16
;
USING:
game.models.obj.private
gpu.shaders
kernel
;
M:
obj-vertex-format
vertex-format-size
drop
32
;
USING:
gpu.shaders
kernel
papier.map
;
M:
papier-vertex
vertex-format-size
drop
48
;
USING:
gpu.shaders
gpu.util
kernel
;
M:
window-vertex-format
vertex-format-size
drop
8
;
USING:
gml.viewer
gpu.shaders
kernel
;
M:
wire-vertex-format
vertex-format-size
drop
32
;