Method GetPitch
GetPitch(TextureFormat, uint)
Computes the pitch from the specified texture and width.
Declaration
public static uint GetPitch(this TextureFormat rawFormat, uint width)
Parameters
| Type | Name | Description |
|---|---|---|
| TextureFormat | rawFormat | The raw texture format. |
| uint | width | The texture's width. |
Returns
| Type | Description |
|---|---|
| uint | The pitch. |