Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    GraphicsCompositorHelper Class

    Namespace: Stride.Rendering.Compositing
    Assembly: 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.

    | Improve this Doc View Source

    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

    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation