public class GPUImageCrosshatchFilter extends GPUImageFilter
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static java.lang.String |
CROSSHATCH_FRAGMENT_SHADER |
mGLAttribPosition, mGLAttribTextureCoordinate, mGLProgId, mGLUniformTexture, mOutputHeight, mOutputWidth, NO_FILTER_FRAGMENT_SHADER, NO_FILTER_VERTEX_SHADER| コンストラクタと説明 |
|---|
GPUImageCrosshatchFilter()
Using default values of crossHatchSpacing: 0.03f and lineWidth: 0.003f.
|
GPUImageCrosshatchFilter(float crossHatchSpacing,
float lineWidth) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
onInit() |
void |
onInitialized() |
void |
setCrossHatchSpacing(float crossHatchSpacing)
The fractional width of the image to use as the spacing for the crosshatch.
|
void |
setLineWidth(float lineWidth)
A relative width for the crosshatch lines.
|
convertStreamToString, destroy, getAttribPosition, getAttribTextureCoordinate, getOutputHeight, getOutputWidth, getProgram, getUniformTexture, init, isInitialized, loadShader, onDestroy, onDraw, onDrawArraysPre, onOutputSizeChanged, runOnDraw, runPendingOnDrawTasks, setFloat, setFloatArray, setFloatVec2, setFloatVec3, setFloatVec4, setInteger, setPoint, setUniformMatrix3f, setUniformMatrix4fpublic static final java.lang.String CROSSHATCH_FRAGMENT_SHADER
public GPUImageCrosshatchFilter()
public GPUImageCrosshatchFilter(float crossHatchSpacing,
float lineWidth)
public void onInit()
onInit クラス内 GPUImageFilterpublic void onInitialized()
onInitialized クラス内 GPUImageFilterpublic void setCrossHatchSpacing(float crossHatchSpacing)
crossHatchSpacing - default 0.03public void setLineWidth(float lineWidth)
lineWidth - default 0.003