![]() |
XII Release 0.1.0
|
This describes the device memory properties. More...
#include <Descriptors.h>
Public Member Functions | |
XII_DECLARE_POD_TYPE () | |
![]() | |
xiiHashableStruct (const xiiHashableStruct< xiiGALDeviceMemoryProperties > &other) | |
void | operator= (const xiiHashableStruct< xiiGALDeviceMemoryProperties > &other) |
XII_ALWAYS_INLINE constexpr bool | operator== (const xiiHashableStruct< xiiGALDeviceMemoryProperties > &rhs) const=default |
xiiUInt32 | CalculateHash () const |
Calculates the 32 bit hash of the struct and returns it. | |
Public Attributes | |
xiiUInt64 | m_uiLocalMemory = 0U |
The amount of local video memory that is inaccessible by CPU, in bytes. | |
xiiUInt64 | m_uiHostVisibleMemory = 0U |
The amount of host-visible memory that can be accessed by CPU and is visible by GPU, in bytes. | |
xiiUInt64 | m_uiUnifiedMemory = 0U |
The amount of unified memory that can be directly accessed by both CPU and GPU, in bytes. | |
xiiUInt64 | m_uiMaxMemoryAllocation = 0U |
Maximum size of a continuous memory block. | |
xiiBitflags< xiiGALCPUAccessFlag > | m_UnifiedMemoryCPUAccessFlags = xiiGALCPUAccessFlag::None |
Supported access types for the unified memory. | |
xiiBitflags< xiiGALBindFlags > | m_MemorylessTextureBindFlags = xiiGALBindFlags::None |
Indicates if device supports color and depth attachments in on-chip memory. If supported, it will be combination of the following flags: RenderTarget, DepthStencil, InputAttachment. | |
This describes the device memory properties.