' j) u0 {- @+ L0 n% C. Z7 |$ s+ a3 G$ CCode:代码: 4 ]5 I2 R T! ~! S3 k) P, a" WD3DCOLOR_XYUV # \( h+ G. j% K0 g' ^3 Z) }1 @' lD3DCOLOR_AYUV- h0 J* B7 v* U9 R& {8 e
D3DCOLOR_ARGB # s: _, Z P" i: q8 V+ `$ \% OD3DCOLOR_RGBA4 A/ a! t: j7 t+ H4 x7 A
D3DCOLOR_XRGB3 [- f! Q, O7 ]( k% R* U) S
D3DCOLOR_COLORVALUEObviously if you set a new D3DCOLOR type you also have to change the values as well. 显然如果你设定一个新的D3DCOLOR类型你也必须改变的价值。RGBA = red green blue alpha, so change the first three to the colors you desire and the fourth to the alpha level. RGBA红绿蓝色=阿尔法,所以改变前三个颜色你欲望和四年级到α-水平。With XRGB you would have no alpha, just XXX, XXX, XXX. 与XRGB就没有阿尔法,只是XXX,XXX,XXX。Do note that black is impossible unless you do heavy alterations to the source.黑色是不可能做的注意,除非你重修改源。 8 R* a; N$ Z1 b, I- b: h9 y9 V% {- ~, C% Y- f5 U# o% B
The format works this way: 255, 255, 255, 0. 这样做的格式:255、255、255 0。The numbers are Red, Blue, Green, Alpha. 这些数字都是红色、蓝色、绿色、α波。Change each value from 0 to 255 as you wish.改变每个值从0到255随你的便。1 |1 c) ?' G$ p8 [% ?2 E g6 j" _
. D0 c! w$ O- Ginb4 every nub server does this /ridi每一个关键inb4这/ ridi服务器# A! s+ y$ J# y6 K% W D
7 V" A2 \6 n% g& m5 W- t