Table of Contents

Class LoadVideo

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that initializes a video texture which is dynamically updated from the specified movie file.

public class LoadVideo : Source<Texture>
Inheritance
LoadVideo
Inherited Members

Properties

BufferLength

Gets or sets the size of the pre-loading buffer for video frames.

FileName

Gets or sets the path to a movie file.

FlipMode

Gets or sets a value specifying the flip mode applied to individual frames.

FrameCount

Gets or sets the maximum number of frames to include in the video sequence.

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.

StartPosition

Gets or sets the offset, in frames, at which the video sequence should start.

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 video texture initialized from the specified movie file.

Generate<TSource>(IObservable<TSource>)

Returns a video texture initialized from the specified movie file whenever an observable sequence emits a notification.