⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 drawelements.ps

📁 计算机图形学~想必是很多人需要的~在此共享一下
💻 PS
📖 第 1 页 / 共 2 页
字号:
1844(GL_UNSIGNED_INT)X1 f2603(.)X2 f554 2782(indices)N1 f821(Speci\256es)X1130(a)X1186(pointer)X1433(to)X1515(the)X1633(location)X1911(where)X2128(the)X2246(indices)X2493(are)X2612(stored.)X9 s266 2916(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 3012(glDrawElements)N1 f1146(speci\256es)X1444(multiple)X1732(geometric)X2075(primitives)X2421(with)X2586(very)X2752(few)X2896(subroutine)X3257(calls.)X3447(Instead)X3702(of)X3792(calling)X554 3108(a)N625(GL)X767(function)X1069(to)X1166(pass)X1338(each)X1520(individual)X1878(vertex,)X2133(normal,)X2414(texture)X2671(coordinate,)X3064(edge)X3250(\257ag,)X3424(or)X3525(color,)X3744(you)X3898(can)X554 3204(prespecify)N913(separate)X1201(arrays)X1423(of)X1515(vertexes,)X1828(normals,)X2131(and)X2272(so)X2368(on)X2473(and)X2614(use)X2746(them)X2931(to)X3018(construct)X3337(a)X3398(sequence)X3718(of)X3810(primi-)X554 3300(tives)N725(with)X887(a)X943(single)X1154(call)X1290(to)X3 f1372(glDrawElements)X1 f1942(.)X554 3434(When)N3 f781(glDrawElements)X1 f1386(is)X1474(called,)X1721(it)X1800(uses)X2 f1973(count)X1 f2186(sequential)X2546(elements)X2866(from)X3057(an)X3168(enabled)X3454(array,)X3676(starting)X3952(at)X2 f554 3530(indices)N1 f810(to)X901(construct)X1224(a)X1289(sequence)X1613(of)X1709(geometric)X2059(primitives.)X2 f2432(mode)X1 f2635(speci\256es)X2939(what)X3123(kind)X3293(of)X3388(primitives)X3740(are)X3867(con-)X554 3626(structed,)N852(and)X992(how)X1154(the)X1276(array)X1466(elements)X1775(construct)X2093(these)X2282(primitives.)X2650(If)X2728(more)X2917(than)X3079(one)X3220(array)X3411(is)X3489(enabled,)X3784(each)X3957(is)X554 3722(used.)N741(If)X3 f815(GL_VERTEX_ARRAY)X1 f1653(is)X1726(not)X1848(enabled,)X2138(no)X2238(geometric)X2579(primitives)X2923(are)X3042(constructed.)X554 3856(Vertex)N798(attributes)X1121(that)X1266(are)X1390(modi\256ed)X1699(by)X3 f1804(glDrawElements)X1 f2399(have)X2576(an)X2677(unspeci\256ed)X3067(value)X3266(after)X3 f3440(glDrawElements)X1 f554 3952(returns.)N818(For)X950(example,)X1263(if)X3 f1333(GL_COLOR_ARRAY)X1 f2132(is)X2206(enabled,)X2497(the)X2616(value)X2811(of)X2899(the)X3018(current)X3267(color)X3453(is)X3526(unde\256ned)X3862(after)X3 f554 4048(glDrawElements)N1 f1144(executes.)X1461(Attributes)X1801(that)X1941(aren't)X2149(modi\256ed)X2453(remain)X2696(well)X2854(de\256ned.)X9 s266 4182(N)N268(NO)X322(OT)X376(TE)X422(ES)X468(S)X3 f10 s554 4278(glDrawElements)N1 f1144(is)X1217(available)X1527(only)X1689(if)X1758(the)X1876(GL)X2003(version)X2259(is)X2332(1.1)X2452(or)X2539(greater.)X3 f554 4412(glDrawElements)N1 f1150(is)X1229(included)X1531(in)X1619(display)X1876(lists.)X2050(If)X3 f2130(glDrawElements)X1 f2726(is)X2805(entered)X3068(into)X3218(a)X3280(display)X3537(list,)X3680(the)X3804(neces-)X554 4508(sary)N711(array)X900(data)X1057(\(determined)X1468(by)X1571(the)X1692(array)X1881(pointers)X2162(and)X2301(enables\))X2592(is)X2668(also)X2820(entered)X3080(into)X3227(the)X3348(display)X3602(list.)X3742(Because)X554 4604(the)N688(array)X890(pointers)X1184(and)X1336(enables)X1613(are)X1748(client-side)X2118(state,)X2321(their)X2504(values)X2746(affect)X2967(display)X3235(lists)X3400(when)X3611(the)X3746(lists)X3911(are)X554 4700(created,)N827(not)X949(when)X1143(the)X1261(lists)X1409(are)X1528(executed.)X9 s266 4834(E)N268(ER)X314(RR)X364(RO)X414(OR)X468(RS)X518(S)X3 f10 s554 4930(GL_INVALID_ENUM)N1 f1361(is)X1434(generated)X1767(if)X2 f1836(mode)X1 f2030(is)X2103(not)X2225(an)X2321(accepted)X2623(value.)X3 f554 5064(GL_INVALID_VALUE)N1 f1396(is)X1469(generated)X1802(if)X2 f1871(count)X1 f2069(is)X2142(negative.)X3 f554 5198(GL_INVALID_OPERATION)N1 f1616(is)X1705(generated)X2054(if)X3 f2139(glDrawElements)X1 f2745(is)X2834(executed)X3156(between)X3460(the)X3594(execution)X3943(of)X3 f554 5294(glBegin)N1 f831(and)X967(the)X1085(corresponding)X3 f1564(glEnd)X1 f1767(.)X9 s266 5428(S)N268(SE)X310(EE)X356(E)X432(A)X434(AL)X488(LS)X534(SO)X576(O)X3 f10 s554 5524(glArrayElement)N1 f1111(,)X3 f1151(glColorPointer)X1 f1663(,)X3 f1703(glDrawArrays)X1 f2198(,)X3 f2238(glEdgeFlagPointer)X1 f(,)S3 f554 5620(glGetPointerv)N1 f1035(,)X3 f1075(glIndexPointer)X1 f1586(,)X3 f1626(glInterleavedArrays)X1 f2321(,)X3 f2361(glNormalPointer)X1 f2940(,)X3 f554 5716(glTexCoordPointer)N1 f1217(,)X3 f1257(glVertexPointer)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(LD)X368(DR)X422(RA)X472(AW)X526(WE)X596(EL)X642(LE)X688(EM)X734(ME)X800(EN)X846(NT)X900(TS)X946(S)X992(\()X994(\()X1030(\))X1032(\))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)X3220(G)X3222(GL)X3276(LD)X3322(DR)X3376(RA)X3426(AW)X3480(WE)X3550(EL)X3596(LE)X3642(EM)X3688(ME)X3754(EN)X3800(NT)X3854(TS)X3900(S)X3946(\()X3948(\()X3984(\))X3986(\))X10 s266 5856(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 + -