Bewerken

Delen via


D3DDDIARG_RENAME structure (d3dumddi.h)

The D3DDDIARG_RENAME structure describes a resource or a surface within the resource to rename with a new allocation.

Syntax

typedef struct _D3DDDIARG_RENAME {
  [in] HANDLE                 hResource;
  [in] UINT                   SubResourceIndex;
  [in] HANDLE                 hCookie;
       D3DGPU_VIRTUAL_ADDRESS GpuVirtualAddress;
} D3DDDIARG_RENAME;

Members

[in] hResource

A handle to the resource to be renamed.

[in] SubResourceIndex

The zero-based index into the resource that hResource specifies. This index indicates the subresource or surface to be renamed.

[in] hCookie

A handle that represents the renamed surface instance that the LockAsync function previously returned.

GpuVirtualAddress

This member is reserved and should be set to zero.

This member is available beginning with Windows 7.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dumddi.h (include D3dumddi.h)

See also

LockAsync

Rename