protected override RenderTexture Provide_Internal()
        {
            var renderTexture = TextureUtility.CreateRenderTexture(resolution.AsVector);

            renderTexture = new ComputeFillWithColor(renderTexture, color).Execute();
            return(renderTexture);
        }
Esempio n. 2
0
 protected override void PostAffect()
 => compute = null;
Esempio n. 3
0
 protected override void PreAffect(ProviderTexture texture)
 {
     compute = new ComputeFillWithColor(texture.RenderTexture, color);
 }