# Camera Reset Replacement Shader

[Rendering](../index.md) / [Camera](index.md) / **Camera Reset Replacement Shader**

## Description

Executes the Reset Replacement Shader method on the Camera component

## Code

```cs
// <auto-generated>
// This script was automatically generated using the Visual Script Transpiler.
// Do not modify. Changes to this file will be lost when updating the package.
// </auto-generated>

using System;
using UnityEngine;
using VisualScript.Icons;
using UnityEngine.Rendering;

namespace VisualScript.Runtime
{
    [Title("Camera Reset Replacement Shader")]
    [Category("Rendering/Camera/Reset Replacement Shader")]
    [Description("Executes the Reset Replacement Shader method on the Camera component")]
    
    [Image(typeof(IconCamera), ColorTheme.Type.Blue)]
    
    [Serializable]
    public class GenInstructionCamera_ResetReplacementShader_0 : Instruction
    {
        [SerializeField] private GetGameObject m_Camera = new GetGameObject(
            new GenTypeGameObject_Camera()
        );
        
        protected override string GetTitle(GameObject source)
        {
            string method = TextUtils.ThemeAsKeyword("Reset Replacement Shader");
            return $"{this.m_Camera} {method}";
        }
        
        protected override Awaitable Run(Args args)
        {
            Camera component = this.m_Camera.Get<Camera>(args);
            if (component == null) return Done;
            
            component.ResetReplacementShader();
            
            return Done;
        }
    }
}


```

