ID2D1ImageSource::OfferResources method (d2d1_3.h)
Allows the operating system to free the video memory of resources by discarding their content.
Syntax
HRESULT OfferResources();
Return value
Type: HRESULT
OfferResources returns:
- S_OK if resources were successfully offered
- E_INVALIDARG if a resource in the array or the priority is invalid
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d2d1_3.h |
Library | D2d1.lib |
DLL | D2d1.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for