O'Reilly logo

Introduction to 3D Game Programming with DirectX 10 by Frank Luna

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix B

High-Level Shading Language Reference

B.1 Variable Types

B.1.1 Scalar Types

Image    bool: True or false value. Note that the HLSL provides the true and false keywords like in C++.

Image    int: 32-bit signed integer.

Image    half: 16-bit floating-point number.

Image    float: 32-bit floating-point number.

    double: 64-bit floating-point number.

 

Note:    Some ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required