IndexBuffer.Created Event

Language:

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

Definition

Visual Basic Public Event Created As EventHandler
C# public event EventHandler Created;
C++ public:
event EventHandlerCreated;
JScript In JScript, 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);


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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