ShaderKt

public final class ShaderKt


Summary

Public methods

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

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

Public methods

ShaderKt.transform

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

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