IsStdRGBA returns true if image format is the standard vk.FormatR8g8b8a8Srgb format which is compatible with go image.RGBA format.
()
| 193 | // IsStdRGBA returns true if image format is the standard vk.FormatR8g8b8a8Srgb format |
| 194 | // which is compatible with go image.RGBA format. |
| 195 | func (im *ImageFormat) IsStdRGBA() bool { |
| 196 | return im.Format == vk.FormatR8g8b8a8Srgb |
| 197 | } |
| 198 | |
| 199 | // IsRGBAUnorm returns true if image format is the vk.FormatR8g8b8a8Unorm format |
| 200 | // which is compatible with go image.RGBA format with colorspace conversion. |
no outgoing calls
no test coverage detected