- OpenGL 4.0 Shading Language Cookbook
- David Wolff
- 194字
- 2021-04-02 18:59:32
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "The ambient component is computed and stored in the variable named ambient
".
A block of code is set as follows:
#version 400 in vec3 LightIntensity; layout( location = 0 ) out vec4 FragColor; void main() { FragColor = vec4(LightIntensity, 1.0); }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
QGLFormat format;
format.setVersion(4,0);
format.setProfile(QGLFormat::CoreProfile);
QGLWidget *myWidget = new QGLWidget(format);
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "The four corners of the quad are given by: e0 – ext, e0 – n – ext, e1 + ext, and e1 –n + ext as shown in the preceding diagram".
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.
- Photoshop+Camera Raw風光、人文、城市、星空攝影后期技法(全彩)
- Drupal 7 Module Development
- UG NX 12.0中文版完全自學一本通
- UG NX 8.0基礎與實例教程
- MLOps實戰:機器學習模型的開發、部署與應用
- PowerPoint 2019從入門到精通(移動學習版)
- 無師自通AutoCAD:中文版室內設計
- Drupal: Creating Blogs, Forums, Portals, and Community Websites
- Creo 4.0從入門到精通
- Java EE 6 with GlassFish 3 Application Server
- 網店美工設計:Photoshop CC案例教程(視頻指導版)
- After Effects 2022從新手到高手
- 虛擬現實:沉浸于VR夢境
- SolidWorks 2020中文版從入門到精通
- After Effects印象 影視高級特效光影篇