📄 alphafunc.ps
字号:
2687(of)X2794(a)X2870(comparison)X3284(between)X3592(an)X3708(incoming)X554 2552(fragment's)N925(alpha)X1122(value)X1319(and)X1458(a)X1517(constant)X1807 0.4531(reference)AX2131(value.)X3 f2368(glAlphaFunc)X1 f2834(speci\256es)X3133(the)X3254 0.4531(reference)AX3578(value)X3774(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(glEnable)X1 f1328(and)X3 f1464(glDisable)X1 f1799(of)X3 f1886(GL_ALPHA_TEST)X1 f2564(.\))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(glAlphaFunc)N1 f1021(operates)X1313(on)X1417(all)X1521(pixel)X1705(write)X1894(operations,)X2272(including)X2598(those)X2791(resulting)X3095(from)X3275(the)X3398(scan)X3566(conversion)X3943(of)X554 4468(points,)N801(lines,)X1004(polygons,)X1349(and)X1496(bitmaps,)X1800(and)X1947(from)X2134(pixel)X2325(draw)X2517(and)X2664(copy)X2851(operations.)X3 f3256(glAlphaFunc)X1 f3730(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 f1601(is)X1675(generated)X2009(if)X3 f2079(glAlphaFunc)X1 f2543(is)X2617(executed)X2924(between)X3213(the)X3332(execution)X3665(of)X3 f3753(glBegin)X1 f554 5254(and)N690(the)X808(corresponding)X1287(execution)X1619(of)X3 f1706(glEnd)X1 f1909(.)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(glGet)N1 f761(with)X923(argument)X3 f1246(GL_ALPHA_TEST_FUNC)X554 5580(glGet)N1 f761(with)X923(argument)X3 f1246(GL_ALPHA_TEST_REF)X554 5676(glIsEnabled)N1 f981(with)X1143(argument)X3 f1466(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(G)N268(GL)X322(LA)X368(AL)X422(LP)X468(PH)X510(HA)X564(AF)X618(FU)X660(UN)X714(NC)X768(C)X822(\()X824(\()X860(\))X862(\))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)X3390(G)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(glBlendFunc)N1 f988(,)X3 f1028(glClear)X1 f1282(,)X3 f1322(glDepthFunc)X1 f1766(,)X3 f1806(glEnable)X1 f2107(,)X3 f2147(glStencilFunc)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 + -