1 ! (c)2009 Joe Groff bsd license
2 USING: gpu.buffers gpu.render gpu.shaders gpu.textures images kernel
3 specialized-arrays.float ;
6 CONSTANT: environment-cube-map-mv-matrices
46 VERTEX-FORMAT: window-vertex
47 { "vertex" float-components 2 f } ;
49 CONSTANT: window-vertexes
57 : <window-vertex-buffer> ( -- buffer )
59 static-upload draw-usage vertex-buffer
62 : <window-vertex-array> ( program-instance -- vertex-array )
63 [ <window-vertex-buffer> ] dip window-vertex buffer>vertex-array ;