Class FullScreenPassRendererFeature
FullScreenPass is a renderer feature used to change screen appearance such as post processing effect. This implementation lets it's user create an effect with minimal code involvement.
구현
상속된 멤버
네임스페이스: Global Namespace
어셈블리: solution.dll
구문
public class FullScreenPassRendererFeature : ScriptableRendererFeature, IDisposable
필드
이름 | 설명 |
---|---|
injectionPoint | Selection for when the effect is rendered. |
passIndex | An index that tells renderer feature which pass to use if passMaterial contains more than one. Default is 0. We draw custom pass index entry with the custom dropdown inside FullScreenPassRendererFeatureEditor that sets this value. Setting it directly will be overridden by the editor class. |
passMaterial | Material the Renderer Feature uses to render the effect. |
requirements | One or more requirements for pass. Based on chosen flags certain passes will be added to the pipeline. |
메서드
이름 | 설명 |
---|---|
AddRenderPasses(ScriptableRenderer, ref RenderingData) | Injects one or multiple |
Create() | Initializes this feature's resources. This is called every time serialization happens. |
Dispose(bool) | Called by Dispose(). Override this function to clean up resources in your renderer. |