Skip to content

PostProcessingServiceCollectionExtensions.AddPassThroughEffect(this IServiceCollection, int, int) Method

Definition

Namespace: Brine2D.Rendering.SDL

Add a pass-through effect to the pipeline for testing. This effect does nothing but copy source to target.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddPassThroughEffect(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, int width=1280, int height=720);

Parameters

services Microsoft.Extensions.DependencyInjection.IServiceCollection

width System.Int32

height System.Int32

Returns

Microsoft.Extensions.DependencyInjection.IServiceCollection