/[gzz]/gzz/gzz/gfx/gl/GL.java
ViewVC logotype

Diff of /gzz/gzz/gfx/gl/GL.java

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

revision 1.33 by tjl, Sat Dec 14 08:35:18 2002 UTC revision 1.34 by tjl, Sun Dec 29 20:33:13 2002 UTC
# Line 750  public class GL { Line 750  public class GL {
750              return impl_ByteVector_getInts(getId());              return impl_ByteVector_getInts(getId());
751          }          }
752    
753            /** Shade the given Texture into this bytevector, using 32-bit floats.
754             * Sets the bytevector length to w*h*(d > 0?d : 1) * comps * 4
755             */
756            public int shade(int w, int h, int d, int comps,
757                    String shaderName, String[] params) {
758                return impl_ByteVector_shade(getId(), w, h, d, comps, shaderName, params);
759            }
760    
761      }      }
762      /** Create a new bytevector of size 0.      /** Create a new bytevector of size 0.
763       */       */
# Line 776  public class GL { Line 784  public class GL {
784      static private native byte[] impl_ByteVector_get(int id);      static private native byte[] impl_ByteVector_get(int id);
785      static private native int[] impl_ByteVector_getInts(int id);      static private native int[] impl_ByteVector_getInts(int id);
786    
787        static private native int impl_ByteVector_shade(int id, int w, int h, int d,
788                        int comps, String shaderName, String[] params);
789    
790    
791  //----------Misc  //----------Misc
792    
793      /** CallGL the given string.      /** CallGL the given string.

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

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