Use it in a fragment program when rendering into a depth texture.
当渲染到深度纹理时,在片段程序中使用它。
When rendering into the depth texture, fragment program must output the value needed.
当渲染到纹理时,片段程序必须能够输出需要的数值。
The remainder of the computation is performed on a per-pixel basis in a fragment program.
剩下的计算是就是在片元程序中逐像素计算修正。
Depth texture corresponds to Z buffer contents that are rendered, it does not use the result from the fragment program.
深度纹理对应于Z缓冲区所渲染的内容,它并不使用片段程序所输出的结果。
Specifically, you're probably writing code that looks something like Listing 1, a fragment from a program that parses an XML document using SAX.
明确地说,您也许正编写与清单1相似的代码,使用SAX解析xml文档的程序的一个片段。
Specifically, you're probably writing code that looks something like Listing 1, a fragment from a program that parses an XML document using SAX.
明确地说,您也许正编写与清单1相似的代码,使用SAX解析xml文档的程序的一个片段。
应用推荐