Condividi tramite


TextureCube.SetData<T> Method (CubeMapFace, array<T[])

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Sets cube texture data, specifying a cubemap face.

Namespace:  Microsoft.Xna.Framework.Graphics
Assembly:  Microsoft.Xna.Framework.Graphics (in Microsoft.Xna.Framework.Graphics.dll)

Syntax

'Declaration
Public Sub SetData(Of T As {Structure, New}) ( _
    cubeMapFace As CubeMapFace, _
    data As T() _
)
public void SetData<T>(
    CubeMapFace cubeMapFace,
    T[] data
)
where T : struct, new()

Type Parameters

  • T
    The type of the elements in the array.

Parameters

  • data
    Type: array<T[]
    Array of data.

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.