Package icyllis.arc3d.core.shaders

# Class Gradient1DShader.ColorTransformer

java.lang.Object
icyllis.arc3d.core.shaders.Gradient1DShader.ColorTransformer

Enclosing class:
  `Gradient1DShader`

public static class Gradient1DShader.ColorTransformer extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `int`
  `mColorCount`
  `float[]`
  `mColors`
  `ColorSpace`
  `mIntermediateColorSpace`
  `float[]`
  `mPositions`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ColorTransformer(Gradient1DShader shader, ColorSpace dstCS)`

- ## Method Summary

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

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

- ## Field Details

  - ### mColorCount

    public int mColorCount

  - ### mColors

    @Size(multiple=4L) @Nonnull public float[] mColors

  - ### mPositions

    @Nullable public float[] mPositions

  - ### mIntermediateColorSpace

    @Nonnull public ColorSpace mIntermediateColorSpace

- ## Constructor Details

  - ### ColorTransformer

    public ColorTransformer(Gradient1DShader shader, ColorSpace dstCS)