Api BlitMode
struct

BlitMode

public sealed struct BlitMode

Methods

static BlitMode Simple(Material m, Stage stage, Int32 order = 0)

Shortcut to build a simple blit mode

static BlitMode WithBackbuffer(Material m, Stage stage, Int32 order = 0, Boolean mip = False)

Shortcut to build a blit mode that copies the backbuffer first

Fields

Name Type Description
Material Material The material to use for the blit.
Attributes RenderAttributes We'll use this instead of BasePostProcess.Attributes if set.
RenderStage Stage Where to place this in the render pipeline
Order Int32 The order within the stage. Lower numbers get rendered first.
WantsBackbuffer Boolean If true, the backbuffer will be copied to a texture called "ColorBuffer" before the blit.
WantsBackbufferMips Boolean If both WantsBackbuffer and this is true the backbuffer will be mipped after being copied.
Assembly: Sandbox.Engine Declaring Type: BasePostProcess Full Name: Sandbox.BasePostProcess.BlitMode