Skip to content

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

NameDescription
formatDescribes a texel format.