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;
typedef 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: Use version 4.0 or later.
Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Header: Declared in d3dcaps.h.