Package icyllis.arc3d.core.shaders

# Class BlendShader

java.lang.Object
icyllis.arc3d.core.RefCnt
icyllis.arc3d.core.shaders.BlendShader

All Implemented Interfaces:
  `RefCounted`, `Shader`

public final class BlendShader extends RefCnt implements Shader

- ## Field Summary

  ### Fields inherited from interface icyllis.arc3d.core.shaders.Shader

  `TILE_MODE_CLAMP, TILE_MODE_DECAL, TILE_MODE_MIRROR, TILE_MODE_REPEAT`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected void`
  `deallocate()`
  Override this method to invoke de-allocation of the underlying resource.
  `@RawPtr Shader`
  `getDst()`
  `BlendMode`
  `getMode()`
  `@RawPtr Shader`
  `getSrc()`
  `static @SharedPtr Shader`
  `make(BlendMode mode, @SharedPtr Shader src, @SharedPtr Shader dst)`

  ### Methods inherited from class icyllis.arc3d.core.RefCnt

  `create, create, getRefCnt, getRefCntAcquire, getRefCntVolatile, move, move, ref, unique, unref`

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

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

  ### Methods inherited from interface icyllis.arc3d.core.RefCounted

  `ref, unref`

  ### Methods inherited from interface icyllis.arc3d.core.shaders.Shader

  `isOpaque, makeWithLocalMatrix`

- ## Method Details

  - ### make

    @Nullable @SharedPtr public static @SharedPtr Shader make(BlendMode mode, @SharedPtr @SharedPtr Shader src, @SharedPtr @SharedPtr Shader dst)

  - ### deallocate

    protected void deallocate()
    Description copied from class: `RefCnt`
    Override this method to invoke de-allocation of the underlying resource.
    Specified by:
      `deallocate` in class `RefCnt`

  - ### getMode

    public BlendMode getMode()

  - ### getSrc

    @RawPtr public @RawPtr Shader getSrc()

  - ### getDst

    @RawPtr public @RawPtr Shader getDst()