public class EXTStaticBuffer
extends java.lang.Object
AL_EXT_static_buffer extension.
This extension provides a means for the caller to avoid the overhead associated with the BufferData call which performs a physical copy of the
data provided by the caller to internal buffers. When using the AL_EXT_static_buffer extension, OpenAL's internal buffers use the data pointer provided by
the caller for all data access.
| Modifier and Type | Method and Description |
|---|---|
static void |
alBufferDataStatic(int buffer,
int format,
java.nio.ByteBuffer data,
int freq)
Sets the sample data of the specified buffer.
|
static void |
alBufferDataStatic(int buffer,
int format,
float[] data,
int freq)
Array version of:
BufferDataStatic |
static void |
alBufferDataStatic(int buffer,
int format,
java.nio.FloatBuffer data,
int freq)
Sets the sample data of the specified buffer.
|
static void |
alBufferDataStatic(int buffer,
int format,
int[] data,
int freq)
Array version of:
BufferDataStatic |
static void |
alBufferDataStatic(int buffer,
int format,
java.nio.IntBuffer data,
int freq)
Sets the sample data of the specified buffer.
|
static void |
alBufferDataStatic(int buffer,
int format,
short[] data,
int freq)
Array version of:
BufferDataStatic |
static void |
alBufferDataStatic(int buffer,
int format,
java.nio.ShortBuffer data,
int freq)
Sets the sample data of the specified buffer.
|
static void |
nalBufferDataStatic(int buffer,
int format,
long data,
int len,
int freq)
Unsafe version of:
BufferDataStatic |
public static void nalBufferDataStatic(int buffer,
int format,
long data,
int len,
int freq)
BufferDataStaticlen - the data buffer size, in bytespublic static void alBufferDataStatic(int buffer,
int format,
java.nio.ByteBuffer data,
int freq)
buffer - the buffer handleformat - the data formatdata - the sample datafreq - the data frequencypublic static void alBufferDataStatic(int buffer,
int format,
java.nio.ShortBuffer data,
int freq)
buffer - the buffer handleformat - the data formatdata - the sample datafreq - the data frequencypublic static void alBufferDataStatic(int buffer,
int format,
java.nio.IntBuffer data,
int freq)
buffer - the buffer handleformat - the data formatdata - the sample datafreq - the data frequencypublic static void alBufferDataStatic(int buffer,
int format,
java.nio.FloatBuffer data,
int freq)
buffer - the buffer handleformat - the data formatdata - the sample datafreq - the data frequencypublic static void alBufferDataStatic(int buffer,
int format,
short[] data,
int freq)
BufferDataStaticpublic static void alBufferDataStatic(int buffer,
int format,
int[] data,
int freq)
BufferDataStaticpublic static void alBufferDataStatic(int buffer,
int format,
float[] data,
int freq)
BufferDataStaticCopyright LWJGL. All Rights Reserved. License terms.