Class RenderCubemap
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.
public RenderCubemap()
Properties
ClearColor
Gets or sets the color used to clear the framebuffer before rendering.
public Color ClearColor { get; set; }
Property Value
ClearColorHtml
Gets or sets an XML representation of the clear color for serialization.
[Browsable(false)]
public string ClearColorHtml { get; set; }
Property Value
ClearMask
Gets or sets a value specifying which buffers to clear before rendering.
public ClearBufferMask ClearMask { get; set; }
Property Value
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.
public int? FaceSize { get; set; }
Property Value
- int?
InternalFormat
Gets or sets a value specifying the internal pixel format of the cubemap.
public PixelInternalFormat InternalFormat { get; set; }
Property Value
MagFilter
Gets or sets a value specifying the texture magnification filter.
public TextureMagFilter MagFilter { get; set; }
Property Value
MinFilter
Gets or sets a value specifying the texture minification filter.
public TextureMinFilter MinFilter { get; set; }
Property Value
RenderState
Gets the collection of configuration objects specifying the render states to be set when rendering the cubemap.
public StateConfigurationCollection RenderState { get; }
Property Value
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.
public override IObservable<Texture> Process<TSource>(IObservable<TSource> source)
Parameters
source
IObservable<TSource>The sequence of notifications used to render each of the cubemap faces.
Returns
- IObservable<Texture>
A sequence returning the Texture object representing the cubemap texture, whenever all six faces of the cubemap have been updated.
Type Parameters
TSource
The type of the elements in the
source
sequence.