public class GL3SharedObjectFactory
extends java.lang.Object
Constructor and Description |
---|
GL3SharedObjectFactory(GL3VertexAttributeInfo position,
GL3VertexAttributeInfo normal,
GL3VertexAttributeInfo color,
GL3VertexAttributeInfo texcoord) |
Modifier and Type | Method and Description |
---|---|
GL3SharedObject |
createP(com.jogamp.opengl.GL3 gl,
int mode,
java.nio.ByteBuffer vbuff,
int nverts,
GL3AttributeStorage pstorage,
int vstride,
int vUsage)
Vertex positions only
|
GL3SharedObject |
createV(com.jogamp.opengl.GL3 gl,
int mode,
java.nio.ByteBuffer vbuff,
int nverts,
GL3AttributeStorage vstorage,
int vstride,
int vUsage)
Vertex positions only
|
GL3SharedObject |
createV(com.jogamp.opengl.GL3 gl,
int mode,
float[] v,
int vUsage)
Vertex positions only
|
GL3SharedObject |
createVC(com.jogamp.opengl.GL3 gl,
int mode,
int nverts,
java.nio.ByteBuffer vcbuff,
GL3AttributeStorage vstorage,
int voffset,
int vstride,
GL3AttributeStorage cstorage,
int coffset,
int cstride,
int vcUsage)
Interleaved vertex, color
|
GL3SharedObject |
createVE(com.jogamp.opengl.GL3 gl,
int mode,
java.nio.ByteBuffer vbuff,
int nverts,
GL3AttributeStorage vstorage,
int vUsage,
java.nio.ByteBuffer ebuff,
int nelems,
GL3AttributeStorage estorage,
int eUsage)
vertex only
|
GL3SharedObject |
createVE(com.jogamp.opengl.GL3 gl,
int mode,
float[] v,
int vUsage,
int[] elems,
int eUsage)
vertex
|
GL3SharedObject |
createVN(com.jogamp.opengl.GL3 gl,
int mode,
java.nio.ByteBuffer vnbuff,
int nverts,
GL3AttributeStorage vstorage,
int voffset,
int vstride,
GL3AttributeStorage nstorage,
int noffset,
int nstride,
int vnUsage)
Interleaved vertex and normal
|
GL3SharedObject |
createVN(com.jogamp.opengl.GL3 gl,
int mode,
float[] vn,
int vnUsage)
Vertex and normal into an interleaved buffer
|
GL3SharedObject |
createVN(com.jogamp.opengl.GL3 gl,
int mode,
float[] v,
int voffset,
int vstride,
float[] n,
int noffset,
int nstride,
int nverts,
int vnUsage)
Vertex and normal into an interleaved buffer
|
GL3SharedObject |
createVN(com.jogamp.opengl.GL3 gl,
int mode,
int nverts,
java.nio.ByteBuffer vbuff,
GL3AttributeStorage vstorage,
int voffset,
int vstride,
java.nio.ByteBuffer nbuff,
GL3AttributeStorage nstorage,
int noffset,
int nstride,
int vnUsage)
Separate vertex and normal
|
GL3SharedObject |
createVNC(com.jogamp.opengl.GL3 gl,
int mode,
int nverts,
java.nio.ByteBuffer vbuff,
GL3AttributeStorage vstorage,
int voffset,
int vstride,
java.nio.ByteBuffer nbuff,
GL3AttributeStorage nstorage,
int noffset,
int nstride,
java.nio.ByteBuffer cbuff,
GL3AttributeStorage cstorage,
int coffset,
int cstride,
int vncUsage)
Separate vertex, normal, color
|
GL3SharedObject |
createVNC(com.jogamp.opengl.GL3 gl,
int mode,
int nverts,
java.nio.ByteBuffer vncbuff,
GL3AttributeStorage vstorage,
int voffset,
int vstride,
GL3AttributeStorage nstorage,
int noffset,
int nstride,
GL3AttributeStorage cstorage,
int coffset,
int cstride,
int vncUsage)
Interleaved vertex, normal, color
|
GL3SharedObject |
createVNE(com.jogamp.opengl.GL3 gl,
int mode,
java.nio.ByteBuffer vnbuff,
int nverts,
GL3AttributeStorage vstorage,
int voffset,
int vstride,
GL3AttributeStorage nstorage,
int noffset,
int nstride,
int vnUsage,
java.nio.ByteBuffer ebuff,
int nelems,
GL3AttributeStorage estorage,
int eoffset,
int estride,
int eusage)
Interleaved vertex and normal
|
GL3SharedObject |
createVNE(com.jogamp.opengl.GL3 gl,
int mode,
float[] vn,
int vnUsage,
int[] eidxs,
int eUsage)
Interleaved vertex and normal
|
GL3SharedObject |
createVNE(com.jogamp.opengl.GL3 gl,
int mode,
float[] v,
int voffset,
int vstride,
float[] n,
int noffset,
int nstride,
int nverts,
int vnUsage,
int[] eidxs,
int eoffset,
int estride,
int nelems,
int eUsage)
Vertex and normal into an interleaved buffer
|
public GL3SharedObjectFactory(GL3VertexAttributeInfo position, GL3VertexAttributeInfo normal, GL3VertexAttributeInfo color, GL3VertexAttributeInfo texcoord)
public GL3SharedObject createVE(com.jogamp.opengl.GL3 gl, int mode, float[] v, int vUsage, int[] elems, int eUsage)
public GL3SharedObject createVE(com.jogamp.opengl.GL3 gl, int mode, java.nio.ByteBuffer vbuff, int nverts, GL3AttributeStorage vstorage, int vUsage, java.nio.ByteBuffer ebuff, int nelems, GL3AttributeStorage estorage, int eUsage)
public GL3SharedObject createV(com.jogamp.opengl.GL3 gl, int mode, float[] v, int vUsage)
public GL3SharedObject createV(com.jogamp.opengl.GL3 gl, int mode, java.nio.ByteBuffer vbuff, int nverts, GL3AttributeStorage vstorage, int vstride, int vUsage)
public GL3SharedObject createP(com.jogamp.opengl.GL3 gl, int mode, java.nio.ByteBuffer vbuff, int nverts, GL3AttributeStorage pstorage, int vstride, int vUsage)
public GL3SharedObject createVN(com.jogamp.opengl.GL3 gl, int mode, float[] vn, int vnUsage)
public GL3SharedObject createVN(com.jogamp.opengl.GL3 gl, int mode, float[] v, int voffset, int vstride, float[] n, int noffset, int nstride, int nverts, int vnUsage)
public GL3SharedObject createVNE(com.jogamp.opengl.GL3 gl, int mode, float[] vn, int vnUsage, int[] eidxs, int eUsage)
public GL3SharedObject createVNE(com.jogamp.opengl.GL3 gl, int mode, float[] v, int voffset, int vstride, float[] n, int noffset, int nstride, int nverts, int vnUsage, int[] eidxs, int eoffset, int estride, int nelems, int eUsage)
public GL3SharedObject createVN(com.jogamp.opengl.GL3 gl, int mode, java.nio.ByteBuffer vnbuff, int nverts, GL3AttributeStorage vstorage, int voffset, int vstride, GL3AttributeStorage nstorage, int noffset, int nstride, int vnUsage)
public GL3SharedObject createVN(com.jogamp.opengl.GL3 gl, int mode, int nverts, java.nio.ByteBuffer vbuff, GL3AttributeStorage vstorage, int voffset, int vstride, java.nio.ByteBuffer nbuff, GL3AttributeStorage nstorage, int noffset, int nstride, int vnUsage)
public GL3SharedObject createVNC(com.jogamp.opengl.GL3 gl, int mode, int nverts, java.nio.ByteBuffer vbuff, GL3AttributeStorage vstorage, int voffset, int vstride, java.nio.ByteBuffer nbuff, GL3AttributeStorage nstorage, int noffset, int nstride, java.nio.ByteBuffer cbuff, GL3AttributeStorage cstorage, int coffset, int cstride, int vncUsage)
public GL3SharedObject createVC(com.jogamp.opengl.GL3 gl, int mode, int nverts, java.nio.ByteBuffer vcbuff, GL3AttributeStorage vstorage, int voffset, int vstride, GL3AttributeStorage cstorage, int coffset, int cstride, int vcUsage)
public GL3SharedObject createVNC(com.jogamp.opengl.GL3 gl, int mode, int nverts, java.nio.ByteBuffer vncbuff, GL3AttributeStorage vstorage, int voffset, int vstride, GL3AttributeStorage nstorage, int noffset, int nstride, GL3AttributeStorage cstorage, int coffset, int cstride, int vncUsage)
public GL3SharedObject createVNE(com.jogamp.opengl.GL3 gl, int mode, java.nio.ByteBuffer vnbuff, int nverts, GL3AttributeStorage vstorage, int voffset, int vstride, GL3AttributeStorage nstorage, int noffset, int nstride, int vnUsage, java.nio.ByteBuffer ebuff, int nelems, GL3AttributeStorage estorage, int eoffset, int estride, int eusage)