|
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: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public static int GetBytesPerPixel(
Format format
)
Parameters
- format Format
- format
Return Value
Int32number of bytes that is required to store the specified format
See Also