private void PrepareShaderProgram() { if (program != null) { return; } program = new DepthBufferProgram(skinEnabled); }
public void Invalidate() { program = null; }