Microsoft DirectX 9.0 SDK Update (October 2004)

IndexBuffer.Created Event

Language:

Note: This documentation is preliminary and is subject to change.

Occurs after a device is reset and the IndexBuffer is re-created.

Definition

Visual Basic .NET Public Event Created As EventHandler
C# public event EventHandler Created;
Managed C++ public: __event EventHandler Created;
JScript .NET In JScript .NET, you can use events, but you cannot define your own.

Remarks

Note: This event occurs only on Pool.Default resources.

To add an event handler that listens for an IndexBuffer.Created event, use the following C# code.

[C#]
indexBuffer.Created += new System.EventHandler(this.CreatedEventHandler);


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center