📄 fglteximage1d.ps
字号:
3321(point,)X3526(then)X3685(assembles)X954 1286(it)N1028(into)X1182(an)X1288(RGBA)X1540(element)X1824(by)X1934(replicating)X2306(the)X2433(luminance)X2796(value)X2999(three)X3189(times)X3391(for)X3514(red,)X3666(green,)X3894(and)X954 1382(blue)N1119(and)X1262(attaching)X1583(1)X1650(for)X1771(alpha.)X1992(Each)X2180(component)X2563(is)X2643(then)X2808(multiplied)X3163(by)X3270(the)X3396(signed)X3633(scale)X3822(factor)X3 f954 1478(GL_c_SCALE)N1 f1451(,)X1502(added)X1725(to)X1818(the)X1947(signed)X2187(bias)X3 f2347(GL_c_BIAS)X1 f2764(,)X2815(and)X2962(clamped)X3265(to)X3358(the)X3487(range)X3696([0,1])X3880(\(see)X3 f954 1574(fglPixelTransfer)N1 f1515(\).)X3 f554 1708(GL_LUMINANCE_ALPHA)N1 f954 1804(Each)N1135(element)X1409(is)X1482(a)X1539(luminance/alpha)X2090(pair.)X2276(The)X2422(GL)X2550(converts)X2843(it)X2908(to)X2991(\257oating)X3256(point,)X3461(then)X3620(assembles)X3966(it)X954 1900(into)N1100(an)X1198(RGBA)X1442(element)X1718(by)X1820(replicating)X2185(the)X2305(luminance)X2661(value)X2857(three)X3040(times)X3235(for)X3351(red,)X3495(green,)X3715(and)X3852(blue.)X954 1996(Each)N1146(component)X1534(is)X1619(then)X1789(multiplied)X2149(by)X2261(the)X2391(signed)X2632(scale)X2825(factor)X3 f3045(GL_c_SCALE)X1 f3542(,)X3594(added)X3818(to)X3912(the)X954 2092(signed)N1183(bias)X3 f1332(GL_c_BIAS)X1 f1749(,)X1789(and)X1925(clamped)X2217(to)X2299(the)X2417(range)X2616([0,1])X2790(\(see)X3 f2940(fglPixelTransfer)X1 f3501(\).)X554 2226(If)N633(an)X734(application)X1115(wants)X1327(to)X1414(store)X1595(the)X1718(texture)X1966(at)X2049(a)X2110(certain)X2354(resolution)X2699(or)X2791(in)X2879(a)X2941(certain)X3186(format,)X3446(it)X3516(can)X3654(request)X3912(the)X554 2322(resolution)N911(and)X1064(format)X1315(with)X2 f1494(internalformat)X1 f1960(.)X2017(The)X2179(GL)X2323(will)X2484(choose)X2743(an)X2855(internal)X3136(representation)X3627(that)X3783(closely)X554 2418(approximates)N1030(that)X1194(requested)X1547(by)X2 f1672(internalformat)X1 f2138(,)X2203(but)X2350(it)X2439(may)X2622(not)X2769(match)X3010(exactly.)X3327(\(The)X3524(representations)X554 2514(speci\256ed)N866(by)X3 f973(GL_LUMINANCE)X1 f1631(,)X3 f1678(GL_LUMINANCE_ALPHA)X1 f2656(,)X3 f2703(GL_RGB)X1 f3031(,)X3078(and)X3 f3221(GL_RGBA)X1 f3633(must)X3814(match)X554 2610(exactly.)N826(The)X971(numeric)X1254(values)X1479(1,)X1559(2,)X1639(3,)X1719(and)X1855(4)X1915(may)X2073(also)X2222(be)X2318(used)X2485(to)X2567(specify)X2819(the)X2937(preceding)X3274(representations.\))X554 2744(Use)N704(the)X3 f827(GL_PROXY_TEXTURE_1D)X1 f1857(target)X2066(to)X2154(try)X2269(out)X2397(a)X2459(resolution)X2805(and)X2947(format.)X3207(The)X3358(implementation)X3886(will)X554 2840(update)N795(and)X938(recompute)X1304(its)X1406(best)X1562(match)X1785(for)X1906(the)X2031(requested)X2366(storage)X2625(resolution)X2972(and)X3115(format.)X3376(To)X3492(query)X3702(this)X3843(state,)X554 2936(call)N3 f690 0.1875(fglGetTexLevelParameter)AX1 f1587(.)X1647(If)X1721(the)X1839(texture)X2082(cannot)X2316(be)X2412(accommodated,)X2938(texture)X3181(state)X3348(is)X3421(set)X3530(to)X3612(0.)X554 3070(A)N635(one-component)X1157(texture)X1403(image)X1622(uses)X1783(only)X1948(the)X2069(red)X2195(component)X2574(of)X2665(the)X2787(RGBA)X3033(color)X3222(extracted)X3541(from)X2 f3721(pixels)X1 f3908(.)X3952(A)X554 3166(two-component)N1079(image)X1297(uses)X1457(the)X1577(R)X1652(and)X1790(A)X1870(values.)X2137(A)X2217(three-component)X2783(image)X3001(uses)X3161(the)X3281(R,)X3376(G,)X3475(and)X3612(B)X3686(values.)X3952(A)X554 3262(four-component)N1091(image)X1307(uses)X1465(all)X1565(of)X1652(the)X1770(RGBA)X2012(components.)X9 s266 3396(N)N268(NO)X322(OT)X376(TE)X422(ES)X468(S)X10 s554 3492(Texturing)N890(has)X1017(no)X1117(effect)X1321(in)X1403(color)X1588(index)X1786(mode.)X554 3626(The)N700(texture)X944(image)X1161(can)X1294(be)X1391(represented)X1783(by)X1884(the)X2003(same)X2189(data)X2344(formats)X2610(as)X2698(the)X2817(pixels)X3029(in)X3113(a)X3 f3171(fglDrawPixels)X1 f3674(command,)X554 3722(except)N801(that)X3 f958(GL_STENCIL_INDEX)X1 f1797(and)X3 f1949(GL_DEPTH_COMPONENT)X1 f2984(cannot)X3234(be)X3346(used.)X3 f3569(fglPixelStore)X1 f554 3818(and)N3 f690(fglPixelTransfer)X1 f1271(modes)X1500(affect)X1704(texture)X1947(images)X2194(in)X2276(exactly)X2528(the)X2646(way)X2800(they)X2958(affect)X3 f3162(fglDrawPixels)X1 f3643(.)X3 f554 3952(GL_PROXY_TEXTURE_1D)N1 f1578(may)X1736(only)X1898(be)X1994(used)X2161(if)X2230(the)X2348(GL)X2475(version)X2731(is)X2804(1.1)X2924(or)X3011(greater.)X554 4086(Internal)N824(formats)X1089(other)X1274(than)X1432(1,)X1512(2,)X1592(3,)X1672(or)X1759(4)X1819(may)X1977(only)X2139(be)X2235(used)X2402(if)X2471(the)X2589(GL)X2716(version)X2972(is)X3045(1.1)X3165(or)X3252(greater.)X554 4220(In)N653(GL)X792(version)X1060(1.1)X1192(or)X1291(greater,)X2 f1567(pixels)X1 f1786(may)X1956(be)X2064(a)X2132(null)X2288(pointer.)X2567(In)X2666(this)X2813(case)X2984(texture)X3239(memory)X3539(is)X3625(allocated)X3948(to)X554 4316(accommodate)N1041(a)X1118(texture)X1382(of)X1490(width)X2 f1713(width)X1 f1890(.)X1951(You)X2130(can)X2283(then)X2462(download)X2819(subtextures)X3225(to)X3328(initialize)X3649(the)X3787(texture)X554 4412(memory.)N864(The)X1012(image)X1231(is)X1307(unde\256ned)X1646(if)X1718(the)X1839(program)X2134(tries)X2295(to)X2380(apply)X2581(an)X2680(uninitialized)X3103(portion)X3357(of)X3447(the)X3568(texture)X3814(image)X554 4508(to)N636(a)X692(primitive.)X9 s266 4642(E)N268(ER)X314(RR)X364(RO)X414(OR)X468(RS)X518(S)X3 f10 s554 4738(GL_INVALID_ENUM)N1 f1486(is)X1684(generated)X2142(if)X2 f2336(target)X1 f2672(is)X2870(not)X3 f3118(GL_TEXTURE_1D)X1 f3943(or)X3 f554 4834(GL_PROXY_TEXTURE_1D)N1 f1558(.)X3 f554 4968(GL_INVALID_ENUM)N1 f1365(is)X1442(generated)X1779(if)X2 f1852(format)X1 f2089(is)X2166(not)X2292(an)X2392(accepted)X2698(format)X2936(constant.)X3267(Format)X3522(constants)X3845(other)X554 5064(than)N3 f712(GL_STENCIL_INDEX)X1 f1535(and)X3 f1671(GL_DEPTH_COMPONENT)X1 f2690(are)X2809(accepted.)X3 f554 5198(GL_INVALID_ENUM)N1 f1361(is)X1434(generated)X1767(if)X2 f1836(type)X1 f1990(is)X2063(not)X2185(a)X2241(type)X2399(constant.)X3 f554 5332(GL_INVALID_ENUM)N1 f1361(is)X1434(generated)X1767(if)X2 f1836(type)X1 f1990(is)X3 f2063(GL_BITMAP)X1 f2558(and)X2 f2694(format)X1 f2927(is)X3000(not)X3 f3122(GL_COLOR_INDEX)X1 f3868(.)X3 f554 5466(GL_INVALID_VALUE)N1 f1396(is)X1469(generated)X1802(if)X2 f1871(level)X1 f2043(is)X2116(less)X2256(than)X2414(0.)X3 f554 5600(GL_INVALID_VALUE)N1 f1410(may)X1582(be)X1692(generated)X2040(if)X2 f2124(level)X1 f2311(is)X2399(greater)X2658(than)X2831($log)X3008(sub)X3154(2$)X2 f(max)S1 f3368(,)X3423(where)X2 f3655(max)X1 f3824(is)X3912(the)X554 5696(returned)N842(value)X1036(of)X3 f1123(GL_MAX_TEXTURE_SIZE)X1 f2117(.)X266 6144(Page)N442(3)X3577(July)X3730(22,)X3850(1997)X4 p%%Page: 4 410 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(LT)X410(TE)X456(EX)X502(XI)X556(IM)X582(MA)X648(AG)X702(GE)X756(E1)X802(1D)X840(D)X898(\()X900(\()X936(\))X938(\))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)X3314(F)X3316(FG)X3358(GL)X3412(LT)X3458(TE)X3504(EX)X3550(XI)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 f1401(is)X1479(generated)X1817(if)X2 f1891(internalformat)X1 f2382(is)X2460(not)X2587(1,)X2672(2,)X2758(3,)X2844(4,)X2930(or)X3023(one)X3165(of)X3258(the)X3382(accepted)X3690(resolution)X554 960(and)N690(format)X924(symbolic)X1237(constants.)X3 f554 1094(GL_INVALID_VALUE)N1 f1466(is)X1609(generated)X2012(if)X2 f2151(width)X1 f2418(is)X2561(less)X2772(than)X3001(0)X3132(or)X3290(greater)X3605(than)X3834(2)X3965(+)X3 f554 1190(GL_MAX_TEXTURE_SIZE)N1 f1548(,)X1594(or)X1687(if)X1762(it)X1832(cannot)X2072(be)X2174(represented)X2571(as)X2663($2)X2768(sup)X2904(n)X2969(+)X3039(2\("border"\)$)X3474(for)X3593(some)X3787(integer)X554 1286(value)N748(of)X2 f835(n)X1 f(.)S3 f554 1420(GL_INVALID_VALUE)N1 f1396(is)X1469(generated)X1802(if)X2 f1871(border)X1 f2109(is)X2182(not)X2304(0)X2364(or)X2451(1.)X3 f554 1554(GL_INVALID_OPERATION)N1 f1620(is)X1713(generated)X2066(if)X3 f2155(fglTexImage1D)X1 f2725(is)X2818(executed)X3144(between)X3452(the)X3590(execution)X3943(of)X3 f554 1650(fglBegin)N1 f858(and)X994(the)X1112(corresponding)X1591(execution)X1923(of)X3 f2010(fglEnd)X1 f2240(.)X9 s266 1784(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 1880(fglGetTexImage)N1131(fglIsEnabled)X1 f1585(with)X1747(argument)X3 f2070(GL_TEXTURE_1D)X1 f9 s266 2014(S)N268(SE)X310(EE)X356(E)X432(A)X434(AL)X488(LS)X534(SO)X576(O)X3 f10 s554 2110(fglCopyPixels)N1 f1025(,)X3 f1257(fglCopyTexImage1D)X1 f1969(,)X3 f2201(fglCopyTexImage2D)X1 f2913(,)X3 f3146(fglCopyTexSubImage1D)X1 f3990(,)X3 f554 2206(fglCopyTexSubImage2D)N1 f1398(,)X3 f1477(fglDrawPixels)X1 f1958(,)X3 f2037(fglPixelStore)X1 f2478(,)X3 f2557(fglPixelTransfer)X1 f3118(,)X3 f3197(fglTexEnv)X1 f3552(,)X3 f3630(fglTexGen)X1 f(,)S3 f554 2302(fglTexImage2D)N1 f1084(,)X3 f1124(fglTexSubImage1D)X1 f1786(,)X3 f1826(fglTexSubImage2D)X1 f2488(,)X3 f2528 0.2232(fglTexParameter)AX1 f266 6144(July)N419(22,)X539(1997)X3794(Page)X3970(4)X10 f0 6428(h)N24(hhh)X4176(h)X4200(hhh)X4 p%%Trailerxtxs
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -