CustomVertex.PositionColored[] pc = new CustomVertex.PositionColored[1]; pc[0] = new CustomVertex.PositionColored(position, color); m_GS.Write(pc);