TextureData.TransformPixelFormat

TextureData.TransformPixelFormat method

Transform pixel’s layout to new pixel format.

public void TransformPixelFormat(PixelFormat pixelFormat)
ParameterTypeDescription
pixelFormatPixelFormatDestination pixel format

Exceptions

exceptioncondition
NotSupportedExceptionWhen the source or destination pixel format is not supported

See Also