Skip to content

LiteFX::Rendering::IImage::dimensions

Gets the images dimensionality.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] virtual ImageDimensions dimensions() const noexcept = 0;

Description

The dimensions imply various things, most importantly, which components of the extent are used. Note that cube maps behave like 2D images when the extent is used.

Return Value

The images dimensionality.