ShaderKt

Added in 1.1.0

public final class ShaderKt


Summary

Public methods

static final void
transform(
    @NonNull Shader receiver,
    @ExtensionFunctionType @NonNull Function1<@NonNull MatrixUnit> block
)

Wrap the specified block in calls to Shader.getLocalMatrix and Shader.setLocalMatrix.

Public methods

transform

public static final void transform(
    @NonNull Shader receiver,
    @ExtensionFunctionType @NonNull Function1<@NonNull MatrixUnit> block
)

Wrap the specified block in calls to Shader.getLocalMatrix and Shader.setLocalMatrix.