C# Class Sharpex2D.Audio.OpenAL.OpenALContext

Show file Open project: ThuCommix/Sharpex2D Class Usage Examples

Public Methods

Method Description
CreateContext ( IntPtr openALDeviceHandle ) : OpenALContext

Creates a new OpenALContext on the specified OpenALDevice.

Destroy ( ) : void

Destroys the Context.

MakeCurrent ( ) : void

Makes the context the current Context.

Private Methods

Method Description
OpenALContext ( IntPtr contextHandle ) : System

Creates a new OpenALContext class.

Method Details

CreateContext() public static method

Creates a new OpenALContext on the specified OpenALDevice.
public static CreateContext ( IntPtr openALDeviceHandle ) : OpenALContext
openALDeviceHandle System.IntPtr The OpenALDevice.
return OpenALContext

Destroy() public method

Destroys the Context.
public Destroy ( ) : void
return void

MakeCurrent() public method

Makes the context the current Context.
public MakeCurrent ( ) : void
return void