Class gl_render_pixel

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected gl_context CC  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void debug_color_to_console​(int color)  
      void init​(int dx, int dy)  
      protected int light_pixel​(int t, int c)  
      protected int light_pixel​(int t, int[] c)  
      void put_pixel​(int x, int y, float s, float t, float r)
      Put a texturing pixel in the Color Buffer
      void put_pixel​(int x, int y, float z, float s, float t, float r)
      Put a texturing pixel in the Color Buffer with depth value
      void put_pixel​(int x, int y, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy)
      Put a mip-mapped pixel in the Color Buffer
      void put_pixel​(int x, int y, float z, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy)
      Put a mip-mapped pixel in the Color Buffer with depth value
      void put_pixel​(int x, int y, float z, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int c)
      Put a lighting mip-mapped pixel in the Color Buffer with depth value
      void put_pixel​(int x, int y, float z, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int[] c)
      Put a lighting mip-mapped pixel in the Color Buffer with depth value
      void put_pixel​(int x, int y, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int c)
      Put a lighting mip-mapped pixel in the Color Buffer
      void put_pixel​(int x, int y, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int[] c)
      Put a lighting mip-mapped pixel in the Color Buffer
      void put_pixel​(int x, int y, float z, float s, float t, float r, int c)
      Put a texturing pixel in the Color Buffer with depth value
      void put_pixel​(int x, int y, float z, float s, float t, float r, int[] c)
      Put a texturing pixel in the Color Buffer with depth value
      void put_pixel​(int x, int y, float s, float t, float r, int c)
      Put a lighting texturing pixel in the Color Buffer
      void put_pixel​(int x, int y, float s, float t, float r, int[] c)
      Put a lighting texturing pixel in the Color Buffer
      void put_pixel​(int x, int y, float z, int color)
      Put a pixel in the Color Buffer, if the pixel is near View Point
      void put_pixel​(int x, int y, float z, int[] c)
      Convert the color array to call real put_pixel
      void put_pixel​(int x, int y, int color)
      Put a pixel in the Color Buffer
      void put_pixel​(int x, int y, int[] c)
      Convert the color array to call real put_pixel
      void put_pixel_by_index​(int index, float s, float t, float r)
      Put a texturing pixel in the Color Buffer
      void put_pixel_by_index​(int index, float z, float s, float t, float r)
      Put a texturing pixel in the Color Buffer with depth value
      void put_pixel_by_index​(int index, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy)
      Put a mip-mapped pixel in the Color Buffer
      void put_pixel_by_index​(int index, float z, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy)
      Put a mip-mapped pixel in the Color Buffer with depth value
      void put_pixel_by_index​(int index, float z, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int c)
      Put a lighting mip-mapped pixel in the Color Buffer with depth value
      void put_pixel_by_index​(int index, float z, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int[] c)
      Put a lighting mip-mapped pixel in the Color Buffer with depth value
      void put_pixel_by_index​(int index, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int c)
      Put a lighting mip-mapped pixel in the Color Buffer
      void put_pixel_by_index​(int index, float w, float s, float t, float r, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy, int[] c)
      Put a lighting mip-mapped pixel in the Color Buffer
      void put_pixel_by_index​(int index, float z, float s, float t, float r, int c)
      Put a lighting texturing pixel in the Color Buffer with depth value
      void put_pixel_by_index​(int index, float z, float s, float t, float r, int[] c)
      Put a lighting texturing pixel in the Color Buffer with depth value
      void put_pixel_by_index​(int index, float s, float t, float r, int c)
      Put a lighting texturing pixel in the Color Buffer
      void put_pixel_by_index​(int index, float s, float t, float r, int[] c)
      Put a lighting texturing pixel in the Color Buffer
      void put_pixel_by_index​(int index, float z, int color)
      Put a pixel in the Color Buffer, if the pixel is near View Point
      void put_pixel_by_index​(int index, float z, int[] c)
      Convert the color array to call real put_pixel
      void put_pixel_by_index​(int index, int color)
      Put a pixel in the Color Buffer
      void put_pixel_by_index​(int index, int[] c)
      Convert the color array to call real put_pixel
    • Constructor Detail

      • gl_render_pixel

        public gl_render_pixel​(gl_context cc)
    • Method Detail

      • debug_color_to_console

        public static void debug_color_to_console​(int color)
      • put_pixel_by_index

        public void put_pixel_by_index​(int index,
                                       int color)
        Put a pixel in the Color Buffer
      • put_pixel

        public void put_pixel​(int x,
                              int y,
                              int color)
        Put a pixel in the Color Buffer
      • put_pixel_by_index

        public void put_pixel_by_index​(int index,
                                       float z,
                                       int color)
        Put a pixel in the Color Buffer, if the pixel is near View Point
      • put_pixel

        public void put_pixel​(int x,
                              int y,
                              float z,
                              int color)
        Put a pixel in the Color Buffer, if the pixel is near View Point
      • put_pixel_by_index

        public void put_pixel_by_index​(int index,
                                       int[] c)
        Convert the color array to call real put_pixel
      • put_pixel

        public void put_pixel​(int x,
                              int y,
                              int[] c)
        Convert the color array to call real put_pixel
      • put_pixel_by_index

        public void put_pixel_by_index​(int index,
                                       float z,
                                       int[] c)
        Convert the color array to call real put_pixel
      • put_pixel

        public void put_pixel​(int x,
                              int y,
                              float z,
                              int[] c)
        Convert the color array to call real put_pixel
      • put_pixel_by_index

        public void put_pixel_by_index​(int index,
                                       float s,
                                       float t,
                                       float r)
        Put a texturing pixel in the Color Buffer
      • put_pixel

        public void put_pixel​(int x,
                              int y,
                              float s,
                              float t,
                              float r)
        Put a texturing pixel in the Color Buffer
      • put_pixel_by_index

        public void put_pixel_by_index​(int index,
                                       float z,
                                       float s,
                                       float t,
                                       float r)
        Put a texturing pixel in the Color Buffer with depth value
      • put_pixel

        public void put_pixel​(int x,
                              int y,
                              float z,
                              float s,
                              float t,
                              float r)
        Put a texturing pixel in the Color Buffer with depth value
      • put_pixel_by_index

        public void put_pixel_by_index​(int index,
                                       float w,
                                       float s,
                                       float t,
                                       float r,
                                       float dsdx,
                                       float dsdy,
                                       float dtdx,
                                       float dtdy,
                                       float drdx,
                                       float drdy)
        Put a mip-mapped pixel in the Color Buffer
      • put_pixel

        public void put_pixel​(int x,
                              int y,
                              float w,
                              float s,
                              float t,
                              float r,
                              float dsdx,
                              float dsdy,
                              float dtdx,
                              float dtdy,
                              float drdx,
                              float drdy)
        Put a mip-mapped pixel in the Color Buffer
      • put_pixel_by_index

        public void put_pixel_by_index​(int index,
                                       float z,
                                       float w,
                                       float s,
                                       float t,
                                       float r,
                                       float dsdx,
                                       float dsdy,
                                       float dtdx,
                                       float dtdy,
                                       float drdx,
                                       float drdy)
        Put a mip-mapped pixel in the Color Buffer with depth value
      • put_pixel

        public void put_pixel​(int x,
                              int y,
                              float z,
                              float w,
                              float s,
                              float t,
                              float r,
                              float dsdx,
                              float dsdy,
                              float dtdx,
                              float dtdy,
                              float drdx,
                              float drdy)
        Put a mip-mapped pixel in the Color Buffer with depth value
      • light_pixel

        protected int light_pixel​(int t,
                                  int c)
      • light_pixel

        protected int light_pixel​(int t,
                                  int[] c)
      • put_pixel_by_index

        public void put_pixel_by_index​(int index,
                                       float s,
                                       float t,
                                       float r,
                                       int c)
        Put a lighting texturing pixel in the Color Buffer
      • put_pixel

        public void put_pixel​(int x,
                              int y,
                              float s,
                              float t,
                              float r,
                              int c)
        Put a lighting texturing pixel in the Color Buffer
      • put_pixel_by_index

        public void put_pixel_by_index​(int index,
                                       float z,
                                       float s,
                                       float t,
                                       float r,
                                       int c)
        Put a lighting texturing pixel in the Color Buffer with depth value
      • put_pixel

        public void put_pixel​(int x,
                              int y,
                              float z,
                              float s,
                              float t,
                              float r,
                              int c)
        Put a texturing pixel in the Color Buffer with depth value
      • put_pixel_by_index

        public void put_pixel_by_index​(int index,
                                       float w,
                                       float s,
                                       float t,
                                       float r,
                                       float dsdx,
                                       float dsdy,
                                       float dtdx,
                                       float dtdy,
                                       float drdx,
                                       float drdy,
                                       int c)
        Put a lighting mip-mapped pixel in the Color Buffer
      • put_pixel

        public void put_pixel​(int x,
                              int y,
                              float w,
                              float s,
                              float t,
                              float r,
                              float dsdx,
                              float dsdy,
                              float dtdx,
                              float dtdy,
                              float drdx,
                              float drdy,
                              int c)
        Put a lighting mip-mapped pixel in the Color Buffer
      • put_pixel_by_index

        public void put_pixel_by_index​(int index,
                                       float z,
                                       float w,
                                       float s,
                                       float t,
                                       float r,
                                       float dsdx,
                                       float dsdy,
                                       float dtdx,
                                       float dtdy,
                                       float drdx,
                                       float drdy,
                                       int c)
        Put a lighting mip-mapped pixel in the Color Buffer with depth value
      • put_pixel

        public void put_pixel​(int x,
                              int y,
                              float z,
                              float w,
                              float s,
                              float t,
                              float r,
                              float dsdx,
                              float dsdy,
                              float dtdx,
                              float dtdy,
                              float drdx,
                              float drdy,
                              int c)
        Put a lighting mip-mapped pixel in the Color Buffer with depth value
      • put_pixel_by_index

        public void put_pixel_by_index​(int index,
                                       float s,
                                       float t,
                                       float r,
                                       int[] c)
        Put a lighting texturing pixel in the Color Buffer
      • put_pixel

        public void put_pixel​(int x,
                              int y,
                              float s,
                              float t,
                              float r,
                              int[] c)
        Put a lighting texturing pixel in the Color Buffer
      • put_pixel_by_index

        public void put_pixel_by_index​(int index,
                                       float z,
                                       float s,
                                       float t,
                                       float r,
                                       int[] c)
        Put a lighting texturing pixel in the Color Buffer with depth value
      • put_pixel

        public void put_pixel​(int x,
                              int y,
                              float z,
                              float s,
                              float t,
                              float r,
                              int[] c)
        Put a texturing pixel in the Color Buffer with depth value
      • put_pixel_by_index

        public void put_pixel_by_index​(int index,
                                       float w,
                                       float s,
                                       float t,
                                       float r,
                                       float dsdx,
                                       float dsdy,
                                       float dtdx,
                                       float dtdy,
                                       float drdx,
                                       float drdy,
                                       int[] c)
        Put a lighting mip-mapped pixel in the Color Buffer
      • put_pixel

        public void put_pixel​(int x,
                              int y,
                              float w,
                              float s,
                              float t,
                              float r,
                              float dsdx,
                              float dsdy,
                              float dtdx,
                              float dtdy,
                              float drdx,
                              float drdy,
                              int[] c)
        Put a lighting mip-mapped pixel in the Color Buffer
      • put_pixel_by_index

        public void put_pixel_by_index​(int index,
                                       float z,
                                       float w,
                                       float s,
                                       float t,
                                       float r,
                                       float dsdx,
                                       float dsdy,
                                       float dtdx,
                                       float dtdy,
                                       float drdx,
                                       float drdy,
                                       int[] c)
        Put a lighting mip-mapped pixel in the Color Buffer with depth value
      • put_pixel

        public void put_pixel​(int x,
                              int y,
                              float z,
                              float w,
                              float s,
                              float t,
                              float r,
                              float dsdx,
                              float dsdy,
                              float dtdx,
                              float dtdy,
                              float drdx,
                              float drdy,
                              int[] c)
        Put a lighting mip-mapped pixel in the Color Buffer with depth value
      • init

        public void init​(int dx,
                         int dy)