RTSEngine.Graphics.RTSBuildingModel.SetInstances C# (CSharp) Method

SetInstances() public method

public SetInstances ( GraphicsDevice g ) : void
g GraphicsDevice
return void
        public void SetInstances(GraphicsDevice g)
        {
            g.SetVertexBuffers(
                new VertexBufferBinding(vbModel),
                new VertexBufferBinding(dvbInstances, 0, 1)
                );
            g.Indices = ibModel;
        }