Loving Coding & Visual Design
AGAL笔记
Each register is 128 bits wide, which means that it contains 4 floating point values. Each of these values is called a component of the register.
Register components can be accessed both through the coordinate accessors (xyzw), and through the color accessors (rgba).
Attribute registers: va only available in Vertex Shaders.
Constant registers: vc 128 available to Vertex Shaders, and 28 for Pixel Shaders.
Temporary registers: vt (Vertex Shaders) and ft (Pixel Shaders) 8 temporary registers available
Output registers: op for Vertex Shaders, and oc for Pixel Shaders. only one output register
Varying Registers: v 8 varying registers available.
Texture sampler registers: fs
Register components can be accessed both through the coordinate accessors (xyzw), and through the color accessors (rgba).
Attribute registers: va
Constant registers: vc
Temporary registers: vt
Output registers: op for Vertex Shaders, and oc for Pixel Shaders. only one output register
Varying Registers: v
Texture sampler registers: fs
is a comma separated set of strings, that defines:- texture dimension. Options:
2d, cube
- mip mapping. Options:
nomip
(ormipnone
, they are the same), mipnearest, miplinear
- texture filtering. Options:
nearest, linear
- texture repeat. Options:
repeat, wrap, clamp
最 近 文 章
- Unit Test - Mon, 30 Nov -0001 00:00:00 +0000
- PHPDoc - Mon, 30 Nov -0001 00:00:00 +0000
- yii框架快速入门 - Mon, 30 Nov -0001 00:00:00 +0000
- IE下前端开发之痛的根源 - Mon, 30 Nov -0001 00:00:00 +0000
- 一些PHP的错误解决办法 - Mon, 30 Nov -0001 00:00:00 +0000
- 我看PHP Frameworks - Mon, 30 Nov -0001 00:00:00 +0000
- 免费空间已死 - Mon, 30 Nov -0001 00:00:00 +0000
- AMD loader - Mon, 30 Nov -0001 00:00:00 +0000
- 关于RESTful API - Mon, 30 Nov -0001 00:00:00 +0000
- Backbone.js快速入门 - Mon, 30 Nov -0001 00:00:00 +0000