LiteFX::Rendering::IDeviceMemory::elementSize¶
Returns the size of a single element within the buffer. If there is only one element, this is equal to size.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
[[dllimport, dllexport]] virtual size_t elementSize() const noexcept = 0;
Description¶
For images, this method will return a value that equals the result of size.
Return Value¶
The size of a single element within the buffer
See Also¶
elementAlignment
alignedElementSize