Skip to content

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

NameDescription
formatDescribes a buffer attribute format.

See Also

BufferFormat