在运行时更改 opengles 中对象的颜色

发布于 2025-01-05 17:34:17 字数 150 浏览 1 评论 0原文

我想在 OpenGLES 中动态更改对象的颜色。我在屏幕上放置一个按钮,每当我单击该按钮时,它都会显示颜色选择器(这里我使用 HUE 颜色选择器)。我想将选定的颜色应用于我的对象。当我将 CPP 类导入到 colorpickerview 类时,它会给出这么多错误。任何人都可以帮助我吗?

I want to change the color of my object dynamically in OpenGLES.I put one button on the screen and whenever I click the button, it will show the color picker(Here I am using HUE color picker). And I want to apply that selected color to my object.As I am importing CPP class to colorpickerview class, it will giving the so many errors.Can any one help me out.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文