Rename render() to draw() and add draw mode parameter so technique can decide what to draw