Table of Contents

Class Glitch2.Glitch2Pass

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
public class Glitch2.Glitch2Pass : ScriptableRenderPass
Inheritance
ScriptableRenderPass
Glitch2.Glitch2Pass
Inherited Members
Extension Methods

Constructors

Glitch2Pass(RenderPassEvent)

public Glitch2Pass(RenderPassEvent evt)

Parameters

evt RenderPassEvent

Fields

Glitch2

public LimitlessGlitch2 Glitch2

Field Value

LimitlessGlitch2

Glitch2Material

public Material Glitch2Material

Field Value

Material

MainTexId

public static readonly int MainTexId

Field Value

int

TempTargetId

public static readonly int TempTargetId

Field Value

int

_FadeMultiplier

public static readonly int _FadeMultiplier

Field Value

int

_Mask

public static readonly int _Mask

Field Value

int

_noiseTexture

public Texture2D _noiseTexture

Field Value

Texture2D

_trashFrame1Id

public static readonly int _trashFrame1Id

Field Value

int

_trashFrame2Id

public static readonly int _trashFrame2Id

Field Value

int

_trashFrameId

public static readonly int _trashFrameId

Field Value

int

currentTarget

public RenderTargetIdentifier currentTarget

Field Value

RenderTargetIdentifier

done

public bool done

Field Value

bool

k_RenderTag

public static readonly string k_RenderTag

Field Value

string

Methods

Execute(ScriptableRenderContext, ref RenderingData)

public override void Execute(ScriptableRenderContext context, ref RenderingData renderingData)

Parameters

context ScriptableRenderContext
renderingData RenderingData

OnCameraSetup(CommandBuffer, ref RenderingData)

public override void OnCameraSetup(CommandBuffer cmd, ref RenderingData renderingData)

Parameters

cmd CommandBuffer
renderingData RenderingData

ParamSwitch(Material, bool, string)

public void ParamSwitch(Material mat, bool paramValue, string paramName)

Parameters

mat Material
paramValue bool
paramName string

RandomColor()

public static Color RandomColor()

Returns

Color

Render(CommandBuffer, ref RenderingData)

public void Render(CommandBuffer cmd, ref RenderingData renderingData)

Parameters

cmd CommandBuffer
renderingData RenderingData

SetUpResources(float)

public void SetUpResources(float g_2Res)

Parameters

g_2Res float

Setup(in RenderTargetIdentifier)

public void Setup(in RenderTargetIdentifier currentTarget)

Parameters

currentTarget RenderTargetIdentifier

UpdateNoiseTexture(float)

public void UpdateNoiseTexture(float g_2Res)

Parameters

g_2Res float