Class ColormapPalette_RLPRO.ColormapPalette_RLPROPass
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class ColormapPalette_RLPRO.ColormapPalette_RLPROPass : ScriptableRenderPass
- Inheritance
-
ScriptableRenderPass
ColormapPalette_RLPRO.ColormapPalette_RLPROPass
- Inherited Members
-
- Extension Methods
-
Constructors
ColormapPalette_RLPROPass(RenderPassEvent)
public ColormapPalette_RLPROPass(RenderPassEvent evt)
Parameters
evt
RenderPassEvent
Fields
MainTexId
public static readonly int MainTexId
Field Value
- int
RetroEffectMaterial
public Material RetroEffectMaterial
Field Value
- Material
TempTargetId
public static readonly int TempTargetId
Field Value
- int
_BlueNoiseV
public static readonly int _BlueNoiseV
Field Value
- int
_ColormapV
public static readonly int _ColormapV
Field Value
- int
_DitherV
public static readonly int _DitherV
Field Value
- int
_FadeMultiplier
public static readonly int _FadeMultiplier
Field Value
- int
_Mask
public static readonly int _Mask
Field Value
- int
_OpacityV
public static readonly int _OpacityV
Field Value
- int
_PaletteV
public static readonly int _PaletteV
Field Value
- int
colormapPalette
public Texture2D colormapPalette
Field Value
- Texture2D
colormapTexture
public Texture3D colormapTexture
Field Value
- Texture3D
currentTarget
public RenderTargetIdentifier currentTarget
Field Value
- RenderTargetIdentifier
heightV
public static readonly int heightV
Field Value
- int
k_RenderTag
public static readonly string k_RenderTag
Field Value
- string
m_Init
Field Value
- bool
m_Res
Field Value
- Vector2
m_TempPixelSize
public int m_TempPixelSize
Field Value
- int
retroEffect
public ColormapPalette retroEffect
Field Value
- ColormapPalette
tempPresetIndex
public int tempPresetIndex
Field Value
- int
widthV
public static readonly int widthV
Field Value
- int
Methods
ApplyColormapToMaterial(Material)
public void ApplyColormapToMaterial(Material bl)
Parameters
bl
Material
ApplyMap(Material)
public void ApplyMap(Material bl)
Parameters
bl
Material
ApplyMaterialVariables(Material, out Vector2)
public void ApplyMaterialVariables(Material bl, out Vector2 res)
Parameters
bl
Material
res
Vector2
ApplyPalette(Material)
public void ApplyPalette(Material bl)
Parameters
bl
Material
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
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
intHasChanged(int, int)
public bool intHasChanged(int A, int B)
Parameters
A
int
B
int
Returns
- bool