2008年11月2日

摘要: Type Modifiers 类型修饰符 There are a couple of optional type modifiers in the HLSL that you may want to use in your shaders. The familiar const type modifier is used to specify a variable whose value c... 阅读全文

posted @ 2008-11-02 22:17 活着就是幸福 阅读(255) 评论(0) 推荐(0) 编辑

摘要: Matrix Types 矩阵类型 Another very common type of variable that you will find yourself using in HLSL shaders is matrices, which are 2D arrays of data. Like scalars and vectors, matrices may be compose... 阅读全文

posted @ 2008-11-02 00:21 活着就是幸福 阅读(202) 评论(0) 推荐(0) 编辑