Class RenderCubemapTarget
Represents an operator that renders all currently stored draw commands to a cubemap render target.
public class RenderCubemapTarget : Sink
- Inheritance
-
RenderCubemapTarget
- Inherited Members
Constructors
RenderCubemapTarget()
Initializes a new instance of the RenderCubemapTarget class.
public RenderCubemapTarget()
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
RenderState
Gets the collection of configuration objects specifying the render states to be set when rendering the cubemap.
public StateConfigurationCollection RenderState { get; }
Property Value
TextureName
Gets or sets the name of the cubemap texture to update.
[TypeConverter(typeof(TextureNameConverter))]
public string TextureName { get; set; }
Property Value
TextureTarget
Gets or sets a value specifying which cubemap texture target to update.
[TypeConverter(typeof(CubemapTargetConverter))]
public TextureTarget TextureTarget { get; set; }
Property Value
Methods
Process<TSource>(IObservable<TSource>)
Renders all currently stored draw commands to a cubemap render target whenever an observable sequence emits a notification.
public override IObservable<TSource> Process<TSource>(IObservable<TSource> source)
Parameters
source
IObservable<TSource>The sequence of notifications used to start rendering to the cubemap target.
Returns
- IObservable<TSource>
An observable sequence that is identical to the
source
sequence but where there is an additional side effect of rendering the specified cubemap target whenever the sequence emits a notification.
Type Parameters
TSource
The type of the elements in the
source
sequence.