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 >
constexpr xiiHashableStruct () noexcept
 Default constructor. Initializes all bytes to zero.
 
 xiiHashableStruct (const xiiHashableStruct &other) noexcept
 Bitwise copy constructor.
 
xiiHashableStructoperator= (const xiiHashableStruct &other) noexcept
 Bitwise assignment operator.
 
bool operator== (const xiiHashableStruct &other) const noexcept
 Compares equality via raw byte comparison.
 
std::strong_ordering operator<=> (const xiiHashableStruct &other) const noexcept
 Compares ordering via raw byte comparison.
 
xiiUInt32 CalculateHash () const noexcept
 Calculates a 32-bit hash from raw bytes of the struct.
 
void Clear () noexcept
 Fills all bytes with zero.
 
bool IsZero () const noexcept
 Returns true if all bytes are zero.
 

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: