private void PostConstructor() { if (_postConstructor) { _buffer = ScreenQuad.GetScreenQuadBuffer(); _shader = PoolProxy.GetResource <ObtainShaderPool, ShaderAllocationPolicy <UiFrameShader>, string, UiFrameShader>(ProjectFolders.ShadersPath + "uiVS.glsl," + ProjectFolders.ShadersPath + "uiFS.glsl"); _postConstructor = false; } }
public PostProcessBase() { blurWidthChanged = true; bPostConstructor = true; quadBuffer = ScreenQuad.GetScreenQuadBuffer(); }