public class

GLUtils.SamplerShaderProgram

extends GLUtils.Program2D

 java.lang.Object

androidx.camera.core.processing.util.GLUtils.Program2D

↳androidx.camera.core.processing.util.GLUtils.SamplerShaderProgram

Summary

Fields
from GLUtils.Program2DmAlphaScaleLoc, mPositionLoc, mProgramHandle, mTransMatrixLoc
Constructors
publicSamplerShaderProgram(DynamicRange dynamicRange, GLUtils.InputFormat inputFormat)

publicSamplerShaderProgram(DynamicRange dynamicRange, ShaderProvider shaderProvider)

Methods
public voidupdateTextureMatrix(float[] textureMat[])

Updates the texture transform matrix

public voiduse()

Use this shader program

from GLUtils.Program2Ddelete, updateAlpha, updateTransformMatrix
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public SamplerShaderProgram(DynamicRange dynamicRange, GLUtils.InputFormat inputFormat)

public SamplerShaderProgram(DynamicRange dynamicRange, ShaderProvider shaderProvider)

Methods

public void use()

Use this shader program

public void updateTextureMatrix(float[] textureMat[])

Updates the texture transform matrix