public abstract class NormalBufferPutter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
NormalBufferPutter.FloatNormalBufferPutter |
static class |
NormalBufferPutter.ShortNormalBufferPutter |
Modifier and Type | Method and Description |
---|---|
abstract int |
bytesPerNormal() |
static NormalBufferPutter |
getDefault() |
void |
putNormal(java.nio.ByteBuffer buff,
float[] nrm) |
void |
putNormal(java.nio.ByteBuffer buff,
float[] nrm,
int offset) |
abstract void |
putNormal(java.nio.ByteBuffer buff,
float nx,
float ny,
float nz) |
void |
putNormal(java.nio.ByteBuffer buff,
int location,
float[] pos) |
void |
putNormal(java.nio.ByteBuffer buff,
int location,
float[] pos,
int offset) |
void |
putNormals(java.nio.ByteBuffer buff,
float[] nrms) |
void |
putNormals(java.nio.ByteBuffer buff,
float[] nrms,
int offset,
int stride,
int count) |
void |
putNormals(java.nio.ByteBuffer buff,
int location,
float[] pos) |
void |
putNormals(java.nio.ByteBuffer buff,
int location,
float[] pos,
int offset,
int stride,
int count) |
void |
putNormals(java.nio.ByteBuffer buff,
int location,
int bstride,
float[] pos,
int offset,
int pstride,
int count) |
void |
putNormals(java.nio.ByteBuffer buff,
int location,
java.lang.Iterable<float[]> positions) |
void |
putNormals(java.nio.ByteBuffer buff,
java.lang.Iterable<float[]> normals) |
abstract GL3AttributeStorage |
storage() |
public abstract void putNormal(java.nio.ByteBuffer buff, float nx, float ny, float nz)
public abstract int bytesPerNormal()
public abstract GL3AttributeStorage storage()
public void putNormal(java.nio.ByteBuffer buff, float[] nrm)
public void putNormal(java.nio.ByteBuffer buff, float[] nrm, int offset)
public void putNormals(java.nio.ByteBuffer buff, float[] nrms)
public void putNormals(java.nio.ByteBuffer buff, float[] nrms, int offset, int stride, int count)
public void putNormals(java.nio.ByteBuffer buff, java.lang.Iterable<float[]> normals)
public void putNormal(java.nio.ByteBuffer buff, int location, float[] pos)
public void putNormal(java.nio.ByteBuffer buff, int location, float[] pos, int offset)
public void putNormals(java.nio.ByteBuffer buff, int location, float[] pos)
public void putNormals(java.nio.ByteBuffer buff, int location, float[] pos, int offset, int stride, int count)
public void putNormals(java.nio.ByteBuffer buff, int location, int bstride, float[] pos, int offset, int pstride, int count)
public void putNormals(java.nio.ByteBuffer buff, int location, java.lang.Iterable<float[]> positions)
public static NormalBufferPutter getDefault()