Package icyllis.arc3d.granite

# Class KeyContext

java.lang.Object
icyllis.arc3d.granite.KeyContext

public class KeyContext extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `KeyContext(@RawPtr RecordingContext recordingContext, ImageInfo targetInfo)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `float`
  `a()`
  Returns the value of the alpha component, in destination space.
  `float`
  `b()`
  Returns the value of the blue component, in destination space.
  `float`
  `g()`
  Returns the value of the green component, in destination space.
  `Caps`
  `getCaps()`
  `@RawPtr RecordingContext`
  `getRecordingContext()`
  Raw ptr to context, null when pre-compiling shaders.
  `float`
  `r()`
  Returns the value of the red component, in destination space.
  `void`
  `reset(PaintParams paintParams)`
  `ImageInfo`
  `targetInfo()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### KeyContext

    public KeyContext(@RawPtr @RawPtr RecordingContext recordingContext, ImageInfo targetInfo)

- ## Method Details

  - ### reset

    public void reset(PaintParams paintParams)

  - ### getRecordingContext

    @RawPtr @Nullable public @RawPtr RecordingContext getRecordingContext()
    Raw ptr to context, null when pre-compiling shaders.

  - ### getCaps

    public Caps getCaps()

  - ### r

    public float r()
    Returns the value of the red component, in destination space.

  - ### g

    public float g()
    Returns the value of the green component, in destination space.

  - ### b

    public float b()
    Returns the value of the blue component, in destination space.

  - ### a

    public float a()
    Returns the value of the alpha component, in destination space.

  - ### targetInfo

    public ImageInfo targetInfo()