 |
StandardPostProcess Class |
StandardPostProcess class is a base abstract class for all post process effects that are created by rendering a full screen quad (rectangle with two triangles)
and have the post process logic in fragment shader that is defined by the derived classes.
The StandardPostProcess by default uses a standard vertex shader that prepares the quad for the pixel shader.
Inheritance Hierarchy Namespace: Ab4d.SharpEngine.PostProcessingAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9196+3eba290aba85a9aa739abf2459bc51e303a050d7
Syntaxpublic abstract class StandardPostProcess : PostProcessBase
The StandardPostProcess type exposes the following members.
Constructors
Properties | Name | Description |
---|
 | ClearColor | |
 | ClearTargetTexture | |
 | IsFullScreenPostProcess |
Gets true when the PostProcess is rendering the whole screen.
|
 | ViewportOffset |
Gets the offset of the viewport.
Viewport defines a part of the screen that will be affected by this PostProcess.
The coordinates are defined in relative screen positions (from 0 to 1).
By default, ViewportOffset is set to (0, 0) and ViewportSize is set to (1, 1) - this defines the whole screen.
This value can be changed by calling ChangeViewport(Single, Single, Single, Single) method.
|
 | ViewportSize |
Gets the size of the viewport.
Viewport defines a part of the screen that will be affected by this PostProcess.
The coordinates are defined in relative screen positions (from 0 to 1).
By default, ViewportOffset is set to (0, 0) and ViewportSize is set to (1, 1) - this defines the whole screen.
This value can be changed by calling ChangeViewport(Single, Single, Single, Single) method.
|
Top
Methods
Fields
See Also