Table of Contents

Class BufferConfiguration

Namespace
Bonsai.Audio.Configuration
Assembly
Bonsai.Audio.dll

Provides configuration and loading functionality for audio buffer resources.

public class BufferConfiguration : ResourceConfiguration<Buffer>, IResourceConfiguration
Inheritance
BufferConfiguration
Implements
Derived
Inherited Members

Methods

CreateResource(ResourceManager)

Creates a new empty audio buffer resource, typically used for uploading dynamic data.

public override Buffer CreateResource(ResourceManager resourceManager)

Parameters

resourceManager ResourceManager

The ResourceManager object onto which this resource will be loaded. The resource manager can be accessed to load additional resource dependencies which may be required to create the new resource.

Returns

Buffer

A new instance of the Buffer class.