TextureData.TransformPixelFormat

TextureData.TransformPixelFormat method

将像素的布局转换为新的像素格式。

public void TransformPixelFormat(PixelFormat pixelFormat)
参数类型描述
pixelFormatPixelFormat目标像素格式

异常

异常条件
NotSupportedException当源像素格式或目标像素格式不受支持时

另请参见