Gamma | |
public class GammaCorrectionPostProcess : SimpleFragmentShaderPostProcess
The GammaCorrectionPostProcess type exposes the following members.
| Name | Description | |
|---|---|---|
| GammaCorrectionPostProcess | Initializes a new instance of the BlackAndWhitePostProcess class. |
| Name | Description | |
|---|---|---|
| Gamma | Gamma value (2.2 by default). The value is used in the following formula: finalColor = float4(pow(color.rgb, 1.0 / Gamma), color.a) |
| Name | Description | |
|---|---|---|
| CustomBindAction | (Overrides StandardPostProcessCustomBindAction(RenderingContext, CommandBuffer, PipelineLayout)) | |
| GetFragmentPushConstantsSize |
GetFragmentPushConstantsSize can be overriden to provide the size in bytes of the push constants in fragment shader.
(Overrides StandardPostProcessGetFragmentPushConstantsSize) |