LiteFX::Rendering::IDeviceMemory::elements¶
Gets the number of sub-resources inside the memory chunk.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
[[dllimport, dllexport]] virtual UInt32 elements() const noexcept = 0;
Description¶
For buffers, this equals the number of array elements. For images, this equals the product of layers, levels and planes.
Return Value¶
The number of array elements inside the memory chunk.