LiteFX::Rendering::getSize¶
Returns the size of an element of a specified format.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
constexpr size_t getSize(Format format);
Return Value¶
the size of an element of a specified format.
Parameters¶
| Name | Description |
|---|---|
| format | Describes a texel format. |