public class SSEPhongLighting_DISTANTPeer extends SSEEffectPeer
Modifier and Type | Field and Description |
---|---|
private java.nio.FloatBuffer |
kvals |
Constructor and Description |
---|
SSEPhongLighting_DISTANTPeer(FilterContext fctx,
Renderer r,
java.lang.String uniqueName) |
Modifier and Type | Method and Description |
---|---|
ImageData |
filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
private static void |
filter(int[] dstPixels,
int dstx,
int dsty,
int dstw,
int dsth,
int dstscan,
int[] bumpImg_arr,
float src0Rect_x1,
float src0Rect_y1,
float src0Rect_x2,
float src0Rect_y2,
int src0w,
int src0h,
int src0scan,
float diffuseConstant,
float[] kvals,
float lightColor_x,
float lightColor_y,
float lightColor_z,
float normalizedLightPosition_x,
float normalizedLightPosition_y,
float normalizedLightPosition_z,
int[] origImg_arr,
float src1Rect_x1,
float src1Rect_y1,
float src1Rect_x2,
float src1Rect_y2,
int src1w,
int src1h,
int src1scan,
float specularConstant,
float specularExponent) |
private float |
getDiffuseConstant() |
protected PhongLighting |
getEffect() |
private java.nio.FloatBuffer |
getKvals() |
private int |
getKvalsArrayLength() |
private float[] |
getLightColor() |
private float[] |
getLightPosition() |
private float |
getLightSpecularExponent() |
private float[] |
getNormalizedLightDirection() |
private float[] |
getNormalizedLightPosition() |
private float |
getSpecularConstant() |
private float |
getSpecularExponent() |
private float |
getSurfaceScale() |
dispose, getAccelType, getDestBounds, getDestNativeBounds, getFilterContext, getInputBounds, getInputNativeBounds, getInputTransform, getPass, getRenderer, getRenderState, getResultBounds, getSamplerData, getSourceRegion, getTextureCoordinates, getTextureCoordinates, getUniqueName, isImageDataCompatible, isOriginUpperLeft, setDestBounds, setDestNativeBounds, setEffect, setInputBounds, setInputNativeBounds, setInputTransform, setPass, setRenderState
public SSEPhongLighting_DISTANTPeer(FilterContext fctx, Renderer r, java.lang.String uniqueName)
protected final PhongLighting getEffect()
getEffect
in class EffectPeer
private float getSurfaceScale()
private float getDiffuseConstant()
private float getSpecularConstant()
private float getSpecularExponent()
private float[] getNormalizedLightPosition()
private float[] getLightPosition()
private float[] getLightColor()
private float getLightSpecularExponent()
private float[] getNormalizedLightDirection()
private java.nio.FloatBuffer getKvals()
private int getKvalsArrayLength()
public ImageData filter(Effect effect, RenderState rstate, BaseTransform transform, Rectangle outputClip, ImageData... inputs)
filter
in class EffectPeer
private static void filter(int[] dstPixels, int dstx, int dsty, int dstw, int dsth, int dstscan, int[] bumpImg_arr, float src0Rect_x1, float src0Rect_y1, float src0Rect_x2, float src0Rect_y2, int src0w, int src0h, int src0scan, float diffuseConstant, float[] kvals, float lightColor_x, float lightColor_y, float lightColor_z, float normalizedLightPosition_x, float normalizedLightPosition_y, float normalizedLightPosition_z, int[] origImg_arr, float src1Rect_x1, float src1Rect_y1, float src1Rect_x2, float src1Rect_y2, int src1w, int src1h, int src1scan, float specularConstant, float specularExponent)