You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Releases the resource currently pointed by the allocation (if any), sets it to new one, incrementing its reference counter (if not null).
552
+
/** \brief Releases the resource currently pointed by the allocation (if not null), sets it to new one, incrementing its reference counter (if not null).
553
+
554
+
\warning
555
+
This is an advanced feature that should be used only in special cases, e.g. during \subpage defragmentation.
556
+
Typically, an allocation object should reference the resource that was created together with it.
557
+
If you swap it to another resource of different size, \subpage statistics and budgets can be calculated incorrectly.
558
+
*/
553
559
voidSetResource(ID3D12Resource* pResource);
554
560
555
561
/** \brief Returns memory heap that the resource is created in.
0 commit comments