- OpenGL 4 Shading Language Cookbook(Second Edition)
- David Wolff
- 169字
- 2021-07-21 17:50:55
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, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The number of work groups are determined by the parameters to glDispatchCompute
."
A block of code is set as follows:
void main() { Color = VertexColor; gl_Position = RotationMatrix * vec4(VertexPosition,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:
void main()
{
Color = VertexColor;
gl_Position = RotationMatrix * vec4(VertexPosition,1.0);
}
Any command-line input or output is written as follows:
Active attributes: 1 VertexColor (vec3) 0 VertexPosition (vec3)
New terms and important words are shown in bold.
推薦閱讀
- 工業機器人技術及應用
- 西門子S7-200 SMART PLC從入門到精通
- 機器自動化控制器原理與應用
- Spark大數據技術與應用
- The Python Workshop
- 空間站多臂機器人運動控制研究
- Hands-On Reactive Programming with Reactor
- Building a BeagleBone Black Super Cluster
- 自動化生產線安裝與調試(三菱FX系列)(第二版)
- Mastering pfSense
- ASP.NET 2.0 Web開發入門指南
- Kubernetes on AWS
- Getting Started with Tableau 2019.2
- Appcelerator Titanium Smartphone App Development Cookbook(Second Edition)
- 系統建模與控制導論