29package com.jogamp.opengl.util;
31import com.jogamp.opengl.*;
190 public void put(Buffer v);
193 public void put3b(
byte v1,
byte v2,
byte v3);
194 public void put4b(
byte v1,
byte v2,
byte v3,
byte v4);
195 public void putb(
byte[] src,
int offset,
int length);
198 public void put3s(
short v1,
short v2,
short v3);
199 public void put4s(
short v1,
short v2,
short v3,
short v4);
200 public void puts(
short[] src,
int offset,
int length);
203 public void put3i(
int v1,
int v2,
int v3);
204 public void put4i(
int v1,
int v2,
int v3,
int v4);
205 public void puti(
int[] src,
int offset,
int length);
210 public void put3f(
float v1,
float v2,
float v3);
211 public void put4f(
float v1,
float v2,
float v3,
float v4);
212 public void putf(
float[] src,
int offset,
int length);
The total number of bytes hold by the referenced buffer is: getComponentSize()* getComponentNumber() ...
The total number of bytes hold by the referenced buffer is: getComponentSize()* getComponentNumber() ...
void seal(GL gl, boolean seal)
Convenience method calling seal(boolean) and enableBuffer(GL, boolean).
void puti(int[] src, int offset, int length)
void put4s(short v1, short v2, short v3, short v4)
void enableBuffer(GL gl, boolean enable)
Enables the buffer if enable is true, and transfers the data if required.
void setVBOWritten(boolean written)
Marks the buffer written to the VBO.
boolean bindBuffer(GL gl, boolean bind)
if bind is true and the data uses VBO, the latter will be bound and data written to the GPU if requir...
void padding(int doneInByteSize)
void puts(short[] src, int offset, int length)
void put3s(short v1, short v2, short v3)
void clear()
Clears this buffer and resets states accordingly.
void put4b(byte v1, byte v2, byte v3, byte v4)
void putb(byte[] src, int offset, int length)
boolean isVBOWritten()
Is the buffer written to the VBO ?
void rewind()
Rewinds this buffer.
void put3b(byte v1, byte v2, byte v3)
void put3f(float v1, float v2, float v3)
void putf(float[] src, int offset, int length)
void clear(GL gl)
Clears this buffer and resets states accordingly.
void setEnableAlways(boolean always)
Affects the behavior of 'enableBuffer'.
void put4i(int v1, int v2, int v3, int v4)
void put4f(float v1, float v2, float v3, float v4)
void put3i(int v1, int v2, int v3)