Table of Contents

Class ImageTexture

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

Provides configuration and loading functionality for initializing a two-dimensional texture resource from the specified image file.

public class ImageTexture : Texture2D, IResourceConfiguration
Inheritance
ImageTexture
Implements
Inherited Members

Properties

ColorType

Gets or sets a value specifying the color type of the loaded image.

FileName

Gets or sets the name of the image file.

FlipMode

Gets or sets a value specifying the flip mode applied to the loaded image.

Methods

CreateResource(ResourceManager)

Creates a new two-dimensional texture resource from the specified image file.

ToString()

Returns a string that represents the current object.