Calculate the size of the mip level. Use this to compute the actual size of a sub-resource
that uses a compression format.
Declaration Syntax
Parameters
- width (Int32)
- Width of the first mip level
- height (Int32)
- Height of the first mip level
- depth (Int32)
- Depth of the first mip level
- mipLevel (Int32)
- Mip level to access
- format (SurfaceFormat)
- Format of the resource
Return Value
Total size of the sub-resource in bytes
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)