XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGALDeviceMemoryProperties Struct Reference

This describes the device memory properties. More...

#include <Descriptors.h>

Inheritance diagram for xiiGALDeviceMemoryProperties:
[legend]

Public Member Functions

 XII_DECLARE_POD_TYPE ()
 
- Public Member Functions inherited from xiiHashableStruct< xiiGALDeviceMemoryProperties >
 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< xiiGALCPUAccessFlagm_UnifiedMemoryCPUAccessFlags = xiiGALCPUAccessFlag::None
 Supported access types for the unified memory.
 
xiiBitflags< xiiGALBindFlagsm_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.
 

Detailed Description

This describes the device memory properties.


The documentation for this struct was generated from the following file: