Table of Contents

Class RenderCubemap

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that renders all currently stored draw commands to one of the cubemap textures. Each pass renders one face of the cubemap in the order +X, -X, +Y, -Y, +Z, -Z.

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

Constructors

RenderCubemap()

Initializes a new instance of the RenderCubemap 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.

FaceSize

Gets or sets the texture size for each of the cubemap faces. If no value is specified, the size of the shader window in pixels is used.

InternalFormat

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

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 cubemap.

Methods

Process<TSource>(IObservable<TSource>)

Renders all currently stored draw commands to one of the cubemap textures whenever an observable sequence emits a notification. Each pass renders one face of the cubemap in the order +X, -X, +Y, -Y, +Z, -Z.