Table of Contents

Class LoadImage

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that loads a texture buffer from the specified image file.

public class LoadImage : Source<Texture>
Inheritance
LoadImage
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.

Height

Gets or sets the height of the texture. If no value is specified, the texture buffer will not be initialized.

InternalFormat

Gets or sets a value specifying the internal pixel format of the texture.

MagFilter

Gets or sets a value specifying the texture magnification filter.

MinFilter

Gets or sets a value specifying the texture minification filter.

Width

Gets or sets the width of the texture. If no value is specified, the texture buffer will not be initialized.

WrapS

Gets or sets a value specifying wrapping parameters for the column coordinates of the texture sampler.

WrapT

Gets or sets a value specifying wrapping parameters for the row coordinates of the texture sampler.

Methods

Generate()

Generates an observable sequence that returns a texture buffer loaded from the specified image file.

Generate<TSource>(IObservable<TSource>)

Returns a texture buffer loaded from the specified image file whenever an observable sequence emits a notification.