public abstract class ColorBufferPutter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ColorBufferPutter.ByteColorBufferPutter |
Modifier and Type | Method and Description |
---|---|
abstract int |
bytesPerColor() |
static ColorBufferPutter |
getDefault() |
void |
putColor(java.nio.ByteBuffer buff,
byte[] color) |
void |
putColor(java.nio.ByteBuffer buff,
byte[] color,
int offset) |
abstract void |
putColor(java.nio.ByteBuffer buff,
byte r,
byte g,
byte b,
byte a) |
void |
putColor(java.nio.ByteBuffer buff,
float[] color,
int offset) |
void |
putColor(java.nio.ByteBuffer buff,
int location,
byte[] color) |
void |
putColor(java.nio.ByteBuffer buff,
int location,
byte[] color,
int offset) |
void |
putColors(java.nio.ByteBuffer buff,
byte[] colors) |
void |
putColors(java.nio.ByteBuffer buff,
byte[] colors,
int offset,
int stride,
int count) |
void |
putColors(java.nio.ByteBuffer buff,
int location,
byte[] colors) |
void |
putColors(java.nio.ByteBuffer buff,
int location,
byte[] colors,
int offset,
int stride,
int count) |
void |
putColors(java.nio.ByteBuffer buff,
int location,
int bstride,
byte[] colors,
int offset,
int pstride,
int count) |
void |
putColors(java.nio.ByteBuffer buff,
int location,
java.lang.Iterable<byte[]> colors) |
void |
putColors(java.nio.ByteBuffer buff,
java.lang.Iterable<byte[]> colors) |
abstract GL3AttributeStorage |
storage() |
public abstract void putColor(java.nio.ByteBuffer buff, byte r, byte g, byte b, byte a)
public abstract int bytesPerColor()
public abstract GL3AttributeStorage storage()
public void putColor(java.nio.ByteBuffer buff, byte[] color)
public void putColor(java.nio.ByteBuffer buff, byte[] color, int offset)
public void putColor(java.nio.ByteBuffer buff, float[] color, int offset)
public void putColors(java.nio.ByteBuffer buff, byte[] colors)
public void putColors(java.nio.ByteBuffer buff, byte[] colors, int offset, int stride, int count)
public void putColors(java.nio.ByteBuffer buff, java.lang.Iterable<byte[]> colors)
public void putColor(java.nio.ByteBuffer buff, int location, byte[] color)
public void putColor(java.nio.ByteBuffer buff, int location, byte[] color, int offset)
public void putColors(java.nio.ByteBuffer buff, int location, byte[] colors)
public void putColors(java.nio.ByteBuffer buff, int location, byte[] colors, int offset, int stride, int count)
public void putColors(java.nio.ByteBuffer buff, int location, int bstride, byte[] colors, int offset, int pstride, int count)
public void putColors(java.nio.ByteBuffer buff, int location, java.lang.Iterable<byte[]> colors)
public static ColorBufferPutter getDefault()