Exemplo n.º 1
0
 /** FloatBuffer version of: {@link #glGetBufferSubData GetBufferSubData} */
 public static void glGetBufferSubData(int target, long offset, FloatBuffer data) {
   nglGetBufferSubData(target, offset, data.remaining() << 2, memAddress(data));
 }
Exemplo n.º 2
0
 /** FloatBuffer version of: {@link #glBufferData BufferData} */
 public static void glBufferData(int target, FloatBuffer data, int usage) {
   nglBufferData(target, data.remaining() << 2, memAddress(data), usage);
 }