Top Description Inners Fields Constructors Methods
org.lwjgl.fmod

public Class FMOD_DSP_PARAMETER_DESC

extends Struct<FMOD_DSP_PARAMETER_DESC>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Layout


struct FMOD_DSP_PARAMETER_DESC {
    FMOD_DSP_PARAMETER_TYPE type;
    char name[16];
    char label[16];
    char const * description;
    union {
        FMOD_DSP_PARAMETER_DESC_FLOAT floatdesc;
        FMOD_DSP_PARAMETER_DESC_INT intdesc;
        FMOD_DSP_PARAMETER_DESC_BOOL booldesc;
        FMOD_DSP_PARAMETER_DESC_DATA datadesc;
    };
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
BOOLDESC

The struct member offsets.

public static final int
DATADESC

The struct member offsets.

public static final int
DESCRIPTION

The struct member offsets.

public static final int
FLOATDESC

The struct member offsets.

public static final int
INTDESC

The struct member offsets.

public static final int
LABEL

The struct member offsets.

public static final int
NAME

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
TYPE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
FMOD_DSP_PARAMETER_DESC(long address, ByteBuffer container)

public
FMOD_DSP_PARAMETER_DESC(ByteBuffer container)

Creates a FMOD_DSP_PARAMETER_DESC instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public FMOD_DSP_PARAMETER_DESC_BOOL

Returns:

a FMOD_DSP_PARAMETER_DESC_BOOL view of the booldesc field.
booldesc
()

public FMOD_DSP_PARAMETER_DESC
booldesc(FMOD_DSP_PARAMETER_DESC_BOOL value)

Copies the specified FMOD_DSP_PARAMETER_DESC_BOOL to the booldesc field.

public FMOD_DSP_PARAMETER_DESC
booldesc(Consumer<FMOD_DSP_PARAMETER_DESC_BOOL> consumer)

Passes the booldesc field to the specified Consumer.

public static FMOD_DSP_PARAMETER_DESC
calloc()

Returns a new FMOD_DSP_PARAMETER_DESC instance allocated with memCalloc.

public static FMOD_DSP_PARAMETER_DESC.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new FMOD_DSP_PARAMETER_DESC.Buffer instance allocated with memCalloc.

public static FMOD_DSP_PARAMETER_DESC
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new FMOD_DSP_PARAMETER_DESC instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static FMOD_DSP_PARAMETER_DESC.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new FMOD_DSP_PARAMETER_DESC.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

protected FMOD_DSP_PARAMETER_DESC
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static FMOD_DSP_PARAMETER_DESC
create()

Returns a new FMOD_DSP_PARAMETER_DESC instance allocated with BufferUtils.

public static FMOD_DSP_PARAMETER_DESC
create(long address)

Returns a new FMOD_DSP_PARAMETER_DESC instance for the specified memory address.

public static FMOD_DSP_PARAMETER_DESC.Buffer
create(int
the buffer capacity
capacity
)

Returns a new FMOD_DSP_PARAMETER_DESC.Buffer instance allocated with BufferUtils.

public static FMOD_DSP_PARAMETER_DESC.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a FMOD_DSP_PARAMETER_DESC.Buffer instance at the specified memory.

public static FMOD_DSP_PARAMETER_DESC
createSafe(long address)

Like create, but returns null if address is NULL.

public static FMOD_DSP_PARAMETER_DESC.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public FMOD_DSP_PARAMETER_DESC_DATA

Returns:

a FMOD_DSP_PARAMETER_DESC_DATA view of the datadesc field.
datadesc
()

public FMOD_DSP_PARAMETER_DESC
datadesc(FMOD_DSP_PARAMETER_DESC_DATA value)

Copies the specified FMOD_DSP_PARAMETER_DESC_DATA to the datadesc field.

public FMOD_DSP_PARAMETER_DESC
datadesc(Consumer<FMOD_DSP_PARAMETER_DESC_DATA> consumer)

Passes the datadesc field to the specified Consumer.

public ByteBuffer

Returns:

a ByteBuffer view of the null-terminated string pointed to by the description field.
description
()

public FMOD_DSP_PARAMETER_DESC
description(ByteBuffer value)

Sets the address of the specified encoded string to the description field.

public String

Returns:

the null-terminated string pointed to by the description field.
descriptionString
()

public FMOD_DSP_PARAMETER_DESC_FLOAT

Returns:

a FMOD_DSP_PARAMETER_DESC_FLOAT view of the floatdesc field.
floatdesc
()

public FMOD_DSP_PARAMETER_DESC
floatdesc(FMOD_DSP_PARAMETER_DESC_FLOAT value)

Copies the specified FMOD_DSP_PARAMETER_DESC_FLOAT to the floatdesc field.

public FMOD_DSP_PARAMETER_DESC
floatdesc(Consumer<FMOD_DSP_PARAMETER_DESC_FLOAT> consumer)

Passes the floatdesc field to the specified Consumer.

public FMOD_DSP_PARAMETER_DESC_INT

Returns:

a FMOD_DSP_PARAMETER_DESC_INT view of the intdesc field.
intdesc
()

public FMOD_DSP_PARAMETER_DESC
intdesc(FMOD_DSP_PARAMETER_DESC_INT value)

Copies the specified FMOD_DSP_PARAMETER_DESC_INT to the intdesc field.

public FMOD_DSP_PARAMETER_DESC
intdesc(Consumer<FMOD_DSP_PARAMETER_DESC_INT> consumer)

Passes the intdesc field to the specified Consumer.

public ByteBuffer

Returns:

a ByteBuffer view of the label field.
label
()

public byte

Returns:

the value at the specified index of the label field.
label
(int index)

public FMOD_DSP_PARAMETER_DESC
label(ByteBuffer value)

Copies the specified ByteBuffer to the label field.

public FMOD_DSP_PARAMETER_DESC
label(int index, byte value)

Sets the specified value at the specified index of the label field.

public static FMOD_DSP_PARAMETER_DESC
malloc()

Returns a new FMOD_DSP_PARAMETER_DESC instance allocated with memAlloc.

public static FMOD_DSP_PARAMETER_DESC.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new FMOD_DSP_PARAMETER_DESC.Buffer instance allocated with memAlloc.

public static FMOD_DSP_PARAMETER_DESC
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new FMOD_DSP_PARAMETER_DESC instance allocated on the specified MemoryStack.

public static FMOD_DSP_PARAMETER_DESC.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new FMOD_DSP_PARAMETER_DESC.Buffer instance allocated on the specified MemoryStack.

public ByteBuffer

Returns:

a ByteBuffer view of the name field.
name
()

public byte

Returns:

the value at the specified index of the name field.
name
(int index)

public FMOD_DSP_PARAMETER_DESC
name(ByteBuffer value)

Copies the specified ByteBuffer to the name field.

public FMOD_DSP_PARAMETER_DESC
name(int index, byte value)

Sets the specified value at the specified index of the name field.

public static FMOD_DSP_PARAMETER_DESC_BOOL
nbooldesc(long struct)

Unsafe version of booldesc.

public static void
nbooldesc(long struct, FMOD_DSP_PARAMETER_DESC_BOOL value)

Unsafe version of booldesc.

public static FMOD_DSP_PARAMETER_DESC_DATA
ndatadesc(long struct)

Unsafe version of datadesc.

public static void
ndatadesc(long struct, FMOD_DSP_PARAMETER_DESC_DATA value)

Unsafe version of datadesc.

public static ByteBuffer
ndescription(long struct)

Unsafe version of description.

public static void
ndescription(long struct, ByteBuffer value)

Unsafe version of description.

public static String
ndescriptionString(long struct)

Unsafe version of descriptionString.

public static FMOD_DSP_PARAMETER_DESC_FLOAT
nfloatdesc(long struct)

Unsafe version of floatdesc.

public static void
nfloatdesc(long struct, FMOD_DSP_PARAMETER_DESC_FLOAT value)

Unsafe version of floatdesc.

public static FMOD_DSP_PARAMETER_DESC_INT
nintdesc(long struct)

Unsafe version of intdesc.

public static void
nintdesc(long struct, FMOD_DSP_PARAMETER_DESC_INT value)

Unsafe version of intdesc.

public static ByteBuffer
nlabel(long struct)

Unsafe version of label.

public static byte
nlabel(long struct, int index)

Unsafe version of label.

public static void
nlabel(long struct, ByteBuffer value)

Unsafe version of label.

public static void
nlabel(long struct, int index, byte value)

Unsafe version of label.

public static ByteBuffer
nname(long struct)

Unsafe version of name.

public static byte
nname(long struct, int index)

Unsafe version of name.

public static void
nname(long struct, ByteBuffer value)

Unsafe version of name.

public static void
nname(long struct, int index, byte value)

Unsafe version of name.

public static int
ntype(long struct)

Unsafe version of type.

public static void
ntype(long struct, int value)

Unsafe version of type.

public FMOD_DSP_PARAMETER_DESC

Returns:

this struct
set
(FMOD_DSP_PARAMETER_DESC
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int

Returns:

the value of the type field.
type
()

public FMOD_DSP_PARAMETER_DESC
type(int value)

Sets the specified value to the type field.

public static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate