<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>

<!--This is an automatically generated file. DO NOT EDIT THIS FILE DIRECTLY. Rather, use the _ref.xml files found in the 'edits' folder.-->
<c74object name="jit.pack" module="jit" category="Jitter Data">
	<digest>
		Make a multiplane matrix out of single plane matrices
	</digest>
	<description>
		The <o>jit.pack</o> object merges N single-plane matrices to make one N-plane matrix. This is useful for combining separate alpha, red, green, and blue matrices to make one ARGB matrix, and similar types of merging.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Jitter
		</metadata>
		<metadata name="tag">
			Jitter Data
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="matrix">
			<digest>
				in
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="matrix">
			<digest>
				in2
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="2" type="matrix">
			<digest>
				in3
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="3" type="matrix">
			<digest>
				in4
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="matrix">
			<digest>
				out
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="matrix">
			<digest>
				dumpout
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<objarglist>
		<objarg name="planecount" default="4" type="int">
			<digest>
				Number of planes
			</digest>
			<description>
				The number of planes in the input matrix and the number of single plane matrix inlets for the <o>jit.unpack</o> object.
			</description>
		</objarg>
	</objarglist>
	<!--MOP-->
	<mop matrixinputcount="-1" matrixoutputcount="1">
		<matrixoutput name="out" planelink="0" typelink="1" dimlink="1" minplanecount="1" maxplanecount="32" mindimcount="1" maxdimcount="32">
			<types>
				char long float32 float64
			</types>
		</matrixoutput>
	</mop>
	<!--MESSAGES-->
	<jittermethodlist>
		<jittermethod name="bang" />
		<jittermethod name="clear" />
		<jittermethod name="exportattrs" />
		<jittermethod name="exportsummary" />
		<jittermethod name="getattributes" />
		<jittermethod name="getstate" />
		<jittermethod name="jit_matrix" />
		<jittermethod name="importattrs" />
		<jittermethod name="outputmatrix" />
		<jittermethod name="summary" />
	</jittermethodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="index" get="1" set="1" type="int" size="1">
			<digest>
				Alias to <i>plane</i> attribute flag
			</digest>
			<description>
				Alias to the <i>plane</i> attribute for backwards compatibility. This attribute is only useful from Javascript or Java, the Max object inlet sets this attribute automatically.
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Index" />
			</attributelist>
		</attribute>
		<attribute name="jump" get="1" set="1" type="int" size="32">
			<digest>
				Jump planes
			</digest>
			<description>
				Number of planes to grab from input matrix (default = all ones)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Jump" />
			</attributelist>
		</attribute>
		<attribute name="offset" get="1" set="1" type="int" size="32">
			<digest>
				Input plane offset
			</digest>
			<description>
				Plane offset into input matrix (default = all zero)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Offset" />
			</attributelist>
		</attribute>
		<attribute name="plane" get="1" set="1" type="int" size="1">
			<digest>
				Target plane
			</digest>
			<description>
				Output matrix plane to which input is written. This attribute is only useful from Javascript or Java, since the Max object inlet sets this attribute automatically.
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Plane" />
			</attributelist>
		</attribute>
	</attributelist>
	<jitterattributelist>
		<jitterattribute name="outputmode" />
		<jitterattribute name="adapt" />
		<jitterattribute name="out_name" />
		<jitterattribute name="type" />
		<jitterattribute name="dim" />
		<jitterattribute name="planecount" />
	</jitterattributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example img="jit.pack.png" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="jit.coerce" />
		<seealso name="jit.concat" />
		<seealso name="jit.split" />
		<seealso name="jit.unpack" />
		<seealso name="jitterchapter05" module="jit" type="tutorial" />
	</seealsolist>
</c74object>
