D3DEXECUTEBUFFERDESC

The D3DEXECUTEBUFFERDESC structure describes the execute buffer for such methods as IDirect3DDevice::CreateExecuteBuffer and IDirect3DExecuteBuffer::Lock.

typedef struct _D3DExecuteBufferDesc { 
    DWORD  dwSize; 
    DWORD  dwFlags; 
    DWORD  dwCaps; 
    DWORD  dwBufferSize; 
    LPVOID lpData; 
} D3DEXECUTEBUFFERDESC, *LPD3DEXECUTEBUFFERDESC; 
 

Members

dwSize
Size of this structure, in bytes. This member must be initialized before the structure is used.
dwFlags
Flags identifying the members of this structure that contain valid data.
D3DDEB_BUFSIZE
The dwBufferSize member is valid.
D3DDEB_CAPS
The dwCaps member is valid.
D3DDEB_LPDATA
The lpData member is valid.
dwCaps
Location in memory of the execute buffer.
D3DDEBCAPS_MEM
A logical OR of D3DDEBCAPS_SYSTEMMEMORY and D3DDEBCAPS_VIDEOMEMORY.
D3DDEBCAPS_SYSTEMMEMORY
The execute buffer data resides in system memory.
D3DDEBCAPS_VIDEOMEMORY
The execute buffer data resides in device memory.
dwBufferSize
Size of the execute buffer, in bytes.
lpData
Address of the buffer data.

QuickInfo

  Windows NT/2000: Requires Windows NT 4.0 SP3 or later.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in d3dcaps.h.