private void CheckForShaderChanges() { if (_shaderManagerReference.GetShaderHasChanged(_shaderIndex)) { _shader = _shaderManagerReference.GetShader(_shaderIndex); Initialize(); } }