Skip to content

LiteFX::Rendering::IImage::layers

Gets the number of layers (slices) of the image.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] virtual UInt32 layers() const noexcept = 0;

Return Value

The number of layers (slices) of the image.