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

Describes the resource and feature‐limits exposed the device. More...

#include <Descriptors.h>

Inheritance diagram for xiiGALDeviceLimits:
[legend]

Public Attributes

xiiUInt32 m_uiMaxConstantBuffers = 0U
 Maximum number of constant (uniform) buffers that can be bound at once.
 
xiiUInt32 m_uiMaxVertexBuffers = 0U
 Maximum number of vertex buffers that can be bound at once.
 
xiiUInt32 m_uiMaxSamplers = 0U
 Maximum number of samplers that can be bound at once.
 
xiiUInt32 m_uiMaxRenderTargets = 0U
 Maximum number of color attachments (render targets) supported.
 
xiiUInt32 m_uiMaxViewports = 0U
 Maximum number of viewports that can be set in a single draw call.
 
xiiUInt32 m_uiMaxShadingRateCombos = 0U
 Number of variable‐rate shading combinations supported.
 
xiiUInt32 m_uiShadingRateXShift = 0U
 Bit shift for extracting the X‐axis rate from a combined shading‐rate enum.
 
xiiUInt32 m_uiMaxResourceSignatures = 0U
 Maximum number of descriptor‐set layouts (or root‐signature slots) per pipeline.
 
xiiUInt32 m_uiMaxPushConstantsSize = 0U
 Maximum push‐constant size (in bytes).
 
xiiUInt32 m_uiMaxUniformBufferRange = 0U
 Maximum uniform buffer size (in bytes).
 
xiiUInt32 m_uiMaxStorageBufferRange = 0U
 Maximum storage buffer size (in bytes).
 
xiiUInt32 m_uiMaxSampledImages = 0U
 Maximum number of sampled images per descriptor set.
 
xiiUInt32 m_uiMaxStorageImages = 0U
 Maximum number of storage images per descriptor set.
 
xiiUInt32 m_uiMaxStorageBuffers = 0U
 Maximum number of storage buffers per descriptor set.
 
xiiUInt32 m_uiMaxCombinedImageSamplers = 0U
 Maximum number of combined image+sampler descriptors.
 
xiiUInt32 m_uiMaxComputeWorkGroupInvocations = 0U
 Maximum total invocations in a single compute workgroup.
 
xiiUInt32 m_uiMaxComputeWorkGroupSizeX = 0U
 Maximum size of a compute workgroup in the X dimension.
 
xiiUInt32 m_uiMaxComputeWorkGroupSizeY = 0U
 Maximum size of a compute workgroup in the Y dimension.
 
xiiUInt32 m_uiMaxComputeWorkGroupSizeZ = 0U
 Maximum size of a compute workgroup in the Z dimension.
 
xiiUInt32 m_uiMaxComputeSharedMemorySize = 0U
 Maximum shared memory size (in bytes) available to a compute workgroup.
 

Additional Inherited Members

- Public Member Functions inherited from xiiHashableStruct< xiiGALDeviceLimits >
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.
 

Detailed Description

Describes the resource and feature‐limits exposed the device.


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