EN
このコンテンツは設定された言語で表示できません。英語版のページが表示されます。

ID3D12Object::SetName method

Associates a name with the device object. This name is for use in debug diagnostics and tools.

Syntax


HRESULT SetName(
  [in] LPCWSTR Name
);

Parameters

Name [in]

Type: LPCWSTR

A NULL-terminated UNICODE string that contains the name to associate with the device object.

Return value

Type: HRESULT

This method returns one of the Direct3D 12 Return Codes.

Remarks

This method takes UNICODE names. The older Direct3D 11 debug object naming system through ID3D12Object::SetPrivateData with WKPDID_D3DDebugObjectName used ASCII.

Requirements

Header

D3D12.h

Library

D3D12.lib

DLL

D3D12.dll

See also

Direct3D 12 Programming Environment Setup
ID3D12Object

 

 

表示: