 |
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: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic static int GetBytesPerPixel(
Format format
)
Parameters
- format Format
- format
Return Value
Int32number of bytes that is required to store the specified format
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Common.RawImageData.GetBytesPerPixel(Ab4d.Vulkan.Format)"]
See Also