Table of Contents

Class MeshConfiguration

Namespace
Bonsai.Shaders.Configuration
Assembly
Bonsai.Shaders.dll

Provides configuration and loading functionality for mesh resources.

public class MeshConfiguration : ResourceConfiguration<Mesh>, IResourceConfiguration
Inheritance
MeshConfiguration
Implements
Derived
Inherited Members

Methods

CreateResource(ResourceManager)

Creates a new empty mesh resource, typically used for uploading dynamic geometry data.

public override Mesh 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

Mesh

A new instance of the Mesh class.