public class NoiseBuffer extends BufferFactory
Buffer
of random floats.DEFAULT_BUFFER_SIZE
Constructor and Description |
---|
NoiseBuffer() |
Modifier and Type | Method and Description |
---|---|
Buffer |
generateBuffer(int bufferSize)
Subclasses should override this method to generate a
Buffer of the specified size. |
java.lang.String |
getName()
Subclasses should override this method to generate a name.
|
getDefault
public Buffer generateBuffer(int bufferSize)
BufferFactory
Buffer
of the specified size.generateBuffer
in class BufferFactory
bufferSize
- the buffer size.public java.lang.String getName()
BufferFactory
BufferFactory.getDefault()
is called.getName
in class BufferFactory