Table of Contents

Class TexturedQuad

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

Provides configuration and loading functionality for mesh resources using a simple textured quad geometry.

public class TexturedQuad : MeshConfiguration, IResourceConfiguration
Inheritance
TexturedQuad
Implements
Inherited Members

Properties

QuadEffects

Gets or sets a value specifying quad geometry transformation effects.

public QuadEffects QuadEffects { get; set; }

Property Value

QuadEffects

Methods

CreateResource(ResourceManager)

Creates a new mesh resource using a textured quad geometry.

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 storing textured quad geometry.