public void SetData(RectI? rect, byte[] src, int width, int height, PointInt32 xy)
 {
     var bp = new BytePixels(width, height, src);
     bp.PutData(rect, this, xy);
 }
 public void SetData(RectI? rect, BytePixels src)
 {
     src.PutData(rect, this, new PointInt32());
 }
 public void SetData(RectI? rect, BytePixels src, PointInt32 xy)
 {
     src.PutData(rect, this, xy);
 }
        /*
        /// <summary>Gets a copy of all frames within 2D texture data into a two-dimensional byte array, using the specified frame size.</summary>
        /// <param name="size">The pixel size of each frame.</param>
        public byte[,] GetData(SizeInt32 size)
        {

        }
        */
        public void SetData(BytePixels src)
        {
            src.PutData(null, this);
        }
 public void SetData(BytePixels src, PointInt32 xy)
 {
     src.PutData(null, this, xy);
 }
Beispiel #6
0
 public void SetData(RectI?rect, BytePixels src, PointInt32 xy)
 {
     src.PutData(rect, this, xy);
 }
Beispiel #7
0
 public void SetData(RectI?rect, BytePixels src)
 {
     src.PutData(rect, this, new PointInt32());
 }
Beispiel #8
0
 public void SetData(BytePixels src, PointInt32 xy)
 {
     src.PutData(null, this, xy);
 }
Beispiel #9
0
        /*
         * /// <summary>Gets a copy of all frames within 2D texture data into a two-dimensional byte array, using the specified frame size.</summary>
         * /// <param name="size">The pixel size of each frame.</param>
         * public byte[,] GetData(SizeInt32 size)
         * {
         *
         * }
         */

        public void SetData(BytePixels src)
        {
            src.PutData(null, this);
        }
Beispiel #10
0
        public void SetData(RectI?rect, byte[] src, int width, int height, PointInt32 xy)
        {
            var bp = new BytePixels(width, height, src);

            bp.PutData(rect, this, xy);
        }