Skip to content

没有办法清除之前绘画痕迹。 #1

Description

@qazqaz12378

你好,我这边尝试使用您的代码后,发现直接调用 Graphics.Blit(null, _renderTex, _clearBrushMat); 界面没有任何反应,之前绘画的内容还是保留着,之前的代码会在每次启动时,判断是否有生成renderTexture,没有时会重新生成一个,而不是通过Graphics.Blit(null, _renderTex, _clearBrushMat); 这个代码直接清空内容。
请问下我要想在不重新创建RenderTexture只是单纯用Graphics做清空之前绘画内容的话,要怎么做呢?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions