Method IsSwizzle
IsSwizzle(in GtfTextureInfo)
Returns whether the texture uses a swizzled memory layout.
Declaration
public static bool IsSwizzle(this in GtfTextureInfo texture)
Parameters
| Type | Name | Description |
|---|---|---|
| GtfTextureInfo | texture | The texture. |
Returns
| Type | Description |
|---|---|
| bool | Whether the texture uses a swizzled memory layout. |
IsSwizzle(TextureFormat)
Returns whether the texture uses a swizzled memory layout.
Declaration
public static bool IsSwizzle(this TextureFormat format)
Parameters
| Type | Name | Description |
|---|---|---|
| TextureFormat | format | The texture format. |
Returns
| Type | Description |
|---|---|
| bool | Whether the texture uses a swizzled memory layout. |