## TextureData.TransformPixelFormat method

Transform pixel's layout to new pixel format.

```csharp
public void TransformPixelFormat(PixelFormat pixelFormat)
```

| Parameter | Type | Description |
| --- | --- | --- |
| pixelFormat | PixelFormat | Destination pixel format |

### Exceptions

| exception | condition |
| --- | --- |
| NotSupportedException | When the source or destination pixel format is not supported |

### See Also

* enum [PixelFormat](../../pixelformat/)
* class [TextureData](../)
* namespace [Aspose.ThreeD.Render](../../texturedata/)
* assembly [Aspose.3D](../../../)


