ID3D12Fence::Signal method

Sets the fence to the specified value.

Syntax

HRESULT Signal(
  UINT64 Value
);

Parameters

Value

Type: UINT64

The value to set the fence to.

Return Value

Type: HRESULT

This method returns one of the Direct3D 12 Return Codes.

Remarks

Use this method to set a fence value from the CPU side. Use ID3D12CommandQueue::Signal to set a fence from the GPU side.

Requirements

   
Target Platform Windows
Header d3d12.h
Library D3D12.lib
DLL D3D12.dll

See Also

ID3D12Fence

Synchronization and Multi-Engine