Expand Minimize

D3DDDIARG_RENAME structure

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

Syntax


typedef struct _D3DDDIARG_RENAME {
  HANDLE                 hResource;
  UINT                   SubResourceIndex;
  HANDLE                 hCookie;
#if (D3D_UMD_INTERFACE_VERSION >= D3D_UMD_INTERFACE_VERSION_WIN7)
  D3DGPU_VIRTUAL_ADDRESS GpuVirtualAddress;
#endif 
} D3DDDIARG_RENAME;

Members

hResource

[in] A handle to the resource to be renamed.

SubResourceIndex

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

hCookie

[in] 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

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

LockAsync
Rename

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft