AL.GetEnumValue(String) Method

Definition

This function returns the enumeration value of an OpenAL token, described by a string.

public static int GetEnumValue (string ename);
static member GetEnumValue : string -> int

Parameters

ename
String

A string describing an OpenAL token. Example "AL_DISTANCE_MODEL"

Returns

Returns the actual ALenum described by a string. Returns 0 if the string doesn’t describe a valid OpenAL token.

Applies to