Sdílet prostřednictvím


IndexBuffer.SetData Generic Method (T )

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