29package com.jogamp.opengl;
31import java.nio.Buffer;
33import com.jogamp.opengl.fixedfunc.GLPointerFunc;
The total number of bytes hold by the referenced buffer is: getComponentSize()* getComponentNumber() ...
int remainingElems()
The current number of remaining elements.
void setName(String newName)
Set a new name for this array.
boolean sealed()
Returns true if data has been sealed (flipped to read), otherwise false (writing mode).
int getVBOTarget()
The VBO target or 0 if not a VBO.
int getCompsPerElem()
The number of components per element.
int getIndex()
The index of the predefined array index, see list below, or -1 in case of a shader attribute array.
String elemStatsToString()
Returns a string with detailed buffer element stats, i.e.
String fillStatsToString()
Returns a string with detailed buffer fill stats.
long getVBOOffset()
The VBO buffer offset or 0 if not a VBO.
int getElemCapacity()
Return the element capacity.
boolean getNormalized()
True, if GL shall normalize fixed point data while converting them into float.
int setLocation(int v)
Sets the given location of the shader attribute.
boolean isVBO()
Determines whether the data is server side (VBO) and enabled, or a client side array (false).
int getVBOUsage()
The VBO usage or 0 if not a VBO.
String getName()
The name of the reflecting shader array attribute.
Buffer getBuffer()
The Buffer holding the data, may be null if a GPU buffer without client bound data.
int bytePosition()
Returns the bytes position.
boolean isVertexAttribute()
Returns true if this data set is intended for a GLSL vertex shader attribute, otherwise false,...
int getElemCount()
Returns the element position (written elements) if not sealed() or the element limit (available to re...
int elemPosition()
Returns the element position.
int getVBOName()
The VBO name or 0 if not a VBO.
int getBytesPerComp()
The component's size in bytes.
int setLocation(GL2ES2 gl, int program, int location)
Binds the location of the shader attribute to the given location for the unlinked shader program.
int getByteCapacity()
Return the capacity in bytes.
int remainingBytes()
The current number of remaining bytes.
void associate(Object obj, boolean enable)
Implementation and type dependent object association.
int setLocation(GL2ES2 gl, int program)
Retrieves the location of the shader attribute from the linked shader program.
int getCompType()
The component's GL data type, ie.
int getLocation()
Returns the shader attribute location for this name, -1 if not yet determined.
int getByteCount()
Returns the byte position (written elements) if not sealed() or the byte limit (available to read) af...