Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var buf:FloatBuffer = GL.allocBuffer(GL.FLOAT, 10);
- trace(buf[0] = 10); // set first float to 10
- var buf2:IntBuffer = buf.raw;
- trace(buf[0] = 10); // set first int of the same buffer store to 10
Advertisement
Add Comment
Please, Sign In to add comment