Class GraphicsCompositorHelper
- Namespace
- Stride.Rendering.Compositing
- Assembly
- Stride.Engine.dll
Helper functions for creating GraphicsCompositor.
public static class GraphicsCompositorHelper
- Inheritance
-
GraphicsCompositorHelper
Methods
CreateDefault(bool, string, CameraComponent, Color4?, GraphicsProfile, RenderGroupMask)
Creates a typical graphics compositor programatically. It can render meshes, sprites and backgrounds.
public static GraphicsCompositor CreateDefault(bool enablePostEffects, string modelEffectName = "StrideForwardShadingEffect", CameraComponent camera = null, Color4? clearColor = null, GraphicsProfile graphicsProfile = GraphicsProfile.Level_10_0, RenderGroupMask groupMask = RenderGroupMask.All)
Parameters
enablePostEffects
boolmodelEffectName
stringcamera
CameraComponentclearColor
Color4?graphicsProfile
GraphicsProfilegroupMask
RenderGroupMask