IImageEffect Interface
Namespace: Stride.Rendering.ImagesAssembly: 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. |
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
System.IDisposable.Dispose()