Sdílet prostřednictvím


GraphicsDevice.SetPixelShaderConstant Method

Sets a pixel shader constant.

Overload List

Name Description
GraphicsDevice.SetPixelShaderConstant (Int32, Boolean[]) Sets the specified pixel shader constant Boolean registers to an array of Boolean values.
GraphicsDevice.SetPixelShaderConstant (Int32, Int32[]) Sets the specified pixel shader constant integer registers to an array of Int32 values.
GraphicsDevice.SetPixelShaderConstant (Int32, Matrix) Sets the specified pixel shader constant float registers to a Matrix value.
GraphicsDevice.SetPixelShaderConstant (Int32, Matrix[]) Sets the specified pixel shader constant float registers to an array of Matrix values.
GraphicsDevice.SetPixelShaderConstant (Int32, Quaternion) Sets the specified pixel shader constant float registers to a Quaternion value.
GraphicsDevice.SetPixelShaderConstant (Int32, Quaternion[]) Sets the specified pixel shader constant float registers to an array of Quaternion values.
GraphicsDevice.SetPixelShaderConstant (Int32, Single[]) Sets the specified pixel shader constant float registers to an array of Single values.
GraphicsDevice.SetPixelShaderConstant (Int32, Vector2) Sets the specified pixel shader constant float register to a Vector2 value.
GraphicsDevice.SetPixelShaderConstant (Int32, Vector2[]) Sets the specified pixel shader constant float registers to an array of Vector2 values.
GraphicsDevice.SetPixelShaderConstant (Int32, Vector3) Sets the specified pixel shader constant float register to a Vector3 value.
GraphicsDevice.SetPixelShaderConstant (Int32, Vector3[]) Sets the specified pixel shader constant float registers to an array of Vector3 values.
GraphicsDevice.SetPixelShaderConstant (Int32, Vector4) Sets the specified pixel shader constant float register to a Vector4 value.
GraphicsDevice.SetPixelShaderConstant (Int32, Vector4[]) Sets the specified pixel shader constant float registers to an array of Vector4 values.

See Also

Reference

GraphicsDevice Class
GraphicsDevice Members
Microsoft.Xna.Framework.Graphics Namespace