LiteFX::Rendering::IDeviceMemory::alignedElementSize¶
Returns the actual size of the element in device memory.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
[[dllimport, dllexport]] virtual size_t alignedElementSize() const noexcept = 0;
Description¶
For images, this method will return a value that equals the result of size, aligned by elementAlignment.
Return Value¶
The actual size of the element in device memory.
See Also¶
elementAlignment
elementSize