Click or drag to resize
DigitalRuneColorCorrectionFilterSetLookupTexture Method

Note: This API is now obsolete.

Sets the 3D lookup texture (LookupTextureA). (Overwrites the existing 3D lookup texture.)

Namespace: DigitalRune.Graphics.PostProcessing
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
[ObsoleteAttribute("Use the static method ColorCorrectionFilter.ConvertLookupTexture(Texture2D) instead.")]
public void SetLookupTexture(
	Texture2D lookupTexture2D
)

Parameters

lookupTexture2D
Type: Texture2D
The lookup texture as a 2D texture.
Exceptions
ExceptionCondition
ArgumentNullExceptionlookupTexture2D is .
ArgumentExceptionlookupTexture2D is not a color texture or does not have the expected format.
Remarks
This method overwrites the content of the existing 3D LookupTextureA. If the existing texture does not have the correct size, it is replaced by a new 3D lookup texture.
See Also