ShaderHelper

Namespace: Murder.Utilities
Assembly: Murder.dll

public static class ShaderHelper

⭐ Methods

SetParameter(Effect, string, Texture2D)

public void SetParameter(Effect effect, string id, Texture2D val)

Parameters
effect Effect
id string
val Texture2D

SetParameter(Effect, string, Vector2)

public void SetParameter(Effect effect, string id, Vector2 val)

Parameters
effect Effect
id string
val Vector2

SetParameter(Effect, string, Vector3)

public void SetParameter(Effect effect, string id, Vector3 val)

Parameters
effect Effect
id string
val Vector3

SetParameter(Effect, string, Vector3[])

public void SetParameter(Effect effect, string id, Vector3[] val)

Parameters
effect Effect
id string
val Vector3[]

SetParameter(Effect, string, Point)

public void SetParameter(Effect effect, string id, Point val)

Parameters
effect Effect
id string
val Point

SetParameter(Effect, string, bool)

public void SetParameter(Effect effect, string id, bool val)

Parameters
effect Effect
id string
val bool

SetParameter(Effect, string, float)

public void SetParameter(Effect effect, string id, float val)

Parameters
effect Effect
id string
val float

SetParameter(Effect, string, int)

public void SetParameter(Effect effect, string id, int val)

Parameters
effect Effect
id string
val int

SetParameter(Effect, string, Vector2)

public void SetParameter(Effect effect, string id, Vector2 val)

Parameters
effect Effect
id string
val Vector2

SetTechnique(Effect, string)

public void SetTechnique(Effect effect, string id)

Parameters
effect Effect
id string

TrySetParameter(Effect, string, Vector2)

public void TrySetParameter(Effect effect, string id, Vector2 val)

Parameters
effect Effect
id string
val Vector2

TrySetParameter(Effect, string, bool)

public void TrySetParameter(Effect effect, string id, bool val)

Parameters
effect Effect
id string
val bool

TrySetParameter(Effect, string, float)

public void TrySetParameter(Effect effect, string id, float val)

Parameters
effect Effect
id string
val float

TrySetParameter(Effect, string, int)

public void TrySetParameter(Effect effect, string id, int val)

Parameters
effect Effect
id string
val int