📄 pushclientattrib.ps
字号:
268(DE)X322(ES)X368(SC)X410(CR)X460(RI)X510(IP)X536(PT)X578(TI)X624(IO)X650(ON)X704(N)X3 f10 s554 2168(glPushClientAttrib)N1 f1238(takes)X1434(one)X1581(argument,)X1935(a)X2002(mask)X2202(that)X2353(indicates)X2669(which)X2896(groups)X3145(of)X3243(client-state)X3626(variables)X3948(to)X554 2264(save)N726(on)X835(the)X962(client)X1169(attribute)X1465(stack.)X1679(Symbolic)X2014(constants)X2341(are)X2469(used)X2645(to)X2736(set)X2854(bits)X2998(in)X3089(the)X3216(mask.)X2 f3454(mask)X1 f3648(is)X3730(typically)X554 2360(constructed)N1042(by)X1240(OR'ing)X1599(several)X1946(of)X2132(these)X2416(constants)X2833(together.)X3255(The)X3499(special)X3841(mask)X3 f554 2456 -0.1667(GL_CLIENT_ALL_ATTRIB_BITS)AN1 f1806(can)X1938(be)X2034(used)X2201(to)X2283(save)X2446(all)X2546(stackable)X2865(client)X3063(state.)X554 2590(The)N705(symbolic)X1024(mask)X1219(constants)X1543(and)X1685(their)X1858(associated)X2214(GL)X2347(client)X2552(state)X2726(are)X2852(as)X2946(follows)X3213(\(the)X3365(second)X3615(column)X3882(lists)X554 2686(which)N770(attributes)X1088(are)X1207(saved\):)X3 f554 2820 -0.1667(GL_CLIENT_PIXEL_STORE_BIT)AN1 f1994(Pixel)X2178(storage)X2430(modes)X3 f554 2916(GL_CLIENT_VERTEX_ARRAY_BIT)N1 f1994(Vertex)X2233(arrays)X2450(\(and)X2613(enables\))X3 f554 3050(glPopClientAttrib)N1 f1194(restores)X1466(the)X1586(values)X1813(of)X1902(the)X2023(client-state)X2398(variables)X2711(saved)X2917(with)X3082(the)X3203(last)X3 f3337(glPushClientAttrib)X1 f3990(.)X554 3146(Those)N770(not)X892(saved)X1095(are)X1214(left)X1341(unchanged.)X554 3280(It)N626(is)X702(an)X802(error)X983(to)X1069(push)X1244(attributes)X1566(onto)X1732(a)X1792(full)X1927(client)X2129(attribute)X2420(stack,)X2629(or)X2720(to)X2806(pop)X2950(attributes)X3272(off)X3390(an)X3490(empty)X3714(stack.)X3943(In)X554 3376(either)N757(case,)X936(the)X1054(error)X1231(\257ag)X1371(is)X1444(set,)X1573(and)X1709(no)X1809(other)X1994(change)X2242(is)X2315(made)X2509(to)X2591(GL)X2718(state.)X554 3510(Initially,)N847(the)X965(client)X1163(attribute)X1450(stack)X1635(is)X1708(empty.)X9 s266 3644(N)N268(NO)X322(OT)X376(TE)X422(ES)X468(S)X3 f10 s554 3740(glPushClientAttrib)N1 f1227(is)X1300(available)X1610(only)X1772(if)X1841(the)X1959(GL)X2086(version)X2342(is)X2415(1.1)X2535(or)X2622(greater.)X554 3874(Not)N702(all)X810(values)X1043(for)X1165(GL)X1300(client)X1506(state)X1681(can)X1821(be)X1925(saved)X2136(on)X2244(the)X2371(attribute)X2667(stack.)X2901(For)X3041(example,)X3362(select)X3574(and)X3719(feedback)X554 3970(state)N721(cannot)X955(be)X1051(saved.)X554 4104(The)N699(depth)X897(of)X984(the)X1102(attribute)X1389(stack)X1574(depends)X1857(on)X1957(the)X2075(implementation,)X2617(but)X2739(it)X2803(must)X2978(be)X3074(at)X3152(least)X3319(16.)X554 4238(Use)N3 f714(glPushAttrib)X1 f1193(and)X3 f1344(glPopAttrib)X1 f1788(to)X1885(push)X2071(and)X2222(restore)X2476(state)X2658(which)X2889(is)X2977(kept)X3151(on)X3267(the)X3401(server.)X3654(Only)X3850(pixel)X554 4334(storage)N819(modes)X1061(and)X1210(vertex)X1444(array)X1643(state)X1823(may)X1994(be)X2103(pushed)X2363(and)X2512(popped)X2781(with)X3 f2955(glPushClientAttrib)X1 f3640(and)X3 f3788(glPop-)X554 4430(ClientAttrib)N1 f977(.)X9 s266 4564(E)N268(ER)X314(RR)X364(RO)X414(OR)X468(RS)X518(S)X3 f10 s554 4660(GL_STACK_OVERFLOW)N1 f1519(is)X1592(generated)X1925(if)X3 f1994(glPushClientAttrib)X1 f2667(is)X2740(called)X2952(while)X3150(the)X3268(attribute)X3555(stack)X3740(is)X3813(full.)X3 f554 4794(GL_STACK_UNDERFLOW)N1 f1591(is)X1682(generated)X2033(if)X3 f2120(glPopClientAttrib)X1 f2776(is)X2867(called)X3097(while)X3313(the)X3449(attribute)X3754(stack)X3957(is)X554 4890(empty.)N9 s266 5024(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 5120(glGet)N1 f761(with)X923(argument)X3 f1246(GL_ATTRIB_STACK_DEPTH)X554 5216(glGet)N1 f761(with)X923(argument)X3 f1246(GL_MAX_CLIENT_ATTRIB_STACK_DEPTH)X1 f9 s266 5350(S)N268(SE)X310(EE)X356(E)X432(A)X434(AL)X488(LS)X534(SO)X576(O)X3 f10 s554 5446(glColorPointer)N1 f1066(,)X3 f1131(glDisableClientState)X1 f1829(,)X3 f1894(glEdgeFlagPointer)X1 f(,)S3 f2599(glEnableClientState)X1 f3283(,)X3 f3349(glGet)X1 f3536(,)X3 f3602(glGetError)X1 f3990(,)X3 f554 5542(glIndexPointer)N1 f1065(,)X3 f1112(glNormalPointer)X1 f1691(,)X3 f1738(glNewList)X1 f2085(,)X3 f2132(glPixelStore)X1 f2546(,)X3 f2592(glPushAttrib)X1 f3036(,)X3 f3082(glTexCoordPointer)X1 f3745(,)X3 f3791(glVer-)X554 5638(texPointer)N1 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 + -