About validateRenderable #10122
Unanswered
zjkmxy
asked this question in
v8 General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the document of
RenderPipe.validateRenderable
:pixijs/src/rendering/renderers/shared/instructions/RenderPipe.ts
Lines 92 to 99 in 56ec6c4
It says if this function returns false, the renderer will rebuild.
However, in the
validateRenderables
:pixijs/src/scene/container/utils/validateRenderables.ts
Lines 18 to 23 in 56ec6c4
It seems that rebuild is scheduled only when
validateRenderable
returns true.The implementations of actual RenderPipe seem to agree with the rebuild-when-true model.
I want to confirm whether the docstring is wrong.
Beta Was this translation helpful? Give feedback.
All reactions