📄 interleavedarrays.ps
字号:
3990(,)X3 f825 2092(GL_T2F_C4F_N3F_V3F)N1 f1683(,)X1723(and)X3 f1859(GL_T4F_C4F_N3F_V4F)X1 f2737(are)X2856(accepted.)X2 f554 2226(stride)N1 f825(Speci\256es)X1134(the)X1252(offset)X1455(in)X1537(bytes)X1726(between)X2014(each)X2182(aggregate)X2515(array)X2701(element.)X9 s266 2360(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 2456(glInterleavedArrays)N1 f1270(lets)X1402(you)X1543(specify)X1796(and)X1933(enable)X2164(individual)X2509(color,)X2715(normal,)X2983(texture)X3227(and)X3364(vertex)X3586(arrays)X3805(whose)X554 2552(elements)N870(are)X1000(part)X1156(of)X1254(a)X1320(larger)X1538(aggregate)X1881(array)X2077(element.)X2401(For)X2542(some)X2741(implementations,)X3324(this)X3469(is)X3552(more)X3747(ef\256cient)X554 2648(than)N712(specifying)X1066(the)X1184(arrays)X1401(seperately.)X554 2782(If)N2 f633(stride)X1 f841(is)X920(0,)X1006(the)X1130(aggregate)X1469(elements)X1780(are)X1905(stored)X2127(consecutively.)X2634(Otherwise,)X2 f3010(stride)X1 f3218(bytes)X3413(occur)X3618(between)X3912(the)X554 2878(beginning)N894(of)X981(one)X1117(aggregate)X1450(array)X1636(element)X1910(and)X2046(the)X2164(beginning)X2504(of)X2591(the)X2709(next)X2867(aggregate)X3200(array)X3386(element.)X2 f554 3012(format)N1 f791(serves)X1016(as)X1107(a)X1167('key')X1361(describing)X1719(the)X1841(extraction)X2186(of)X2277(individual)X2625(arrays)X2846(from)X3026(the)X3149(aggregate)X3487(array.)X3718(If)X2 f3797(format)X1 f554 3108(contains)N843(a)X901(T,)X992(then)X1151(texture)X1395(coordinates)X1786(are)X1906(extracted)X2222(from)X2399(the)X2518(interleaved)X2896(array.)X3123(If)X3198(C)X3272(is)X3346(present,)X3619(color)X3805(values)X554 3204(are)N673(extracted.)X1008(If)X1082(N)X1160(is)X1233(present,)X1505(normal)X1752(coordinates)X2142(are)X2261(extracted.)X2616(Vertex)X2855(coordinates)X3245(are)X3364(always)X3607(extracted.)X554 3338(The)N712(digits)X922(2,)X1015(3,)X1108(and)X1257(4)X1330(denote)X1577(how)X1748(many)X1959(values)X2197(are)X2329(extracted.)X2697(F)X2774(indicates)X3092(that)X3245(values)X3483(are)X3615(extracted)X3943(as)X554 3434(\257oating-point)N1012(values.)X1280(Colors)X1516(may)X1676(also)X1827(be)X1925(extracted)X2242(as)X2331(4)X2393(unsigned)X2704(bytes)X2895(if)X2966(4UB)X3139(follows)X3401(the)X3521(C.)X3636(If)X3712(a)X3770(color)X3957(is)X554 3530(extracted)N886(as)X990(4)X1067(unsigned)X1393(bytes,)X1619(the)X1754(vertex)X1992(array)X2195(element)X2486(which)X2719(follows)X2996(is)X3086(located)X3355(at)X3450(the)X3586(\256rst)X3748(possible)X554 3626(\257oating-point)N1009(aligned)X1265(address.)X9 s266 3760(N)N268(NO)X322(OT)X376(TE)X422(ES)X468(S)X3 f10 s554 3856(glInterleavedArrays)N1 f1269(is)X1342(available)X1652(only)X1814(if)X1883(the)X2001(GL)X2128(version)X2384(is)X2457(1.1)X2577(or)X2664(greater.)X554 3990(If)N3 f628(glInterleavedArrays)X1 f1343(is)X1416(called)X1628(while)X1826(compiling)X2170(a)X2226(display)X2477(list,)X2614(it)X2678(is)X2751(not)X2874(compiled)X3193(into)X3338(the)X3457(list,)X3595(and)X3732(it)X3797(is)X3871(exe-)X554 4086(cuted)N748(immediately.)X554 4220(Execution)N900(of)X3 f989(glInterleavedArrays)X1 f1706(is)X1781(not)X1905(allowed)X2181(between)X2471(the)X2591(execution)X2925(of)X3 f3014(glBegin)X1 f3293(and)X3431(the)X3551(corresponding)X554 4316(execution)N895(of)X3 f991(glEnd)X1 f1194(,)X1242(but)X1372(an)X1476(error)X1661(may)X1827(or)X1922(may)X2088(not)X2218(be)X2322(generated.)X2683(If)X2765(no)X2873(error)X3058(is)X3139(generated,)X3500(the)X3626(operation)X3957(is)X554 4412(unde\256ned.)N3 f554 4546(glInterleavedArrays)N1 f1269(is)X1342(typically)X1642(implemented)X2080(on)X2180(the)X2298(client)X2496(side.)X554 4680(Vertex)N798(array)X989(parameters)X1367(are)X1491(client-side)X1850(state)X2022(and)X2163(are)X2287(therefore)X2603(not)X2731(saved)X2940(or)X3033(restored)X3318(by)X3 f3424(glPushAttrib)X1 f3894(and)X3 f554 4776(glPopAttrib)N1 f963(.)X1023(Use)X3 f1168(glPushClientAttrib)X1 f1841(and)X3 f1977(glPopClientAttrib)X1 f2615(instead.)X9 s266 4910(E)N268(ER)X314(RR)X364(RO)X414(OR)X468(RS)X518(S)X3 f10 s554 5006(GL_INVALID_ENUM)N1 f1361(is)X1434(generated)X1767(if)X2 f1836(format)X1 f2069(is)X2142(not)X2264(an)X2360(accepted)X2662(value.)X3 f554 5140(GL_INVALID_VALUE)N1 f1396(is)X1469(generated)X1802(if)X2 f1871(stride)X1 f2073(is)X2146(negative.)X9 s266 5274(S)N268(SE)X310(EE)X356(E)X432(A)X434(AL)X488(LS)X534(SO)X576(O)X3 f10 s554 5370(glArrayElement)N1 f1111(,)X3 f1202(glColorPointer)X1 f1714(,)X3 f1805(glDrawArrays)X1 f2300(,)X3 f2391(glDrawElements)X1 f2961(,)X3 f3052(glEdgeFlagPointer)X1 f(,)S3 f3784(glEna-)X554 5466(bleClientState)N1 f1039(,)X3 f1079(glGetPointer)X1 f1520(,)X3 f1560(glIndexPointer)X1 f2071(,)X3 f2111(glNormalPointer)X1 f2690(,)X3 f2730(glTexCoordPointer)X1 f3393(,)X3 f3433(glVertexPointer)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 + -