LutColorFilterAsset

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.

open class LutColorFilterAsset : FilterAsset, FilterAsset.FilterConfigIntensity

Constructors

LutColorFilterAsset
Link copied to clipboard
fun LutColorFilterAsset(id: String?, lutImageSource: <ERROR CLASS>, vTiles: Int, hTiles: Int, textureSize: Int)
LutColorFilterAsset
Link copied to clipboard
fun LutColorFilterAsset(id: String?, lutImageSource: <ERROR CLASS>, vTiles: Int, hTiles: Int)

Types

Companion
Link copied to clipboard
object Companion

Functions

describeContents
Link copied to clipboard
open override fun describeContents(): Int
drawTextureFiltered
Link copied to clipboard
override fun drawTextureFiltered(texture: <ERROR CLASS>)
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
hasIntensityConfig
Link copied to clipboard

Check if the Filter has Intensity Control

override fun hasIntensityConfig(): Boolean
onDrawTextureFiltered
Link copied to clipboard
open override fun onDrawTextureFiltered(texture: <ERROR CLASS>)
toString
Link copied to clipboard
open override fun toString(): String
writeToParcel
Link copied to clipboard
open override fun writeToParcel(parcel: <ERROR CLASS>, flags: Int)

Properties

colorLut
Link copied to clipboard
val colorLut: <ERROR CLASS>
configType
Link copied to clipboard
open override val configType: Class<Out <ERROR CLASS>?>
defaultIntensityValue
Link copied to clipboard
open override val defaultIntensityValue: Float
horizontalTileCount
Link copied to clipboard
val horizontalTileCount: Int
lutBitmap
Link copied to clipboard

Return the Lut as Bitmap. Look at the imgly_lut_identity.png drawable to get a basic none changing LUT.

val lutBitmap: <ERROR CLASS>
neutralStartPoint
Link copied to clipboard
open override val neutralStartPoint: Float
setupBlocks
Link copied to clipboard
override val setupBlocks: MutableList<FilterAsset.SetupInit<Out Any>>
textureSize
Link copied to clipboard
var textureSize: Int
verticalTileCount
Link copied to clipboard
val verticalTileCount: Int