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

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