Example #1
0
        public static int create(string path)
        {
            MTexture instance = new MTexture(path);

            return(instance.m_ID);
        }
Example #2
0
 public static int getHeight(int ID)
 {
     return(MTexture.getFromStorage(ID).m_texture.Height);
 }
Example #3
0
        private MTexture()
        {
            MTexture instance = this;

            addToStorage(ref instance);
        }
Example #4
0
 public static int getWidth(int ID)
 {
     return(MTexture.getFromStorage(ID).m_texture.Width);
 }