Skip to content

PostEffect

Public Class

Inheritance Hierarchy

System.Object
Rhino.Render.PostEffects.PostEffect

Namespace: Rhino.Render.PostEffects

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

public abstract class PostEffect : IDisposable

The PostEffect type exposes the following members.

Constructors

Name

Description


Public Method

Initializes a new instance of the PostEffect class


Properties

Name

Description


Public Property

Public Property

Public Property

Public Property

Return true if the post effect is selected.


Public Property

Public Property

Public Property

Public Property

The RDK calls this method to determine which channels a post effect requires. If a required channel is not available, the RDK will hide the post effect’s UI and display explanatory text instead. Note: As a convenience, the default implementation adds IRhRdkRenderWindow::chanRGBA to the output array. Most post effects should be able to use this default with no need to override the method.


Public Property

Public Property

Public Property

Methods

Name

Description


Public Method

Create each of your UI sections using ‘new’ and then call ui.AddSection() on them. RDK takes ownership of the sections.If your post effect does not need a UI, then your implementation of this method can be a no-op.


Public Method

Public Method

Return true if the post effect can execute, else false. The base implementation checks if the post effect is ‘On’ and ‘Shown’. Post effect authors can override this to include other criteria but cannot disable the base criteria.


Public Method

Public Method

Displays the post effect’s help page, if any.


Public Method

Releases all resources used by the PostEffect


Public Method

Releases the unmanaged resources used by the PostEffect and optionally releases the managed resources


Public Method

Public Method

Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.)


Public Method

Execute the post effect.


Protected Method

(Overrides Object.Finalize..)


Public Method

A CRC of the state of this post effect.

(Overrides Object.GetHashCode..)


Public Method

Get a parameter.


Public Method

GetType

Gets the Type of the current instance.

(Inherited from Object.)


Protected Method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)


Public Method

Obsolete.

Because post effects are now in the render settings, this function can no longer be called.


Public Method

Read the state. If your post effect has no state, you must still return true for success.


Public Method
Static Member

Public Method
Static Member

Public Method

Reset the state to factory defaults.


Public Method

Set a parameter.


Public Method

ToString

Returns a string that represents the current object.

(Inherited from Object.)


Public Method

Write the state. If your post effect has no state, you must still return true for success.


Public Method

Obsolete.

Because post effects are now in the render settings, this function can no longer be called.