Table of Contents

Interface IGpuEffectDocumentInfo2

Namespace
PaintDotNet.Effects.Gpu
Assembly
PaintDotNet.Effects.Core.dll
public interface IGpuEffectDocumentInfo2 : IGpuEffectDocumentInfo, IEffectDocumentInfo, IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inherited Members
Extension Methods

Properties

ColorContext

Gets the Direct2D color context of the document, which defines the working space (color space) of the document and layer IGpuEffectInputImages, and for the effect's rendering.

This is affected by the effect's GpuEffectColorContext, which can be changed by overriding the OnInitializeRenderInfo(IGpuEffectRenderInfo) method and setting the ColorContext property. The default is WorkingSpaceLinear, which results in the linear gamma version of the document's color space.

Image

Gets an image that renders the document for use with Direct2D. This is the full composition of the document, including all of the layers with their rendering properties applied (blend mode, opacity, and visibility).

Layers