Click or drag to resize

WeatherMakerFullScreenEffect Class

Full screen effect, wraps up rendering multiple commands and command buffers in a nice wrapper class
Inheritance Hierarchy

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version:
public class WeatherMakerFullScreenEffect : IDisposable

The WeatherMakerFullScreenEffect type exposes the following members.

Public methodWeatherMakerFullScreenEffect
Initializes a new instance of the WeatherMakerFullScreenEffect class
Public propertyCommandBufferName
The name for the command buffer that will be created for this effect. This should be unique for your project.
Public propertyEnabled
Whether the effect is enabled. The effect can be disabled to prevent command buffers from being created.
Public propertyStatic memberQuad
Quad for command buffer DrawQuad
Public propertyUpdateMaterialProperties
Action to fire when Material properties should be updated
Public methodStatic memberCameraTargetIdentifier
CameraTarget identifier
Public methodDispose
Cleanup all resources and set Enabled to false
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodStatic memberGetRenderTextureDescriptor
Get render texture descriptor
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodPostRenderCamera
Post render event
Public methodPreCullCamera
Update the full screen effect, usually called from OnPreRender or OnPreCull
Public methodPreRenderCamera
Pre render event
Public methodSetupEffect
Call from LateUpdate in script
Public methodToString (Inherited from Object.)
Public fieldBlitMaterial
Material to render the final pass if needed, not all setups will need this but it should be set anyway
Public fieldBlurMaterial
Material for blurring
Public fieldBlurShaderType
Blur shader type
Public fieldDepthMaterial
Material to down-sample depth buffer if needed, can be null
Public fieldDestBlendMode
Dest blend mode
Public fieldDownsampleRenderBufferScale
Downsample scale for render buffer sampling, or 0 to not sample the render buffer.
Public fieldDownsampleScale
Downsample scale for Material
Public fieldDownsampleScalePostProcess
Downsample scale for post process
Public fieldMaterial
Material for rendering/creating the effect
Public fieldRenderQueue
Render queue for this full screen effect. Do not change this at runtime, set it in the inspector once before play.
Public fieldSourceBlendMode
Source blend mode
Public fieldTemporalReprojection
Temporal reprojection
Public fieldTemporalReprojectionMaterial
Material for temporal reprojection
Public fieldZTest
See Also