Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    IImageEffect Interface

    Namespace: Stride.Rendering.Images
    Assembly: Stride.Rendering.dll

    public interface IImageEffect : IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
    Name Description
    Methods
    SetInput(Int32, Texture)

    Sets an input texture

    SetOutput(Texture)

    Sets the render target output.

    SetOutput(Texture[])

    Sets the render target outputs.

    SetViewport(Nullable<Viewport>)

    Sets the viewport.

    | Improve this Doc View Source

    Methods


    SetInput(Int32, Texture)

    Sets an input texture

    void SetInput(int slot, Texture texture)
    Parameters
    Type Name Description
    System.Int32 slot

    The slot.

    Texture texture

    The texture.


    SetOutput(Texture)

    Sets the render target output.

    void SetOutput(Texture view)
    Parameters
    Type Name Description
    Texture view

    The render target output view.

    Exceptions
    Type Condition
    System.ArgumentNullException

    view


    SetOutput(Texture[])

    Sets the render target outputs.

    void SetOutput(params Texture[] views)
    Parameters
    Type Name Description
    Texture[] views

    The render target output views.


    SetViewport(Nullable<Viewport>)

    Sets the viewport.

    void SetViewport(Viewport? viewport)
    Parameters
    Type Name Description
    System.Nullable<Viewport> viewport

    The viewport.


    Inherited Members

    IGraphicsRendererBase.Draw(RenderDrawContext)
    IGraphicsRendererCore.Enabled
    IGraphicsRendererCore.Initialized
    IGraphicsRendererCore.Initialize(RenderContext)
    System.IDisposable.Dispose()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    ImageEffectExtensions.SetInput(IImageEffect, Texture)
    ImageEffectExtensions.SetInput(IImageEffect, Texture, Texture)
    ImageEffectExtensions.SetInput(IImageEffect, Texture, Texture, Texture)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

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