(BlendMode mode, Shader dst, Shader src)
| 375 | } |
| 376 | |
| 377 | public static Shader makeBlend(BlendMode mode, Shader dst, Shader src) { |
| 378 | try { |
| 379 | Stats.onNativeCall(); |
| 380 | return new Shader(_nMakeBlend(mode.ordinal(), Native.getPtr(dst), Native.getPtr(src))); |
| 381 | } finally { |
| 382 | ReferenceUtil.reachabilityFence(dst); |
| 383 | ReferenceUtil.reachabilityFence(src); |
| 384 | } |
| 385 | } |
| 386 | |
| 387 | @ApiStatus.Internal |
| 388 | public Shader(long ptr) { |
no test coverage detected