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