Class ViewportEffect
Provides functionality for rendering a fullscreen effect using a fragment shader pass.
public class ViewportEffect : Effect, IDisposable
- Inheritance
-
ViewportEffect
- Implements
- Inherited Members
Methods
Dispose(bool)
Releases all resources used by the Shader class.
protected override void Dispose(bool disposing)
Parameters
disposing
booltrue to release both managed and unmanaged resources; false to release only unmanaged resources.
OnDispatch()
Returns any actions that should be executed before running the shader program.
protected override Action OnDispatch()