ICustomPostProcessingRenderPass

interface ICustomPostProcessingRenderPass : IRenderPass

A post-processing render pass for a custom shader. You can create this shader via T:Protogame.IGraphicsFactory if you don’t want to strongly type your shader.

readonly Protogame.IAssetReference<EffectAsset> Effect
void SetValue(string name, bool value)

Sets the custom shader parameter to the specified boolean.

Parameters:
  • name (string) – The name of the parameter to set.
  • value (bool) – The new boolean value.
void SetValue(string name, int value)

Sets the custom shader parameter to the specified integer.

Parameters:
  • name (string) – The name of the parameter to set.
  • value (int) – The new integer value.
void SetValue(string name, Matrix value)

Sets the custom shader parameter to the specified matrix.

Parameters:
  • name (string) – The name of the parameter to set.
  • value (Microsoft.Xna.Framework.Matrix) – The new matrix.
void SetValue(string name, Microsoft.Xna.Framework.Matrix[] value)

Sets the custom shader parameter to the specified array of matrixes.

Parameters:
  • name (string) – The name of the parameter to set.
  • value (Microsoft.Xna.Framework.Matrix[]) – The new array of matrixes.
void SetValue(string name, Quaternion value)

Sets the custom shader parameter to the specified quaternion.

Parameters:
  • name (string) – The name of the parameter to set.
  • value (Microsoft.Xna.Framework.Quaternion) – The new quaternion.
void SetValue(string name, float value)

Sets the custom shader parameter to the specified floating point value.

Parameters:
  • name (string) – The name of the parameter to set.
  • value (float) – The new floating point value.
void SetValue(string name, System.Single[] value)

Sets the custom shader parameter to the specified array of floating point values.

Parameters:
  • name (string) – The name of the parameter to set.
  • value (System.Single[]) – The new array of floating point values.
void SetValue(string name, Texture value)

Sets the custom shader parameter to the specified texture.

Parameters:
  • name (string) – The name of the parameter to set.
  • value (Microsoft.Xna.Framework.Graphics.Texture) – The new texture.
void SetValue(string name, Vector2 value)

Sets the custom shader parameter to the specified 2-dimensional vector.

Parameters:
  • name (string) – The name of the parameter to set.
  • value (Microsoft.Xna.Framework.Vector2) – The new 2-dimensional vector.
void SetValue(string name, Microsoft.Xna.Framework.Vector2[] value)

Sets the custom shader parameter to the specified array of 2-dimensional vectors.

Parameters:
  • name (string) – The name of the parameter to set.
  • value (Microsoft.Xna.Framework.Vector2[]) – The new array of 2-dimensional vectors.
void SetValue(string name, Vector3 value)

Sets the custom shader parameter to the specified 3-dimensional vector.

Parameters:
  • name (string) – The name of the parameter to set.
  • value (Microsoft.Xna.Framework.Vector3) – The new 3-dimensional vector.
void SetValue(string name, Microsoft.Xna.Framework.Vector3[] value)

Sets the custom shader parameter to the specified array of 3-dimensional vectors.

Parameters:
  • name (string) – The name of the parameter to set.
  • value (Microsoft.Xna.Framework.Vector3[]) – The new array of 3-dimensional vectors.
void SetValue(string name, Vector4 value)

Sets the custom shader parameter to the specified 4-dimensional vector.

Parameters:
  • name (string) – The name of the parameter to set.
  • value (Microsoft.Xna.Framework.Vector4) – The new 4-dimensional vector.
void SetValue(string name, Microsoft.Xna.Framework.Vector4[] value)

Sets the custom shader parameter to the specified array of 4-dimensional vectors.

Parameters:
  • name (string) – The name of the parameter to set.
  • value (Microsoft.Xna.Framework.Vector4[]) – The new array of 4-dimensional vectors.