Skip to content

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

NameDescription
formatDescribes a buffer attribute format.

See Also

BufferFormat