Code example for FloatBuffer

Methods: asReadOnlyBuffer

0
	public int getTriangleCount() { 
		return triangleCount;
	} 
 
	public FloatBuffer getVertices() {
		return vertices.asReadOnlyBuffer();
	} 
 
	public FloatBuffer getNormals() {
		return normals.asReadOnlyBuffer();
	} 
 
	public FloatBuffer getColors() {
		return colors.asReadOnlyBuffer();
	} 
} 
Connect your IDE to all the code out there  Get Codota for Java