Normand Briere
2019-11-17 cb37a129d1adb403019c96e798e86e2da9667f15
cTexture.java
....@@ -1,14 +1,9 @@
1
-/*
2
- * To change this template, choose Tools | Templates
3
- * and open the template in the editor.
4
- */
1
+import java.awt.image.BufferedImage;
52
6
-/**
7
- *
8
- * @author nbriere
9
- */
103 public class cTexture implements java.io.Serializable
114 {
5
+ static final long serialVersionUID = 8278178842384985286L;
6
+
127 public cTexture(String n)
138 {
149 name = n;
....@@ -35,5 +30,14 @@
3530 return toString().equals(o.toString());
3631 }
3732
38
- public String name;
33
+ String name;
34
+
35
+ transient String pigment;
36
+ transient String bump;
37
+
38
+ int pw, ph;
39
+ byte[] pigmentdata;
40
+
41
+ int bw, bh;
42
+ byte[] bumpdata;
3943 }