Class NVDrawTexture


  • public class NVDrawTexture
    extends java.lang.Object
    Native bindings to the NV_draw_texture extension.

    This extension provides a new function, DrawTextureNV(), allowing applications to draw an screen-aligned rectangle displaying some or all of the contents of a two-dimensional or rectangle texture. Callers specify a texture object, an optional sampler object, window coordinates of the rectangle to draw, and texture coordinates corresponding to the corners of the rectangle. For each fragment produced by the rectangle, DrawTextureNV interpolates the texture coordinates, performs a texture lookup, and uses the texture result as the fragment color.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void glDrawTextureNV​(int texture, int sampler, float x0, float y0, float x1, float y1, float z, float s0, float t0, float s1, float t1)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • glDrawTextureNV

        public static void glDrawTextureNV​(int texture,
                                           int sampler,
                                           float x0,
                                           float y0,
                                           float x1,
                                           float y1,
                                           float z,
                                           float s0,
                                           float t0,
                                           float s1,
                                           float t1)