Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets index buffer data.
Syntax
'Declaration
Public Sub SetData(Of T As ValueType) ( _
data As T() _
)
public void SetData<T> (
T[] data
) where T : ValueType
public:
generic<typename T> where T : ValueType
void SetData(
T data[]
)
Type Parameters
- T
The type of the elements in the array.
Parameters
- data
Type: T
Array of data.
Requirements
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)
See Also
Reference
IndexBuffer Class
IndexBuffer Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Windows Phone