description | ms.assetid | title | ms.topic | ms.date | topic_type | api_name | api_type | api_location | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ID3DXFont::OnResetDevice method - Use this method to re-acquire resources and save initial state. |
a63efb49-7864-4675-b367-4ae53995caea |
ID3DXFont::OnResetDevice method (D3dx9core.h) |
reference |
05/31/2018 |
|
|
|
|
Use this method to re-acquire resources and save initial state.
HRESULT OnResetDevice();
This method has no parameters.
Type: HRESULT
If the method succeeds, the return value is S_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.
OnResetDevice should be called each time the device is reset (using Reset), before any other methods are called. This is a good place to re-acquire video-memory resources and capture state blocks.
Requirement | Value |
---|---|
Header |
|
Library |
|