Table of Contents

Class RenderTexture

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that renders all currently stored draw commands to a texture.

public class RenderTexture : Combinator<Texture>
Inheritance
RenderTexture
Inherited Members

Constructors

RenderTexture()

Initializes a new instance of the RenderTexture class.

Properties

ClearColor

Gets or sets the color used to clear the framebuffer before rendering.

ClearColorHtml

Gets or sets an XML representation of the clear color for serialization.

ClearMask

Gets or sets a value specifying which buffers to clear before rendering.

Height

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

InternalFormat

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

MagFilter

Gets or sets a value specifying the texture magnification filter.

MinFilter

Gets or sets a value specifying the texture minification filter.

RenderState

Gets the collection of configuration objects specifying the render states to be set when rendering the texture.

Width

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

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

Process<TSource>(IObservable<TSource>)

Renders all currently stored draw commands to a texture whenever an observable sequence emits a notification.