D3DEXECUTEBUFFERDESC

typedef struct _D3DExecuteBufferDesc {

DWORD dwSize;

DWORD dwFlags;

DWORD dwCaps;

DWORD dwBufferSize;

LPVOID lpData;

} D3DEXECUTEBUFFERDESC;

typedef D3DEXECUTEBUFFERDESC *LPD3DEXECUTEBUFFERDESC;

Describes the execute buffer for such methods as IDirect3DDevice::CreateExecuteBuffer and IDirect3DExecuteBuffer::Lock.

dwSize

Size of this structure, in bytes.

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_SYSTEMMEMORY

The execute buffer data resides in system memory.

D3DDEBCAPS_VIDEOMEMORY

The execute buffer data resides in device memory.

D3DDEBCAPS_MEM

A logical OR of D3DDEBCAPS_SYSTEMMEMORY and D3DDEBCAPS_VIDEOMEMORY.

dwBufferSize

Size of the execute buffer, in bytes.

lpData

Address of the buffer data.