@@ -4116,19 +4116,27 @@ typedef struct EngineMtlCreateInfo EngineMtlCreateInfo;
41164116/// Attributes of the WebGPU-based engine implementation
41174117struct EngineWebGPUCreateInfo DILIGENT_DERIVE (EngineCreateInfo )
41184118
4119- ///
4120- Uint32 QueueSignalPoolSize DEFAULT_INITIALIZER (32 );
4121-
4119+ /// Upload heap page size.
41224120 ///
4121+ /// \remarks Upload heap is used to update resources with IDeviceContext::UpdateBuffer(),
4122+ /// IDeviceContext::UpdateTexture(), or to map dynamic textures.
41234123 Uint32 UploadHeapPageSize DEFAULT_INITIALIZER (8 << 20 );
41244124
4125+ /// The size of the dynamic heap (the buffer that is used to suballocate memory for dynamic resources).
41254126 ///
4127+ /// \remarks The dynamic heap is used to allocate memory for dynamic
4128+ /// resources. Each time a dynamic buffer or dynamic texture is mapped,
4129+ /// the engine allocates a new chunk of memory from the dynamic heap.
4130+ /// At the end of the frame, all dynamic memory allocated for the frame
4131+ /// is recycled. Note that unlike Vulkan, the dynamic memory becomes available
4132+ /// immediately for use in the next frame.
41264133 Uint32 DynamicHeapSize DEFAULT_INITIALIZER (8 << 20 );
41274134
4128- ///
4135+ /// Size of the memory chunk suballocated by immediate/deferred context from
4136+ /// the global dynamic heap to perform lock-free dynamic suballocations.
41294137 Uint32 DynamicHeapPageSize DEFAULT_INITIALIZER (256 << 10 );
41304138
4131- ///
4139+ /// Query pool size for each query type.
41324140 Uint32 QueryPoolSizes [QUERY_TYPE_NUM_TYPES ]
41334141#if DILIGENT_CPP_INTERFACE
41344142 {
0 commit comments