Exportar (0) Imprimir
Expandir Tudo
EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

ID3D10Debug::SetPresentPerRenderOpDelay method

Set the number of milliseconds to sleep after Present is called.

Syntax


HRESULT SetPresentPerRenderOpDelay(
  [in]  UINT Milliseconds
);

Parameters

Milliseconds [in]

Type: UINT

Number of milliseconds to sleep after Present is called.

Return value

Type: HRESULT

This method returns one of the following Direct3D 10 Return Codes.

Remarks

Note  If you call this API in a Session 0 process, it returns DXGI_ERROR_NOT_CURRENTLY_AVAILABLE.

The application will only sleep if D3D10_DEBUG_FEATURE_PRESENT_PER_RENDER_OP is a set in the feature mask. If that flag is not set the number of milliseconds is set but ignored and the application does not sleep. 10ms is used as a default value if this method is never called.

Requirements

Header

D3D10SDKLayers.h

See also

ID3D10Debug Interface

 

 

Contribuições da comunidade

ADICIONAR
Mostrar:
© 2014 Microsoft