RVTDocs.com

IndexBuffer.IsValid

Method
Description:
Tests whether the buffer is valid for rendering.
Remarks:
The buffers are internally associated with low-level graphics state and may become invalidated when the state changes. Therefore, an application should test each buffer for validity before submitting its contents for rendering. If the buffer becomes invalid, the application should re-create its contents and write them to a new buffer.
Syntax
public bool IsValid()