readme-glsl

来自「奇趣公司比较新的qt/emd版本」· 代码 · 共 19 行

TXT
19
字号
Use of GLSL for vertex and fragment programs in Qt---------------------------------------------------We don't compile the *.glsl files because we don't want the build process ofQt to require cgc from nVidia to build the fragment programs.The script src/opengl/util/glsl_to_include.sh will compile a GLSL program to a filethat can be included in a C(++) program. The file is the output from cgcquoted as a string.This can be done manually by:./glsl_to_include.sh radial.glsl./glsl_to_include.sh conical.glslThis will produce the files radial.frag and radial.glsl_quoted.(and also conical.frag and conical.glsl_quoted)These files are included by qpaintengine_opengl.cpp

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?