mirror of
https://github.com/Memorix101/UnityXNA/
synced 2024-12-30 15:25:35 +01:00
42 lines
846 B
C#
42 lines
846 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
|
|||
|
namespace Microsoft.Xna.Framework.Graphics
|
|||
|
{
|
|||
|
public class Texture2D : IDisposable
|
|||
|
{
|
|||
|
private UnityEngine.Texture2D unityTexture;
|
|||
|
|
|||
|
public UnityEngine.Texture2D UnityTexture
|
|||
|
{
|
|||
|
get { return unityTexture; }
|
|||
|
set { unityTexture = value; }
|
|||
|
}
|
|||
|
|
|||
|
public Texture2D()
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
public Texture2D(UnityEngine.Texture2D unityTexture)
|
|||
|
{
|
|||
|
// TODO: Complete member initialization
|
|||
|
this.unityTexture = unityTexture;
|
|||
|
}
|
|||
|
|
|||
|
public int Width
|
|||
|
{
|
|||
|
get { return unityTexture.width; }
|
|||
|
}
|
|||
|
public int Height
|
|||
|
{
|
|||
|
get { return unityTexture.height; }
|
|||
|
}
|
|||
|
|
|||
|
public void Dispose()
|
|||
|
{ }
|
|||
|
}
|
|||
|
}
|