class FilterAsset : AbstractAsset
Represents the Image-Filter base file. For Camera live Preview the filter is OpenGl Based but has also a Renderscript implementation to triggerOperatorsIfNeeded final images in full resolution.
interface FilterConfigIntensity
Implement this interface if a Filter has Intensity Control |
FilterAsset(id: java.lang.String) FilterAsset(in: Parcel) |
fun describeContents(): int |
|
fun getConfigType(): java.lang.Class<? extends ly.img.android.pesdk.backend.model.config.AbstractAsset> |
|
fun getDefaultIntensityValue(): float |
|
fun getNeutralStartPoint(): float |
|
fun hasIntensityConfig(): boolean
Check if the Filter has Intensity Control |
|
fun onDraw(program: ly.img.android.opengl.canvas.GlProgram, intensity: float): void |
|
fun preloadLut(): void |
|
fun release(): void |
|
fun renderImage(bitmap: Bitmap, previewRendering: boolean): Bitmap fun renderImage(bitmap: Bitmap, intensity: float, previewRendering: boolean): Bitmap fun renderImage(allocation: Allocation, intensity: float, previewMode: boolean): Allocation |
|
fun unloadLut(): void |
|
fun writeToParcel(dest: Parcel, flags: int): void |
CREATOR |
|
NONE_FILER |
|
NONE_FILTER_ID |
class DuotoneFilterAsset : FilterAsset, FilterAsset.FilterConfigIntensity |
|
class FilterAssetHatch : FilterAsset
Represents the Image-Filter base file. For Camera live Preview the filter is OpenGl Based but has also a Renderscript implementation to triggerOperatorsIfNeeded final images in full resolution. |
|
class LutColorFilterAsset : FilterAsset, FilterAsset.FilterConfigIntensity
Represents a "Look up table" (Lut) FilterAsset For Camera live Preview the filter is OpenGl Based but has also a Renderscript implementation to renderIfNeeded final images in full resolution. |