TextureCube.GetData Generic Method (CubeMapFace, T )
Gets a copy of cube texture data specifying a cubemap face.
Syntax
'Declaration
Public Sub GetData(Of T As ValueType) ( _
cubeMapFace As CubeMapFace, _
data As T() _
)
public void GetData<T> (
CubeMapFace cubeMapFace,
T[] data
) where T : ValueType
public:
generic<typename T> where T : ValueType
void GetData(
CubeMapFace cubeMapFace,
T data[]
)
Type Parameters
- T
The type of the elements in the array.
Parameters
- cubeMapFace
Type: CubeMapFace
Cubemap face. - data
Type: T
Array of data.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | data must be of sufficient length to receive the data. |
Requirements
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)
See Also
Reference
TextureCube Class
TextureCube Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Windows Phone