 |
RawImageDataGetBytesPerPixel Method |
Returns number of bytes that is required to store the specified format.
The method can get results only for the following formats: R8G8B8A8Unorm, B8G8R8A8Unorm, R8G8B8Unorm, B8G8R8Unorm, R8Unorm. Other formats will throw an exception.
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic static int GetBytesPerPixel(
Format format
)
Parameters
- format Format
- format
Return Value
Int32number of bytes that is required to store the specified format
See Also