Click or drag to resize
TextureXGetReadableCopy Method
Gets a readable copy of the source Texture2D.

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public static Texture2D GetReadableCopy(
	this Texture2D source
)

Parameters

source
Type: Texture2D
Source.

Return Value

Type: Texture2D
A readable copy of the source Texture2D.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Texture2D. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also