TextureCube.SetData Generic Method (CubeMapFace, T )
Sets cube texture data, specifying a cubemap face.
Syntax
'Declaration
Public Sub SetData(Of T As ValueType) ( _
cubeMapFace As CubeMapFace, _
data As T() _
)
public void SetData<T> (
CubeMapFace cubeMapFace,
T[] data
) where T : ValueType
public:
generic<typename T> where T : ValueType
void SetData(
CubeMapFace cubeMapFace,
T data[]
)
Type Parameters
- T
The type of the elements in the array.
Parameters
- cubeMapFace
Type: CubeMapFace
The cubemap face. - 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
TextureCube Class
TextureCube Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Windows Phone