Table of Contents

Class UpdateTexture

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that updates the pixel store of the specified texture target from a sequence of images.

public class UpdateTexture : Sink<IplImage>
Inheritance
UpdateTexture
Inherited Members

Properties

InternalFormat

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

public PixelInternalFormat InternalFormat { get; set; }

Property Value

PixelInternalFormat

TextureName

Gets or sets the name of the texture to update.

[TypeConverter(typeof(TextureNameConverter))]
public string TextureName { get; set; }

Property Value

string

TextureTarget

Gets or sets a value specifying the texture target to update.

public TextureTarget TextureTarget { get; set; }

Property Value

TextureTarget

Methods

Process(IObservable<IplImage>)

Updates the pixel store of the specified texture target from an observable sequence of images.

public override IObservable<IplImage> Process(IObservable<IplImage> source)

Parameters

source IObservable<IplImage>

The sequence of images used to update the texture target.

Returns

IObservable<IplImage>

An observable sequence that is identical to the source sequence but where there is an additional side effect of updating the pixel store of the specified texture target.