【文件属性】:
文件名称:Android代码-android-gpuimage
文件大小:360KB
文件格式:ZIP
更新时间:2022-08-26 01:41:56
Android代码
GPUImage for Android
Idea from: iOS GPUImage framework
Goal is to have something as similar to GPUImage as possible. Vertex and fragment shaders are exactly the same. That way it makes it easier to port filters from GPUImage iOS to Android.
Requirements
Android 2.2 or higher (OpenGL ES 2.0)
Usage
Gradle dependency
repositories {
jcenter()
}
dependencies {
implementation 'jp.co.cyberagent.android:gpuimage:2.x.x'
}
Sample Code
With preview:
Java:
@Override
public void onCreate(final