예제 #1
0
 /** DoubleBuffer version of: {@link #glBufferData BufferData} */
 public static void glBufferData(int target, DoubleBuffer data, int usage) {
   nglBufferData(target, data.remaining() << 3, memAddress(data), usage);
 }
예제 #2
0
 /** DoubleBuffer version of: {@link #glGetBufferSubData GetBufferSubData} */
 public static void glGetBufferSubData(int target, long offset, DoubleBuffer data) {
   nglGetBufferSubData(target, offset, data.remaining() << 3, memAddress(data));
 }
 /** Alternative version of: {@link #glDepthRangeArrayv DepthRangeArrayv} */
 public static void glDepthRangeArrayv(int first, DoubleBuffer v) {
   nglDepthRangeArrayv(first, v.remaining() >> 1, memAddress(v));
 }