예제 #1
0
        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;
            }
        }
예제 #2
0
 public PostProcessBase()
 {
     blurWidthChanged = true;
     bPostConstructor = true;
     quadBuffer       = ScreenQuad.GetScreenQuadBuffer();
 }