AL.GenSource Method

Definition

Overloads

GenSource()

This function generates one source only. References to sources are int values, which are used wherever a source reference is needed (in calls such as AL.DeleteSources and AL.Source with parameter ALSourcei).

GenSource(UInt32)

This function generates one source only. References to sources are uint values, which are used wherever a source reference is needed (in calls such as AL.DeleteSources and AL.Source with parameter ALSourcei).

GenSource()

This function generates one source only. References to sources are int values, which are used wherever a source reference is needed (in calls such as AL.DeleteSources and AL.Source with parameter ALSourcei).

public static int GenSource ();
static member GenSource : unit -> int

Returns

Pointer to an int value which will store the name of the new source.

Applies to

GenSource(UInt32)

Important

This API is not CLS-compliant.

This function generates one source only. References to sources are uint values, which are used wherever a source reference is needed (in calls such as AL.DeleteSources and AL.Source with parameter ALSourcei).

[System.CLSCompliant(false)]
public static void GenSource (out uint source);
static member GenSource :  -> unit

Parameters

source
UInt32

Pointer to an uint value which will store the name of the new source.

Attributes

Applies to