API ReferenceSandbox
BasePostProcessclass
The base class for all post process effects.
Constructors1
Showing 1 constructors
protected BasePostProcess()
No results match this filter.
Methods4
Showing 4 methods
protected void Blit(Sandbox.BasePostProcess.BlitMode blit, string debugName)
Helper to do a blit with the current camera's post process
| Parameter | Type | Description |
|---|---|---|
| blit | BlitMode | — |
| debugName | string | — |
Returns:
void—protected void BlitSimple(Sandbox.Material shader, Sandbox.Rendering.Stage stage, int order, string debugName)
Helper to do a blit with the current camera's post process
| Parameter | Type | Description |
|---|---|---|
| shader | Material | — |
| stage | Stage | — |
| order | int | — |
| debugName | string | — |
Returns:
void—protected void InsertCommandList(Sandbox.Rendering.CommandList cl, Sandbox.Rendering.Stage stage, int order, string debugName)
Helper to add a command list to the current camera's post process
| Parameter | Type | Description |
|---|---|---|
| cl | CommandList | — |
| stage | Stage | — |
| order | int | — |
| debugName | string | — |
Returns:
void—public virtual void Render()
Override in your implementation to do your rendering
Returns:
void—No results match this filter.
Properties1
Showing 1 properties
protected Sandbox.CameraComponent Sandbox.BasePostProcess.Camera { get; set; }
The camera we're being applied to. This is only valid during the Render call.
No results match this filter.