Table of Contents

Interface IGpuEffectRenderInfo

Namespace
PaintDotNet.Effects.Gpu
Assembly
PaintDotNet.Effects.Core.dll
public interface IGpuEffectRenderInfo : IReadOnlyGpuEffectRenderInfo, IInternalImpl

Properties

ColorContext

Specifies the color space that the effect performs its rendering in. Input images retrieved through IGpuEffectEnvironment will be converted into this color space, as will images created with IDeviceContext.CreateImageFromBitmap(). The effect's output will then be converted back to the working space of the destination image.

Flags

Specifies flags that can be used to change various aspects of how the effect renders, or how it interacts with the effect host.

InputAlphaMode

Specifies the alpha mode for the IDeviceImages retrieved through the IGpuEffectEnvironment. When an input bitmap is loaded for use on the GPU as an IDeviceImage, it will be converted to the specified alpha mode if necessary.

OutputAlphaMode

Specifies the alpha mode of the output. This allows the effect infrastructure to automatically convert the effect's output to the alpha mode that is required for storage or rendering.