Closed impworks closed 7 years ago
Drawing should be separated into three methods:
public void Draw() { BeforeDraw(); DrawInternal(); AfterDraw(); }
Draw wrappers can be used to:
Better approach: DrawInternal is passed into Shader.Draw.
DrawInternal
Shader.Draw
Drawing should be separated into three methods:
Draw wrappers can be used to: