LiteFX::Rendering::getBufferFormatChannelSize¶
Returns the number of bytes used by a channel of a buffer format.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
constexpr UInt32 getBufferFormatChannelSize(BufferFormat format);
Return Value¶
the number of bytes used by a channel of a buffer format.
Parameters¶
| Name | Description |
|---|---|
| format | Describes a buffer attribute format. |
See Also¶
BufferFormat