Пример #1
0
 public Image2D()
 {
     this.m_platformData     = new Image2DPlatformData();
     this.m_format           = 0;
     this.m_width            = 0;
     this.m_height           = 0;
     this.m_mutable          = true;
     this.m_bitsPerPixel     = 0;
     this.m_numMipMaps       = 0;
     this.m_mipMapData       = (sbyte[][])null;
     this.m_mipMapDataLength = 0;
     this.texture2d          = (Microsoft.Xna.Framework.Graphics.Texture2D)null;
 }
Пример #2
0
 public Image2D(int format, Image image)
 {
     this.m_platformData     = new Image2DPlatformData();
     this.m_format           = 0;
     this.m_width            = 0;
     this.m_height           = 0;
     this.m_mutable          = true;
     this.m_bitsPerPixel     = 0;
     this.m_numMipMaps       = 0;
     this.m_mipMapData       = (sbyte[][])null;
     this.m_mipMapDataLength = 0;
     this.set(format, image);
     this.texture2d = image.texture2D;
 }
Пример #3
0
 public Image2D(int format, int width, int height)
 {
     this.m_platformData     = new Image2DPlatformData();
     this.m_format           = 0;
     this.m_width            = 0;
     this.m_height           = 0;
     this.m_mutable          = true;
     this.m_bitsPerPixel     = 0;
     this.m_numMipMaps       = 0;
     this.m_mipMapData       = (sbyte[][])null;
     this.m_mipMapDataLength = 0;
     this.set(format, width, height);
     this.texture2d = new Microsoft.Xna.Framework.Graphics.Texture2D(JavaLib.GraphicsDevice, width, height);
 }