标签:http color io ar for strong sp on html
以下是Cg(NVIDIA C for graphics)保留字列表。标有星号的话是不区分大小写的。
除了 ??这个名单上的话,任何以两个的下划线作为前缀(例如,__ newType)的标识符被保留。注意,矩阵(matrix)和向量类型(vector types)(如half2x3或float4)不在该列表中,因为它们可以被用作标识符。不过,我们建议你把矩阵和向量类型的保留字,从而避免混淆
asm* explicit pixelfragment* template asm_fragment extern pixelshader* texture* auto FALSE private texture1D bool fixed protected texture2D break float* public texture3D case for register textureCUBE catch friend reinterpret_cast textureRECT char get return this class goto row_major throw column_major half sampler TRUE compile if sampler_state try const in sampler1D typedef const_cast inline sampler2D typeid continue inout sampler3D typename decl* int samplerCUBE uniform default interface shared union delete long short unsigned discard matrix* signed using do mutable sizeof vector* double namespace static vertexfragment* dword* new static_cast vertexshader* dynamic_cast operator string* virtual else out struct void emit packed switch volatile enum pass* technique* while
版权归 NVIDIA公司:http://http.developer.nvidia.com/CgTutorial/cg_tutorial_appendix_d.html
标签:http color io ar for strong sp on html
原文地址:http://www.cnblogs.com/zhaoqingqing/p/4051086.html