📄 prioritizetextures.ps
字号:
1 f891(Speci\256es)X1206(an)X1308(array)X1500(containing)X1864(the)X1988(texture)X2237(priorities.)X2592(A)X2676(priority)X2942(given)X3146(in)X3235(an)X3338(element)X3619(of)X2 f3713(priorities)X1 f891 2168(applies)N1138(to)X1220(the)X1338(texture)X1581(named)X1815(by)X1915(the)X2033(corresponding)X2512(element)X2786(of)X2 f2873(textures)X1 f3127(.)X9 s266 2302(D)N268(DE)X322(ES)X368(SC)X410(CR)X460(RI)X510(IP)X536(PT)X578(TI)X624(IO)X650(ON)X704(N)X3 f10 s554 2398(glPrioritizeTextures)N1 f1265(assigns)X1516(the)X2 f1634(n)X1 f1694(texture)X1937(priorities)X2246(given)X2444(in)X2 f2526(priorities)X1 f2843(to)X2925(the)X2 f3043(n)X1 f3103(textures)X3377(named)X3611(in)X2 f3693(textures)X1 f3947(.)X554 2532(The)N704(GL)X836(establishes)X1208(a)X1269(``working)X1615(set'')X1783(of)X1875(textures)X2154(that)X2299(are)X2424(resident)X2704(in)X2792(texture)X3041(memory.)X3374(These)X3592(textures)X3872(may)X554 2628(be)N662(bound)X894(to)X988(a)X1056(texture)X1311(target)X1526(much)X1736(more)X1933(ef\256ciently)X2290(than)X2460(textures)X2746(that)X2897(are)X3027(not)X3160(resident.)X3485(By)X3609(specifying)X3974(a)X554 2724(priority)N830(for)X960(each)X1144(texture,)X3 f1423(glPrioritizeTextures)X1 f2150(allows)X2395(applications)X2818(to)X2916(guide)X3130(the)X3265(GL)X3409(implementation)X3948(in)X554 2820(determining)N961(which)X1177(textures)X1451(should)X1684(be)X1780(resident.)X554 2954(The)N706(priorities)X1022(given)X1227(in)X2 f1316(priorities)X1 f1640(are)X1766(clamped)X2065(to)X2154(the)X2279(range)X2485([0,1])X2666(before)X2899(they)X3064(are)X3190(assigned.)X3533(0)X3600(indicates)X3912(the)X554 3050(lowest)N787(priority;)X1073(textures)X1351(with)X1517(priority)X1781(0)X1845(are)X1968(least)X2139(likely)X2345(to)X2431(be)X2531(resident.)X2849(1)X2913(indicates)X3222(the)X3344(highest)X3599(priority;)X3885(tex-)X554 3146(tures)N739(with)X910(priority)X1179(1)X1248(are)X1376(most)X1560(likely)X1771(to)X1862(be)X1967(resident.)X2290(However,)X2634(textures)X2917(are)X3045(not)X3176(guaranteed)X3558(to)X3650(be)X3756(resident)X554 3242(until)N720(they)X878(are)X997(used.)X3 f554 3376(glPrioritizeTextures)N1 f1276(silently)X1542(ignores)X1809(attempts)X2111(to)X2204(prioritize)X2529(texture)X2783(0,)X2874(or)X2972(any)X3119(texture)X3373(name)X3578(that)X3729(does)X3908(not)X554 3472(correspond)N931(to)X1013(an)X1109(existing)X1382(texture.)X3 f554 3606(glPrioritizeTextures)N1 f1267(does)X1436(not)X1560(require)X1810(that)X1952(any)X2090(of)X2179(the)X2299(textures)X2575(named)X2811(by)X2 f2913(textures)X1 f3189(be)X3287(bound)X3509(to)X3593(a)X3652(texture)X3898(tar-)X554 3702(get.)N3 f713(glTexParameter)X1 f1292(may)X1451(also)X1601(be)X1698(used)X1865(to)X1947(set)X2056(a)X2112(texture's)X2413(priority,)X2693(but)X2815(only)X2977(if)X3046(the)X3164(texture)X3407(is)X3480(currently)X3790(bound.)X554 3798(This)N716(is)X789(the)X907(only)X1069(way)X1223(to)X1305(set)X1414(the)X1532(priority)X1792(of)X1879(a)X1935(default)X2178(texture.)X9 s266 3932(N)N268(NO)X322(OT)X376(TE)X422(ES)X468(S)X3 f10 s554 4028(glPrioritizeTextures)N1 f1265(is)X1338(available)X1648(only)X1810(if)X1879(the)X1997(GL)X2124(version)X2380(is)X2453(1.1)X2573(or)X2660(greater.)X9 s266 4162(E)N268(ER)X314(RR)X364(RO)X414(OR)X468(RS)X518(S)X3 f10 s554 4258(GL_INVALID_VALUE)N1 f1396(is)X1469(generated)X1802(if)X2 f1871(n)X1 f1931(is)X2004(negative.)X3 f554 4392(GL_INVALID_OPERATION)N1 f1604(is)X1681(generated)X2018(if)X3 f2091(glPrioritizeTextures)X1 f2806(is)X2883(executed)X3193(between)X3485(the)X3607(execution)X3943(of)X3 f554 4488(glBegin)N1 f831(and)X967(the)X1085(corresponding)X1564(execution)X1896(of)X3 f1983(glEnd)X1 f2186(.)X9 s266 4622(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 4718 0.2109(glGetTexParameter)AN1 f1285(with)X1475(parameter)X1845(name)X3 f2067(GL_TEXTURE_PRIORITY)X1 f3096(retrieves)X3422(the)X3569(priority)X3858(of)X3974(a)X554 4814(currently)N864(bound)X1084(texture.)X9 s266 4948(S)N268(SE)X310(EE)X356(E)X432(A)X434(AL)X488(LS)X534(SO)X576(O)X3 f10 s554 5044(glAreTexturesResident)N1 f1347(,)X3 f1415(glBindTexture)X1 f1912(,)X3 f1980(glCopyTexImage1D)X1 f2665(,)X3 f2733(glCopyTexImage2D)X1 f3418(,)X3 f3487(glTexImage1D)X1 f3990(,)X3 f554 5140(glTexImage2D)N1 f1057(,)X3 f1097(glTexParameter)X1 f266 6144(Page)N442(1)X3577(July)X3730(22,)X3850(1997)X10 f0 6428(h)N24(hhh)X4176(h)X4200(hhh)X1 p%%Trailerxtxs
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -