VEX Dictionary / pop
pop
Takes one element out of an array, the final one unless an index is given, and hands it back.
group: array
Available in every context
Usage
<type> pop(<type> &array[])
<type> pop(<type> &array[]; int index)
Examples
No worked examples yet.
Signatures (from vcc -X)
matrix2 pop(matrix2[] &)all contextsmatrix2 pop(matrix2[] &, int)all contextsmatrix3 pop(matrix3[] &)all contextsmatrix3 pop(matrix3[] &, int)all contextsmatrix pop(matrix[] &)all contextsmatrix pop(matrix[] &, int)all contextsbsdf pop(bsdf[] &, int)all contextslight pop(light[] &, int)displace, fog, light, shadow, surfacelpeaccumulator pop(lpeaccumulator[] &, int)surfacematerial pop(material[] &, int)displace, fog, light, shadow, surfacebsdf pop(bsdf[] &)all contextslight pop(light[] &)displace, fog, light, shadow, surfacelpeaccumulator pop(lpeaccumulator[] &)surfacematerial pop(material[] &)displace, fog, light, shadow, surfacedict pop(dict[] &)all contextsdict pop(dict[] &, int)all contextsfloat pop(float[] &)all contextsfloat pop(float[] &, int)all contextsint pop(int[] &)all contextsint pop(int[] &, int)all contextsvector4 pop(vector4[] &)all contextsvector4 pop(vector4[] &, int)all contextsstring pop(string[] &)all contextsstring pop(string[] &, int)all contextsvector2 pop(vector2[] &)all contextsvector2 pop(vector2[] &, int)all contextsvector pop(vector[] &)all contextsvector pop(vector[] &, int)all contexts