GraphicsCompositorHelper Class
Namespace: Stride.Rendering.CompositingAssembly: Stride.Engine.dll
Helper functions for creating GraphicsCompositor.
System.Object →
GraphicsCompositorHelper
Derived from GraphicsCompositorHelper:
public static class GraphicsCompositorHelper
Name | Description | |
---|---|---|
Methods | ||
CreateDefault(Boolean, String, CameraComponent, Nullable<Color4>, GraphicsProfile, RenderGroupMask) | Creates a typical graphics compositor programatically. It can render meshes, sprites and backgrounds. |
Methods
CreateDefault(Boolean, String, CameraComponent, Nullable<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
Type | Name | Description |
---|---|---|
System.Boolean | enablePostEffects | |
System.String | modelEffectName | |
CameraComponent | camera | |
System.Nullable<Color4> | clearColor | |
GraphicsProfile | graphicsProfile | |
RenderGroupMask | groupMask |
Returns
Type | Description |
---|---|
GraphicsCompositor |