package org.papervision3d.core.geom.renderables {
	import org.papervision3d.core.geom.renderables.AbstractRenderable;
	import org.papervision3d.core.render.command.IRenderListItem;
	import org.papervision3d.core.render.command.RenderVectorShape;
	import org.papervision3d.materials.special.VectorShapeMaterial;
	import org.papervision3d.objects.special.VectorShape3D;		

	/**
	 * @author Mark Barcinski
	 */
	public class VectorShapeRenderable extends AbstractRenderable implements IRenderable{
		public var material:VectorShapeMaterial;
		public var renderCommand : RenderVectorShape;

		public function VectorShapeRenderable(instance : VectorShape3D , renderCommand : RenderVectorShape) {
			this.instance = instance;
			this.renderCommand = renderCommand;			
		}
		
		override public function getRenderListItem():IRenderListItem
		{
			return this.renderCommand;
		}
	}
}
