📄 fglalphafunc.ps
字号:
2116(on)X2235(the)X2372(outcome)X2687(of)X2794(a)X2870(comparison)X3284(between)X3592(an)X3708(incoming)X554 2552(fragment's)N923(alpha)X1118(value)X1313(and)X1450(a)X1507(constant)X1795 0.4531(reference)AX2117(value.)X3 f2352(fglAlphaFunc)X1 f2843(speci\256es)X3140(the)X3259 0.4531(reference)AX3581(value)X3776(and)X3912(the)X554 2648(comparison)N956(function.)X1291(The)X1444(comparison)X1846(is)X1927(performed)X2290(only)X2460(if)X2537(alpha)X2739(testing)X2980(is)X3061(enabled.)X3359(By)X3481(default,)X3753(it)X3826(is)X3908(not)X554 2744(enabled.)N844(\(See)X3 f1007(fglEnable)X1 f1355(and)X3 f1491(fglDisable)X1 f1853(of)X3 f1940(GL_ALPHA_TEST)X1 f2618(.\))X2 f554 2878(func)N1 f714(and)X2 f852(ref)X1 f963(specify)X1217(the)X1337(conditions)X1692(under)X1897(which)X2115(the)X2235(pixel)X2417(is)X2492(drawn.)X2755(The)X2902(incoming)X3226(alpha)X3422(value)X3618(is)X3693(compared)X554 2974(to)N2 f643(ref)X1 f759(using)X959(the)X1084(function)X1378(speci\256ed)X1690(by)X2 f1797(func)X1 f1935(.)X2002(If)X2083(the)X2208(value)X2409(passes)X2641(the)X2766(comparison,)X3187(the)X3312(incoming)X3641(fragment)X3957(is)X554 3070(drawn)N788(if)X870(it)X947(also)X1109(passes)X1348(subsequent)X1738(stencil)X1981(and)X2131(depth)X2343(buffer)X2574(tests.)X2770(If)X2858(the)X2990(value)X3198(fails)X3370(the)X3502(comparison,)X3930(no)X554 3166(change)N802(is)X875(made)X1069(to)X1151(the)X1269(frame)X1477(buffer)X1694(at)X1772(that)X1912(pixel)X2092(location.)X2390(The)X2535(comparison)X2929(functions)X3247(are)X3366(as)X3453(follows:)X3 f554 3300(GL_NEVER)N1 f1274(Never)X1491(passes.)X3 f554 3434(GL_LESS)N1 f1274(Passes)X1503(if)X1572(the)X1690(incoming)X2012(alpha)X2206(value)X2400(is)X2473(less)X2613(than)X2771(the)X2889 0.4531(reference)AX3210(value.)X3 f554 3568(GL_EQUAL)N1 f1274(Passes)X1503(if)X1572(the)X1690(incoming)X2012(alpha)X2206(value)X2400(is)X2473(equal)X2667(to)X2749(the)X2867 0.4531(reference)AX3188(value.)X3 f554 3702(GL_LEQUAL)N1 f1274(Passes)X1503(if)X1572(the)X1690(incoming)X2012(alpha)X2206(value)X2400(is)X2473(less)X2613(than)X2771(or)X2858(equal)X3052(to)X3134(the)X3252 0.4531(reference)AX3573(value.)X3 f554 3836(GL_GREATER)N1 f1274(Passes)X1503(if)X1572(the)X1690(incoming)X2012(alpha)X2206(value)X2400(is)X2473(greater)X2717(than)X2875(the)X2993 0.4531(reference)AX3314(value.)X3 f554 3970(GL_NOTEQUAL)N1 f1274(Passes)X1503(if)X1572(the)X1690(incoming)X2012(alpha)X2206(value)X2400(is)X2473(not)X2595(equal)X2789(to)X2871(the)X2989 0.4531(reference)AX3310(value.)X3 f554 4104(GL_GEQUAL)N1 f1274(Passes)X1503(if)X1572(the)X1690(incoming)X2012(alpha)X2206(value)X2400(is)X2473(greater)X2717(than)X2875(or)X2962(equal)X3156(to)X3238(the)X3356 0.4531(reference)AX3677(value.)X3 f554 4238(GL_ALWAYS)N1 f1274(Always)X1539(passes)X1764(\(initial)X1997(value\).)X3 f554 4372(fglAlphaFunc)N1 f1046(operates)X1336(on)X1438(all)X1540(pixel)X1722(write)X1909(operations,)X2285(including)X2609(those)X2800(resulting)X3102(from)X3281(the)X3402(scan)X3568(conversion)X3943(of)X554 4468(points,)N799(lines,)X1000(polygons,)X1343(and)X1489(bitmaps,)X1791(and)X1936(from)X2121(pixel)X2310(draw)X2500(and)X2645(copy)X2830(operations.)X3 f3233(fglAlphaFunc)X1 f3732(does)X3908(not)X554 4564(affect)N758(screen)X984(clear)X1161(operations.)X9 s266 4698(N)N268(NO)X322(OT)X376(TE)X422(ES)X468(S)X10 s554 4794(Alpha)N770(testing)X1003(is)X1076(performed)X1431(only)X1593(in)X1675(RGBA)X1917(mode.)X9 s266 4928(E)N268(ER)X314(RR)X364(RO)X414(OR)X468(RS)X518(S)X3 f10 s554 5024(GL_INVALID_ENUM)N1 f1361(is)X1434(generated)X1767(if)X2 f1836(func)X1 f1994(is)X2067(not)X2189(an)X2285(accepted)X2587(value.)X3 f554 5158(GL_INVALID_OPERATION)N1 f1603(is)X1679(generated)X2015(if)X3 f2087(fglAlphaFunc)X1 f2580(is)X2656(executed)X2965(between)X3256(the)X3378(execution)X3714(of)X3 f3805(fglBe-)X554 5254(gin)N1 f680(and)X816(the)X934(corresponding)X1413(execution)X1745(of)X3 f1832(fglEnd)X1 f2062(.)X9 s266 5388(A)N268(AS)X322(SS)X364(SO)X406(OC)X460(CI)X510(IA)X536(AT)X590(TE)X636(ED)X682(D)X766(G)X768(GE)X822(ET)X868(TS)X914(S)X3 f10 s554 5484(fglGet)N1 f788(with)X950(argument)X3 f1273(GL_ALPHA_TEST_FUNC)X554 5580(fglGet)N1 f788(with)X950(argument)X3 f1273(GL_ALPHA_TEST_REF)X554 5676(fglIsEnabled)N1 f1008(with)X1170(argument)X3 f1493(GL_ALPHA_TEST)X1 f266 6144(Page)N442(1)X3577(July)X3730(22,)X3850(1997)X2 p%%Page: 2 210 s 0 xH 0 xS 1 f10 f0 96(h)N24(hhh)X4176(h)X4200(hhh)X9 s1 f266 480(F)N268(FG)X310(GL)X364(LA)X410(AL)X464(LP)X510(PH)X552(HA)X606(AF)X660(FU)X702(UN)X756(NC)X810(C)X864(\()X866(\()X902(\))X904(\))X1885(U)X1887(UN)X1941(NI)X1995(IX)X2021(X)X2093(S)X2095(Sy)X2137(ys)X2175(st)X2205(te)X2227(em)X2261(m)X2337(V)X2339(V)X3348(F)X3350(FG)X3392(GL)X3446(LA)X3492(AL)X3546(LP)X3592(PH)X3634(HA)X3688(AF)X3742(FU)X3784(UN)X3838(NC)X3892(C)X3946(\()X3948(\()X3984(\))X3986(\))X266 864(S)N268(SE)X310(EE)X356(E)X432(A)X434(AL)X488(LS)X534(SO)X576(O)X3 f10 s554 960(fglBlendFunc)N1 f1015(,)X3 f1055(fglClear)X1 f1336(,)X3 f1376(fglDepthFunc)X1 f1847(,)X3 f1887(fglEnable)X1 f2215(,)X3 f2255(fglStencilFunc)X1 f266 6144(July)N419(22,)X539(1997)X3794(Page)X3970(2)X10 f0 6428(h)N24(hhh)X4176(h)X4200(hhh)X2 p%%Trailerxtxs
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -