public void Load(ShaderManager shaderManager, string shaderPath) { _shaderIndex = shaderManager.AddShader(shaderPath); _shader = shaderManager.GetShader(_shaderIndex); _shaderManagerReference = shaderManager; }
private void Load(ShaderManager shaderManager, string shaderPath) { //"Shaders/Deferred/DeferredPointLight" _shaderIndex = shaderManager.AddShader(shaderPath); _pointLightShader = shaderManager.GetShader(_shaderIndex); _shaderManagerReference = shaderManager; }