|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.util.BufferFactory
gov.nasa.worldwind.util.BufferFactory.DoubleBufferFactory
public static class BufferFactory.DoubleBufferFactory
Implementation of BufferFactory which constructs instances of BufferWrapper.DoubleBufferWrapper
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class gov.nasa.worldwind.util.BufferFactory |
|---|
BufferFactory.ByteBufferFactory, BufferFactory.DoubleBufferFactory, BufferFactory.FloatBufferFactory, BufferFactory.IntBufferFactory, BufferFactory.ShortBufferFactory |
| Constructor Summary | |
|---|---|
BufferFactory.DoubleBufferFactory()
Constructs a new DoubleBufferFactory with the default buffer allocation policy. |
|
BufferFactory.DoubleBufferFactory(boolean allocateDirect)
Constructs a new DoubleBufferFactory with the specified buffer allocation policy. |
|
| Method Summary | |
|---|---|
BufferWrapper |
newBuffer(int size)
Constructs a new DoubleBufferWrapper of the specified size, backed by a DoubleBuffer. |
| Methods inherited from class gov.nasa.worldwind.util.BufferFactory |
|---|
isAllocateDirect |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BufferFactory.DoubleBufferFactory()
public BufferFactory.DoubleBufferFactory(boolean allocateDirect)
allocateDirect - true to allocate and return DoubleBufferWrappers backed by direct buffers, false to
allocate and return DoubleBufferWrappers backed by non-direct buffers.| Method Detail |
|---|
public BufferWrapper newBuffer(int size)
DoubleBuffer.
newBuffer in class BufferFactorysize - the new buffer's size, int doubles.
java.lang.IllegalArgumentException - if size is negative.
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||