Direct2DShaderDrawTransformFactory.CreateShaderDrawTransform Method (UInt32, Guid, Direct2DPixelOptions)

Creates a Direct2D transform that can draw using a pixel shader. The returned object implements the COM interface ID2D1DrawTransform.

Namespace: Lumia.Imaging.Workers.Direct2D
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255

Lumia.Imaging.Workers.Direct2D.Direct2DShaderDrawTransformFactory.CreateShaderDrawTransform = function(inputCount, pixelShaderId, pixelOptions);

Parameters

inputCount
Type: System.UInt32
The number of inputs required by the pixel shader.
pixelShaderId
Type: System.Guid
The GUID of the pixel shader.
pixelOptions
Type: Lumia.Imaging.Workers.Direct2D.Direct2DPixelOptions
Options for drawing using the pixel shader.

Return Value

Type: IDirect2DShaderDrawTransform
The IDirect2DShaderDrawTransform.

Lumia Imaging SDK

Supported in: 3.0
Show: