CG keywords (keywords)

Source: Internet
Author: User
Tags keyword list
D. 1 CG keyword list

The following is a reserved word list of CG (nvidia c for graphics. It is case-insensitive if it is marked with an asterisk.

Except ?? In this list, any prefix with two underlines (for example ,__Newtype. Note: matrix and vector type (such as vector types)Half2x3OrFloat4) Is not in the list because they can be used as identifiers. However, we recommend that you reserve words for the matrix and vector types to avoid confusion.

asm*              explicit           pixelfragment*       templateasm_fragment      extern             pixelshader*         texture*auto              FALSE              private              texture1Dbool              fixed              protected            texture2Dbreak             float*             public               texture3Dcase              for                register             textureCUBEcatch             friend             reinterpret_cast     textureRECTchar              get                return               thisclass             goto               row_major            throwcolumn_major      half               sampler              TRUEcompile           if                 sampler_state        tryconst             in                 sampler1D            typedefconst_cast        inline             sampler2D            typeidcontinue          inout              sampler3D            typenamedecl*             int                samplerCUBE          uniformdefault           interface          shared               uniondelete            long               short                unsigneddiscard           matrix*            signed               usingdo                mutable            sizeof               vector*double            namespace          static               vertexfragment*dword*            new                static_cast          vertexshader*dynamic_cast      operator           string*              virtualelse              out                struct               voidemit              packed             switch               volatileenum              pass*              technique*           while

 

Copyright to NVIDIA: http://http.developer.nvidia.com/CgTutorial/cg_tutorial_appendix_d.html

CG keywords (keywords)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.