📄 copytexsubimage1d.ps
字号:
889(with)X1053(x)X1115(indices)X2 f1364(xoffset)X1 f1595(through)X1866($"xoffset")X2217(\304+\304)X2338("width")X2608(\304-\304)X2711(1$,)X2833(inclusive.)X3164(The)X3311(destination)X3683(in)X3766(the)X3885(tex-)X554 3472(ture)N699(array)X885(may)X1043(not)X1165(include)X1421(any)X1557(texels)X1764(outside)X2015(the)X2133(texture)X2376(array)X2562(as)X2649(it)X2713(was)X2858(originally)X3189(speci\256ed.)X554 3606(The)N703(pixels)X918(in)X1004(the)X1127(row)X1277(are)X1401(processed)X1743(exactly)X2000(as)X2092(if)X3 f2166(glCopyPixels)X1 f2635(had)X2776(been)X2953(called,)X3190(but)X3317(the)X3440(process)X3706(stops)X3895(just)X554 3702(before)N785(\256nal)X952(conversion.)X1369(At)X1474(this)X1614(point)X1803(all)X1908(pixel)X2093(component)X2474(values)X2704(are)X2827(clamped)X3123(to)X3209(the)X3331(range)X3534([0,)X3641(1])X3732(and)X3872(then)X554 3798(converted)N891(to)X973(the)X1091(texture's)X1392(internal)X1657(format)X1891(for)X2005(storage)X2257(in)X2339(the)X2457(texel)X2633(array.)X554 3932(It)N628(is)X706(not)X833(an)X934(error)X1116(to)X1203(specify)X1460(a)X1521(subtexture)X1880(with)X2047(zero)X2211(width,)X2438(but)X2566(such)X2739(a)X2801(speci\256cation)X3232(has)X3365(no)X3471(effect.)X3721(If)X3801(any)X3943(of)X554 4028(the)N674(pixels)X887(within)X1113(the)X1233(speci\256ed)X1540(row)X1687(of)X1776(the)X1896(current)X3 f2146(GL_READ_BUFFER)X1 f2910(are)X3031(outside)X3284(the)X3404(read)X3565(window)X3845(asso-)X554 4124(ciated)N766(with)X928(the)X1046(current)X1294(rendering)X1622(context,)X1898(then)X2056(the)X2174(values)X2399(obtained)X2695(for)X2809(those)X2998(pixels)X3209(are)X3328(unde\256ned.)X554 4258(No)N678(change)X932(is)X1011(made)X1211(to)X1299(the)X2 f1424(internalformat)X1 f1890(,)X2 f1937(width)X1 f2114(,)X2161(or)X2 f2255(border)X1 f2500(parameters)X2880(of)X2974(the)X3099(speci\256ed)X3411(texture)X3661(array)X3854(or)X3948(to)X554 4354(texel)N730(values)X955(outside)X1206(the)X1324(speci\256ed)X1629(subregion.)X9 s266 4488(N)N268(NO)X322(OT)X376(TE)X422(ES)X468(S)X3 f10 s554 4584(glCopyTexSubImage1D)N1 f1391(is)X1464(available)X1774(only)X1936(if)X2005(the)X2123(GL)X2250(version)X2506(is)X2579(1.1)X2699(or)X2786(greater.)X554 4718(Texturing)N890(has)X1017(no)X1117(effect)X1321(in)X1403(color)X1588(index)X1786(mode.)X3 f554 4852(glPixelStore)N1 f991(and)X3 f1130(glPixelTransfer)X1 f1687(modes)X1920(affect)X2128(texture)X2375(images)X2626(in)X2712(exactly)X2968(the)X3090(way)X3248(they)X3410(affect)X3 f3618(glDrawPix-)X554 4948(els)N1 f643(.)X9 s266 5082(E)N268(ER)X314(RR)X364(RO)X414(OR)X468(RS)X518(S)X3 f10 s554 5178(GL_INVALID_ENUM)N1 f1361(is)X1434(generated)X1767(if)X2 f1836(target)X1 f2047(is)X2120(not)X3 f2242(GL_TEXTURE_1D)X1 f2921(.)X3 f554 5312(GL_INVALID_OPERATION)N1 f1621(is)X1715(generated)X2069(if)X2159(the)X2298(texture)X2562(array)X2769(has)X2918(not)X3062(been)X3256(de\256ned)X3534(by)X3656(a)X3734(previous)X3 f554 5408(glTexImage1D)N1 f1077(or)X3 f1164(glCopyTexImage1D)X1 f1869(operation.)X3 f554 5542(GL_INVALID_VALUE)N1 f1396(is)X1469(generated)X1802(if)X2 f1871(level)X1 f2043(is)X2116(less)X2256(than)X2414(0.)X3 f554 5676(GL_INVALID_VALUE)N1 f1401(may)X1564(be)X1665(generated)X2003(if)X2 f2077(level)X1 f2229($>log)X2441(sub)X2577(2$)X2 f2683(max)X1 f2817(,)X2863(where)X2 f3086(max)X1 f3246(is)X3325(the)X3449(returned)X3743(value)X3943(of)X3 f554 5772(GL_MAX_TEXTURE_SIZE)N1 f1548(.)X266 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(LC)X368(CO)X418(OP)X472(PY)X514(YT)X568(TE)X614(EX)X660(XS)X714(SU)X756(UB)X810(BI)X860(IM)X886(MA)X952(AG)X1006(GE)X1060(E1)X1106(1D)X1144(D)X1202(\()X1204(\()X1240(\))X1242(\))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)X3010(G)X3012(GL)X3066(LC)X3112(CO)X3162(OP)X3216(PY)X3258(YT)X3312(TE)X3358(EX)X3404(XS)X3458(SU)X3500(UB)X3554(BI)X3604(IM)X3630(MA)X3696(AG)X3750(GE)X3804(E1)X3850(1D)X3888(D)X3946(\()X3948(\()X3984(\))X3986(\))X3 f10 s554 864(GL_INVALID_VALUE)N1 f1398(is)X1473(generated)X1808(if)X2 f1879(y)X1 f1915($)X1977(\304<\304)X2098(\304-b$)X2254(or)X2343(if)X2 f2414(width)X1 f2591($)X2653(\304<\304)X2774(\304-b$,)X2950(where)X3169($b$)X3311(is)X3386(the)X3506(border)X3738(width)X3943(of)X554 960(the)N672(texture)X915(array.)X3 f554 1094(GL_INVALID_VALUE)N1 f1403(is)X1483(generated)X1823(if)X1900($"xoffset")X2257(\304<\304)X2384(\304-b$,)X2566(or)X2661 0.1667($\("xoffset"\304+\304"width"\))AX3419(\304>\304)X3546(\(w-b\)$,)X3813(where)X554 1190($w$)N725(is)X811(the)X3 f942(GL_TEXTURE_WIDTH)X1 f1807(,)X1860(and)X2008($b$)X2160(is)X2245(the)X3 f2375(GL_TEXTURE_BORDER)X1 f3330(of)X3429(the)X3559(texture)X3814(image)X554 1286(being)N752(modi\256ed.)X1096(Note)X1272(that)X1412($w$)X1570(includes)X1857(twice)X2051(the)X2169(border)X2399(width.)X9 s266 1420(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 1516(glGetTexImage)N554 1612(glIsEnabled)N1 f981(with)X1143(argument)X3 f1466(GL_TEXTURE_1D)X1 f9 s266 1746(S)N268(SE)X310(EE)X356(E)X432(A)X434(AL)X488(LS)X534(SO)X576(O)X3 f10 s554 1842(glCopyPixels)N1 f998(,)X3 f1040(glCopyTexImage1D)X1 f1725(,)X3 f1767(glCopyTexImage2D)X1 f2452(,)X3 f2494(glCopyTexSubImage2D)X1 f3311(,)X3 f3353(glPixelStore)X1 f3767(,)X3 f3810(glPix-)X554 1938(elTransfer)N1 f915(,)X3 f1085(glTexEnv)X1 f1413(,)X3 f1583(glTexGen)X1 f1916(,)X3 f2086(glTexImage1D)X1 f2589(,)X3 f2759(glTexImage2D)X1 f3262(,)X3 f3432(glTexParameter)X1 f3990(,)X3 f554 2034(glTexSubImage1D)N1 f1189(,)X3 f1229(glTexSubImage2D)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 + -