JOAL v2.6.0-rc-20250706
JOAL, OpenAL® API Binding for Java™ (public API).
com.jogamp.openal.ALCcontext Class Reference
Collaboration diagram for com.jogamp.openal.ALCcontext:

Public Member Functions

final java.nio.ByteBuffer getBuffer ()
 Return the underlying native direct ByteBuffer. More...
 
final long getDirectBufferAddress ()
 Returns the native address of the underlying native ByteBuffer getBuffer(). More...
 

Static Public Member Functions

static boolean usesNativeCode ()
 Returns true if this generated implementation uses native code, otherwise false. More...
 
static int size ()
 Returns the aligned total size of a native instance. More...
 
static ALCcontext create ()
 Returns a new instance with all bytes set to zero. More...
 
static ALCcontext create (java.nio.ByteBuffer buf)
 Returns a new instance using the given ByteBuffer having at least {#link size()} bytes capacity. More...
 
static ALCcontext derefPointer (final long addr)
 Returns new instance dereferencing ByteBuffer at given native address addr with size size(). More...
 

Detailed Description

Definition at line 17 of file ALCcontext.java.

Member Function Documentation

◆ create() [1/2]

static ALCcontext com.jogamp.openal.ALCcontext.create ( )
static

Returns a new instance with all bytes set to zero.

Definition at line 37 of file ALCcontext.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ create() [2/2]

static ALCcontext com.jogamp.openal.ALCcontext.create ( java.nio.ByteBuffer  buf)
static

Returns a new instance using the given ByteBuffer having at least {#link size()} bytes capacity.

The ByteBuffer will be ByteBuffer#rewind() and native-order set.

Definition at line 42 of file ALCcontext.java.

◆ derefPointer()

static ALCcontext com.jogamp.openal.ALCcontext.derefPointer ( final long  addr)
static

Returns new instance dereferencing ByteBuffer at given native address addr with size size().

Definition at line 47 of file ALCcontext.java.

Here is the call graph for this function:

◆ getBuffer()

final java.nio.ByteBuffer com.jogamp.openal.ALCcontext.getBuffer ( )

Return the underlying native direct ByteBuffer.

Definition at line 57 of file ALCcontext.java.

◆ getDirectBufferAddress()

final long com.jogamp.openal.ALCcontext.getDirectBufferAddress ( )

Returns the native address of the underlying native ByteBuffer getBuffer().

Definition at line 62 of file ALCcontext.java.

Here is the caller graph for this function:

◆ size()

static int com.jogamp.openal.ALCcontext.size ( )
static

Returns the aligned total size of a native instance.

Definition at line 32 of file ALCcontext.java.

Here is the caller graph for this function:

◆ usesNativeCode()

static boolean com.jogamp.openal.ALCcontext.usesNativeCode ( )
static

Returns true if this generated implementation uses native code, otherwise false.

Definition at line 27 of file ALCcontext.java.


The documentation for this class was generated from the following file: