c - 如何使OpenGL窗口的背景透明?

标签 c opengl-es background window transparent

我正在制作一个 opengles 2.0 应用程序,我需要使窗口的背景透明,然后在其上显示混合对象。请有人告诉我如何使窗口背景透明。我想要的外观是它看起来好像前面只有一个混合对象。 任何帮助将不胜感激。提前致谢。

此致,

阿迪亚

最佳答案

由于 CE API 是 Win32 API 的子集,因此以下答案可能会让您走上正轨:

How to make an OpenGL rendering context with transparent background?

关于c - 如何使OpenGL窗口的背景透明?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1808596/

相关文章:

android - PowerVR GPU 上的着色器执行流程问题

ios - 在 iOS 中将 NPOT PVR 纹理转换为 POT

python - 如何解决AttributeError : 'module' object has no attribute 'createBackgroundSubtractorMOG' in opencv?

c - 如何使用 blas 以最佳方式转置矩阵?

C:传递函数指针两次

ios - 使用 AVCaptureSession 捕获视频,使用 EAGLContext 没有可见输出

ios - UITableViewCell 自定义(拉伸(stretch))背景使用 UIAppearance

html - div 的响应式背景图像的 CSS 问题

c - 如果条件在 c 中有效,为什么里面有 printf?

c - 如何在make中管理c文件依赖