JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.util.ImmModeSink.VBOSet Class Reference
Collaboration diagram for com.jogamp.opengl.util.ImmModeSink.VBOSet:

Public Member Functions

void glVertexv (final Buffer v)
 
void glNormalv (final Buffer v)
 
void glColorv (final Buffer v)
 
void glTexCoordv (final Buffer v)
 
void glVertex2b (final byte x, final byte y)
 
void glVertex3b (final byte x, final byte y, final byte z)
 
void glVertex2s (final short x, final short y)
 
void glVertex3s (final short x, final short y, final short z)
 
void glVertex2f (final float x, final float y)
 
void glVertex3f (final float x, final float y, final float z)
 
void glNormal3b (final byte x, final byte y, final byte z)
 
void glNormal3s (final short x, final short y, final short z)
 
void glNormal3f (final float x, final float y, final float z)
 
void glColor3b (final byte r, final byte g, final byte b)
 
void glColor3ub (final byte r, final byte g, final byte b)
 
void glColor4b (final byte r, final byte g, final byte b, final byte a)
 
void glColor4ub (final byte r, final byte g, final byte b, final byte a)
 
void glColor3s (final short r, final short g, final short b)
 
void glColor4s (final short r, final short g, final short b, final short a)
 
void glColor3f (final float r, final float g, final float b)
 
void glColor4f (final float r, final float g, final float b, final float a)
 
void glTexCoord2b (final byte x, final byte y)
 
void glTexCoord3b (final byte x, final byte y, final byte z)
 
void glTexCoord2s (final short x, final short y)
 
void glTexCoord3s (final short x, final short y, final short z)
 
void glTexCoord2f (final float x, final float y)
 
void glTexCoord3f (final float x, final float y, final float z)
 
void rewind ()
 
void setShaderProgram (final int program)
 
void destroy (final GL gl)
 
void reset (final GL gl)
 
void reset ()
 
void seal (final GL glObj, final boolean seal)
 
void seal (final boolean seal)
 
void enableBuffer (final GL gl, final boolean enable)
 
String toString ()
 

Protected Member Functions

 VBOSet (final int initialElementCount, final int vComps, final int vDataType, final int cComps, final int cDataType, final int nComps, final int nDataType, final int tComps, final int tDataType, final boolean useGLSL, final int glBufferUsage, final ShaderState st, final int shaderProgram)
 
int getResizeElementCount ()
 
void setResizeElementCount (final int v)
 
boolean getUseVBO ()
 
final VBOSet regenerate (final GL gl)
 
void checkSeal (final boolean test) throws GLException
 
void useShaderProgram (final GL2ES2 gl, final boolean force)
 
void draw (final GL gl, final Buffer indices, final boolean disableBufferAfterDraw, final int i)
 
String getElemUseCountStr ()
 
boolean fitElementInBuffer (final int type)
 
boolean reallocateBuffer (final int addElems)
 
final boolean growBuffer (final int type)
 grow buffer by initialElementCount if there is no space for one more element in the designated buffer More...
 

Detailed Description

Definition at line 407 of file ImmModeSink.java.

Constructor & Destructor Documentation

◆ VBOSet()

com.jogamp.opengl.util.ImmModeSink.VBOSet.VBOSet ( final int  initialElementCount,
final int  vComps,
final int  vDataType,
final int  cComps,
final int  cDataType,
final int  nComps,
final int  nDataType,
final int  tComps,
final int  tDataType,
final boolean  useGLSL,
final int  glBufferUsage,
final ShaderState  st,
final int  shaderProgram 
)
protected

Definition at line 408 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ checkSeal()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.checkSeal ( final boolean  test) throws GLException
protected

Definition at line 480 of file ImmModeSink.java.

Here is the caller graph for this function:

◆ destroy()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.destroy ( final GL  gl)

Definition at line 908 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.draw ( final GL  gl,
final Buffer  indices,
final boolean  disableBufferAfterDraw,
final int  i 
)
protected

Definition at line 506 of file ImmModeSink.java.

Here is the call graph for this function:

◆ enableBuffer()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.enableBuffer ( final GL  gl,
final boolean  enable 
)

Definition at line 982 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fitElementInBuffer()

boolean com.jogamp.opengl.util.ImmModeSink.VBOSet.fitElementInBuffer ( final int  type)
protected

Definition at line 1272 of file ImmModeSink.java.

Here is the caller graph for this function:

◆ getElemUseCountStr()

String com.jogamp.opengl.util.ImmModeSink.VBOSet.getElemUseCountStr ( )
protected

Definition at line 1268 of file ImmModeSink.java.

Here is the caller graph for this function:

◆ getResizeElementCount()

int com.jogamp.opengl.util.ImmModeSink.VBOSet.getResizeElementCount ( )
protected

Definition at line 469 of file ImmModeSink.java.

Here is the caller graph for this function:

◆ getUseVBO()

boolean com.jogamp.opengl.util.ImmModeSink.VBOSet.getUseVBO ( )
protected

Definition at line 472 of file ImmModeSink.java.

Here is the caller graph for this function:

◆ glColor3b()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glColor3b ( final byte  r,
final byte  g,
final byte  b 
)

Definition at line 690 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glColor3f()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glColor3f ( final float  r,
final float  g,
final float  b 
)

Definition at line 762 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glColor3s()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glColor3s ( final short  r,
final short  g,
final short  b 
)

Definition at line 738 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glColor3ub()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glColor3ub ( final byte  r,
final byte  g,
final byte  b 
)

Definition at line 701 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glColor4b()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glColor4b ( final byte  r,
final byte  g,
final byte  b,
final byte  a 
)

Definition at line 712 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glColor4f()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glColor4f ( final float  r,
final float  g,
final float  b,
final float  a 
)

Definition at line 773 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glColor4s()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glColor4s ( final short  r,
final short  g,
final short  b,
final short  a 
)

Definition at line 749 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glColor4ub()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glColor4ub ( final byte  r,
final byte  g,
final byte  b,
final byte  a 
)

Definition at line 725 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glColorv()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glColorv ( final Buffer  v)

Definition at line 586 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glNormal3b()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glNormal3b ( final byte  x,
final byte  y,
final byte  z 
)

Definition at line 656 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glNormal3f()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glNormal3f ( final float  x,
final float  y,
final float  z 
)

Definition at line 678 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glNormal3s()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glNormal3s ( final short  x,
final short  y,
final short  z 
)

Definition at line 667 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glNormalv()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glNormalv ( final Buffer  v)

Definition at line 582 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glTexCoord2b()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glTexCoord2b ( final byte  x,
final byte  y 
)

Definition at line 787 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glTexCoord2f()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glTexCoord2f ( final float  x,
final float  y 
)

Definition at line 827 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glTexCoord2s()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glTexCoord2s ( final short  x,
final short  y 
)

Definition at line 807 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glTexCoord3b()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glTexCoord3b ( final byte  x,
final byte  y,
final byte  z 
)

Definition at line 796 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glTexCoord3f()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glTexCoord3f ( final float  x,
final float  y,
final float  z 
)

Definition at line 836 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glTexCoord3s()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glTexCoord3s ( final short  x,
final short  y,
final short  z 
)

Definition at line 816 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glTexCoordv()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glTexCoordv ( final Buffer  v)

Definition at line 590 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glVertex2b()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glVertex2b ( final byte  x,
final byte  y 
)

Definition at line 595 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glVertex2f()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glVertex2f ( final float  x,
final float  y 
)

Definition at line 635 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glVertex2s()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glVertex2s ( final short  x,
final short  y 
)

Definition at line 615 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glVertex3b()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glVertex3b ( final byte  x,
final byte  y,
final byte  z 
)

Definition at line 604 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glVertex3f()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glVertex3f ( final float  x,
final float  y,
final float  z 
)

Definition at line 644 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glVertex3s()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glVertex3s ( final short  x,
final short  y,
final short  z 
)

Definition at line 624 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glVertexv()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.glVertexv ( final Buffer  v)

Definition at line 578 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ growBuffer()

final boolean com.jogamp.opengl.util.ImmModeSink.VBOSet.growBuffer ( final int  type)
protected

grow buffer by initialElementCount if there is no space for one more element in the designated buffer

Definition at line 1386 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reallocateBuffer()

boolean com.jogamp.opengl.util.ImmModeSink.VBOSet.reallocateBuffer ( final int  addElems)
protected

Definition at line 1288 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ regenerate()

final VBOSet com.jogamp.opengl.util.ImmModeSink.VBOSet.regenerate ( final GL  gl)
protected

Definition at line 474 of file ImmModeSink.java.

Here is the call graph for this function:

◆ reset() [1/2]

void com.jogamp.opengl.util.ImmModeSink.VBOSet.reset ( )

Definition at line 922 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reset() [2/2]

void com.jogamp.opengl.util.ImmModeSink.VBOSet.reset ( final GL  gl)

Definition at line 917 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rewind()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.rewind ( )

Definition at line 848 of file ImmModeSink.java.

Here is the caller graph for this function:

◆ seal() [1/2]

void com.jogamp.opengl.util.ImmModeSink.VBOSet.seal ( final boolean  seal)

Definition at line 972 of file ImmModeSink.java.

Here is the call graph for this function:

◆ seal() [2/2]

void com.jogamp.opengl.util.ImmModeSink.VBOSet.seal ( final GL  glObj,
final boolean  seal 
)

Definition at line 940 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setResizeElementCount()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.setResizeElementCount ( final int  v)
protected

Definition at line 470 of file ImmModeSink.java.

Here is the caller graph for this function:

◆ setShaderProgram()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.setShaderProgram ( final int  program)

Definition at line 863 of file ImmModeSink.java.

◆ toString()

String com.jogamp.opengl.util.ImmModeSink.VBOSet.toString ( )

Definition at line 1243 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ useShaderProgram()

void com.jogamp.opengl.util.ImmModeSink.VBOSet.useShaderProgram ( final GL2ES2  gl,
final boolean  force 
)
protected

Definition at line 495 of file ImmModeSink.java.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: