| ColorCorrectionFilterCreateLookupTexture2D Method (GraphicsDevice, Int32) |
Creates the default 2D lookup texture (no color transformations) with the specified lookup
table size.
Namespace: DigitalRune.Graphics.PostProcessingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public static Texture2D CreateLookupTexture2D(
GraphicsDevice graphicsDevice,
int size
)
Public Shared Function CreateLookupTexture2D (
graphicsDevice As GraphicsDevice,
size As Integer
) As Texture2D
public:
static Texture2D^ CreateLookupTexture2D(
GraphicsDevice^ graphicsDevice,
int size
)
static member CreateLookupTexture2D :
graphicsDevice : GraphicsDevice *
size : int -> Texture2D
Parameters
- graphicsDevice
- Type: GraphicsDevice
The graphics device. - size
- Type: SystemInt32
The size of the lookup table (= the number of entries per color channel). The recommended
size is 16.
Return Value
Type:
Texture2DThe default 2D lookup texture which contains no color transformations.
Exceptions See Also