| PackedTexture Constructor (Texture2D) |
Initializes a new instance of the
PackedTexture class for a single texture.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public PackedTexture(
Texture2D texture
)
Public Sub New (
texture As Texture2D
)
public:
PackedTexture(
Texture2D^ texture
)
new :
texture : Texture2D -> PackedTexture
Parameters
- texture
- Type: Texture2D
The texture atlas that contains the packed texture.
See Also