Package jgl.context.render.pixel
Class gl_blend_pixel
java.lang.Object
jgl.context.render.pixel.gl_render_pixel
jgl.context.render.pixel.gl_blend_pixel
gl_blend_pixel is the pixel blending class of jGL 2.4.
It overrides gl_render_pixel to have all
gl_render_pixel.put_pixel(int, int, int)
methods
apply blending first.- Version:
- 0.1, 20 Nov. 2006
- Author:
- Robin Bing-Yu Chen
-
Field Summary
Fields inherited from class jgl.context.render.pixel.gl_render_pixel
CC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
put_pixel
(int x, int y, float z, int color) Put a pixel in the Color Buffer, if the pixel is near View Pointvoid
put_pixel
(int x, int y, int color) Put a pixel in the Color Buffervoid
put_pixel_by_index
(int index, float z, int color) Put a pixel in the Color Buffer, if the pixel is near View Pointvoid
put_pixel_by_index
(int index, int color) Blend the pixel in the Color Buffer with the input colorMethods inherited from class jgl.context.render.pixel.gl_render_pixel
debug_color_to_console, init, light_pixel, light_pixel, put_pixel, put_pixel, put_pixel, put_pixel, put_pixel, put_pixel, put_pixel, put_pixel, put_pixel, put_pixel, put_pixel, put_pixel, put_pixel, put_pixel, put_pixel_by_index, put_pixel_by_index, put_pixel_by_index, put_pixel_by_index, put_pixel_by_index, put_pixel_by_index, put_pixel_by_index, put_pixel_by_index, put_pixel_by_index, put_pixel_by_index, put_pixel_by_index, put_pixel_by_index, put_pixel_by_index, put_pixel_by_index
-
Constructor Details
-
gl_blend_pixel
-
-
Method Details
-
put_pixel_by_index
public void put_pixel_by_index(int index, int color) Blend the pixel in the Color Buffer with the input color- Overrides:
put_pixel_by_index
in classgl_render_pixel
-
put_pixel
public void put_pixel(int x, int y, int color) Put a pixel in the Color Buffer- Overrides:
put_pixel
in classgl_render_pixel
-
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- Overrides:
put_pixel_by_index
in classgl_render_pixel
-
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- Overrides:
put_pixel
in classgl_render_pixel
-