/[libvob]/libvob/org/nongnu/libvob/gl/virtualtexture/VirtualTexture.java
ViewVC logotype

Diff of /libvob/org/nongnu/libvob/gl/virtualtexture/VirtualTexture.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by tjl, Fri Oct 10 13:52:24 2003 UTC revision 1.2 by tjl, Sat Oct 18 06:11:15 2003 UTC
# Line 9  import java.io.*; Line 9  import java.io.*;
9  import java.util.*;  import java.util.*;
10  import java.util.zip.*;  import java.util.zip.*;
11    
12  /** An object that associates a mipzip file and an indirect texture.  /** An object that represents a texture to be incrementally loaded from
13     * the disk or re-forgotten.
14     * The texture on disk is represented by a Mipzip file,
15     * and in memory by a GL.IndirectTexture object that will point
16     * to the texture where the image is currently loaded to.
17   */   */
18    
19  public class VirtualTexture {  public class VirtualTexture {
20        public VirtualTexture(MipzipFile mipzipFile) {
21            this.indirectTexture = GL.createIndirectTexture();
22            this.mipzipFile = mipzipFile;
23        }
24      public VirtualTexture(GL.IndirectTexture indirectTexture,      public VirtualTexture(GL.IndirectTexture indirectTexture,
25                          MipzipFile mipzipFile) {                          MipzipFile mipzipFile) {
26          this.indirectTexture = indirectTexture;          this.indirectTexture = indirectTexture;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26