AL.GetEnumValue(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.