Partilhar via


Texture3D.GetData Generic Method (T )

Gets a copy of 3D texture data.

Syntax

'Declaration
Public Sub GetData(Of T As ValueType) ( _
         data As T() _
)
public void GetData<T> (
         T[] data
) where T : ValueType
public:
generic<typename T> where T : ValueType
void GetData(
         T data[]
)

Type Parameters

  • T
    The type of the elements in the array.

Parameters

  • data
    Type: T
    Array of data.

Remarks

An InvalidOperationException is thrown if an attempt is made to modify (for example, calls to the SetData method) a resource that is currently set on a graphics device.

Requirements

Namespace: Microsoft.Xna.Framework.Graphics

Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

See Also

Reference

Texture3D Class
Texture3D Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Windows Phone