Cg_Language fp30
来源:互联网 发布:澳大利亚程序员工资 编辑:程序博客网 时间:2024/06/03 18:28
Profile Options
NumInstructionSlots=val
How many instructions the compiler should assume it can use.
NumTemps=val
How many temporaries the compiler should assume it can use.
Data Types
fixed
The fixed data type corresponds to a native signed fixed-point integers with the range [-2.0,+2.0), sometimes called fx12. This type provides 10 fractional bits of precision.
half
The half data type corresponds to a floating-point encoding with a sign bit, 10 mantissa bits, and 5 exponent bits (biased by 16), sometimes called s10e5.
float
The float data type corresponds to a standard IEEE 754 single-precision floating-point encoding with a sign bit, 23 mantissa bits, and 8 exponent bits (biased by 128), sometimes called s10e5.
Semantics
Varying Input Semantics
The varying input semantics in the fp30 profile correspond to the respectively named varying output semantics of the vp30 profile.
Binding Semantics Name : Corresponding Data
COL
COL0
COLOR
COLOR0:Input primary color
COL1
COLOR1 :Input secondary color
TEX0
TEXCOORD0:Input texture coordinate sets 0
TEX1
TEXCOORD1:Input texture coordinate sets 1
TEX2
TEXCOORD2:Input texture coordinate sets 2
TEX3
TEXCOORD3: Input texture coordinate sets 3
TEX4
TEXCOORD4:Input texture coordinate sets 4
TEX5
TEXCOORD5: Input texture coordinate sets 5
TEX6
TEXCOORD6:Input texture coordinate sets 6
TEX7
TEXCOORD7:Input texture coordinate sets 7
FOG
FOGP : Input fog color (XYZ) and factor (W)
Uniform Input Semantics
Sixteen texture units are supported:
Binding Semantic Name : Corresponding Data
TEXUNIT0 :Texture unit 0
TEXUNIT1 : Texture unit 1
…
TEXUNIT15 :Texture unit 15
Output Semantics
COL
COL0
COLOR
COLOR0:Output color (float4)
DEPR
DEPTH :Output depth (float)
- Cg_Language fp30
- Cg_Language 笔记-基本语法
- Cg_Language 笔记-内置函数库
- 1065. 单身狗(25)
- 第六学:binder---client与server向SM的求学之路
- 每个App都会用到的LoadingLayout(加载中、正在加载、无网络连接等......)
- 【html】<a>标签中的href和onclick的区别
- Java中Filter、Servlet、Listener的学习
- Cg_Language fp30
- “34天搞定4、6、TOEFL单词”时间表
- 设置Eclipse中的tab键为4个空格的完整方法
- Counting Offspring(hdu3887)
- Weex工具链的奥秘
- Leetcode 16
- 大型PHP电商网站商品秒杀功能实现思路分析
- Centos安装iftop
- 名词解释