📄 fglaretexturesresident.ps
字号:
3555(of)X2 f3642(residences)X1 f3981(.)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)X10 s554 2398(GL)N691(establishes)X1068(a)X1134(``working)X1485(set'')X1658(of)X1755(textures)X2039(that)X2189(are)X2318(resident)X2602(in)X2694(texture)X2947(memory.)X3284(These)X3506(textures)X3791(can)X3934(be)X554 2494(bound)N774(to)X856(a)X912(texture)X1155(target)X1358(much)X1556(more)X1741(ef\256ciently)X2086(than)X2244(textures)X2518(that)X2658(are)X2777(not)X2899(resident.)X3 f554 2628(fglAreTexturesResident)N1 f1402(queries)X1662(the)X1788(texture)X2039(residence)X2371(status)X2581(of)X2676(the)X2 f2802(n)X1 f2870(textures)X3152(named)X3394(by)X3502(the)X3629(elements)X3943(of)X2 f554 2724(textures)N1 f808(.)X871(If)X948(all)X1051(the)X1172(named)X1409(textures)X1686(are)X1807(resident,)X3 f2103(fglAreTexturesResident)X1 f2945(returns)X3 f3190(GL_TRUE)X1 f3567(,)X3609(and)X3747(the)X3867(con-)X554 2820(tents)N734(of)X2 f830(residences)X1 f1198(are)X1327(undisturbed.)X1775(If)X1859(not)X1991(all)X2101(the)X2229(named)X2473(textures)X2757(are)X2886(resident,)X3 f3190(fglAreTexturesResident)X1 f554 2916(returns)N3 f812(GL_FALSE)X1 f1224(,)X1279(and)X1429(detailed)X1717(status)X1933(is)X2020(returned)X2322(in)X2418(the)X2 f2550(n)X1 f2624(elements)X2943(of)X2 f3044(residences)X1 f3383(.)X3457(If)X3545(an)X3655(element)X3943(of)X2 f554 3012(residences)N1 f913(is)X3 f986(GL_TRUE)X1 f1363(,)X1403(then)X1561(the)X1679(texture)X1922(named)X2156(by)X2256(the)X2374(corresponding)X2853(element)X3127(of)X2 f3214(textures)X1 f3488(is)X3561(resident.)X554 3146(The)N705(residence)X1035(status)X1243(of)X1336(a)X1398(single)X1615(bound)X1841(texture)X2090(may)X2254(also)X2409(be)X2511(queried)X2779(by)X2886(calling)X3 f3131 0.2206(fglGetTexParameter)AX1 f3868(with)X554 3242(the)N2 f689(target)X1 f917(argument)X1257(set)X1383(to)X1482(the)X1617(target)X1837(to)X1936(which)X2169(the)X2304(texture)X2563(is)X2652(bound,)X2908(and)X3060(the)X2 f3194(p_name)X1 f3484(argument)X3823(set)X3948(to)X3 f554 3338(GL_TEXTURE_RESIDENT)N1 f1543(.)X1610(This)X1779(is)X1859(the)X1985(only)X2155(way)X2317(that)X2465(the)X2591(residence)X2923(status)X3133(of)X3228(a)X3292(default)X3543(texture)X3794(can)X3934(be)X554 3434(queried.)N9 s266 3568(N)N268(NO)X322(OT)X376(TE)X422(ES)X468(S)X3 f10 s554 3664(fglAreTexturesResident)N1 f1394(is)X1467(available)X1777(only)X1939(if)X2008(the)X2126(GL)X2253(version)X2509(is)X2582(1.1)X2702(or)X2789(greater.)X3 f554 3798(fglAreTexturesResident)N1 f1399(returns)X1647(the)X1770(residency)X2103(status)X2310(of)X2403(the)X2527(textures)X2807(at)X2891(the)X3015(time)X3183(of)X3276(invocation.)X3660(It)X3735(does)X3908(not)X554 3894(guarantee)N887(that)X1027(the)X1145(textures)X1419(will)X1563(remain)X1806(resident)X2080(at)X2158(any)X2294(other)X2479(time.)X554 4028(If)N628(textures)X902(reside)X1114(in)X1196(virtual)X1425(memory)X1712(\(there)X1920(is)X1993(no)X2093(texture)X2336(memory\),)X2670(they)X2828(are)X2947(considered)X3315(always)X3558(resident.)X554 4162(Some)N756(implementations)X1309(may)X1467(not)X1589(load)X1747(a)X1803(texture)X2046(until)X2212(the)X2330(\256rst)X2474(use)X2601(of)X2688(that)X2828(texture.)X9 s266 4296(E)N268(ER)X314(RR)X364(RO)X414(OR)X468(RS)X518(S)X3 f10 s554 4392(GL_INVALID_VALUE)N1 f1396(is)X1469(generated)X1802(if)X2 f1871(n)X1 f1931(is)X2004(negative.)X3 f554 4526(GL_INVALID_VALUE)N1 f1404(is)X1485(generated)X1826(if)X1903(any)X2047(element)X2329(in)X2 f2419(textures)X1 f2701(is)X2782(0)X2851(or)X2947(does)X3123(not)X3254(name)X3457(a)X3522(texture.)X3794(In)X3890(that)X554 4622(case,)N733(the)X851(function)X1138(returns)X3 f1381(GL_FALSE)X1 f1813(and)X1949(the)X2067(contents)X2354(of)X2 f2441(residences)X1 f2800(is)X2873(indeterminate.)X3 f554 4756(GL_INVALID_OPERATION)N1 f1610(is)X1693(generated)X2036(if)X3 f2115(fglAreTexturesResident)X1 f2966(is)X3050(executed)X3367(between)X3666(the)X3795(execu-)X554 4852(tion)N698(of)X3 f785(fglBegin)X1 f1089(and)X1225(the)X1343(corresponding)X1822(execution)X2154(of)X3 f2241(fglEnd)X1 f2471(.)X9 s266 4986(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 5082 0.2206(fglGetTexParameter)AN1 f1285(with)X1448(parameter)X1791(name)X3 f1986(GL_TEXTURE_RESIDENT)X1 f2996(retrieves)X3294(the)X3413(residence)X3739(status)X3943(of)X554 5178(a)N610(currently)X920(bound)X1140(texture.)X9 s266 5312(S)N268(SE)X310(EE)X356(E)X432(A)X434(AL)X488(LS)X534(SO)X576(O)X3 f10 s554 5408(fglBindTexture)N1 f1078(,)X3 f1184 0.2206(fglGetTexParameter)AX1 f1894(,)X3 f2000(fglPrioritizeTextures)X1 f2718(,)X3 f2824(fglTexImage1D)X1 f3354(,)X3 f3460(fglTexImage2D)X1 f3990(,)X3 f554 5504 0.2232(fglTexParameter)AN1 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 + -