how to add texture in an inherited class of GrFragmentProcessor? must inherite from GrTextureEffect?

11 views
Skip to first unread message

nil

unread,
Dec 11, 2025, 9:41:57 AM (5 days ago) Dec 11
to skia-discuss
how to add texture in an inherited class of GrFragmentProcessor? must inherite from GrTextureEffect?

Michael Ludwig

unread,
Dec 11, 2025, 9:44:05 AM (5 days ago) Dec 11
to skia-discuss
I strongly recommend that you do not do that.  Those are internal source files and will be inaccessible to client code when using the Bazel build (our GN does not provide isolation enforcement). If you want a custom effect, you should create an SkRuntimeEffect.

nil

unread,
Dec 12, 2025, 11:42:42 AM (4 days ago) Dec 12
to skia-discuss
ok, Thank you very much!
Reply all
Reply to author
Forward
0 new messages