Table of Contents

Class TVEffect_RLPRO.TVEffect_RLPROPass

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

Constructors

TVEffect_RLPROPass(RenderPassEvent)

public TVEffect_RLPROPass(RenderPassEvent evt)

Parameters

evt RenderPassEvent

Fields

MainTexId

public static readonly int MainTexId

Field Value

int

RetroEffectMaterial

public Material RetroEffectMaterial

Field Value

Material

T

public float T

Field Value

float

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

currentTarget

public RenderTargetIdentifier currentTarget

Field Value

RenderTargetIdentifier

fade

public static readonly int fade

Field Value

int

hardPix

public static readonly int hardPix

Field Value

int

hardScan

public static readonly int hardScan

Field Value

int

k_RenderTag

public static readonly string k_RenderTag

Field Value

string

maskDark

public static readonly int maskDark

Field Value

int

maskLight

public static readonly int maskLight

Field Value

int

resScale

public static readonly int resScale

Field Value

int

retroEffect

public TVEffect retroEffect

Field Value

TVEffect

scale

public static readonly int scale

Field Value

int

scaler

public float scaler

Field Value

float

warp

public static readonly int warp

Field Value

int

Methods

Execute(ScriptableRenderContext, ref RenderingData)

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

Parameters

context ScriptableRenderContext
renderingData RenderingData

GetScale(int, int, Vector2, float)

public float GetScale(int width, int height, Vector2 scalerReferenceResolution, float scalerMatchWidthOrHeight)

Parameters

width int
height int
scalerReferenceResolution Vector2
scalerMatchWidthOrHeight float

Returns

float

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

Render(CommandBuffer, ref RenderingData)

public void Render(CommandBuffer cmd, ref RenderingData renderingData)

Parameters

cmd CommandBuffer
renderingData RenderingData

Setup(in RenderTargetIdentifier)

public void Setup(in RenderTargetIdentifier currentTarget)

Parameters

currentTarget RenderTargetIdentifier