Share via


GraphicsDeviceExtensions Class

Inheritance Hierarchy

System.Object
  Microsoft.Xna.Framework.Graphics.GraphicsDeviceExtensions

Namespace:  Microsoft.Xna.Framework.Graphics
Assembly:  Microsoft.Xna.Framework.Graphics.Shaders (in Microsoft.Xna.Framework.Graphics.Shaders.dll)

Syntax

'Declaration

<ExtensionAttribute> _
Public NotInheritable Class GraphicsDeviceExtensions
public static class GraphicsDeviceExtensions
[ExtensionAttribute]
public ref class GraphicsDeviceExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type GraphicsDeviceExtensions =  class end
public final class GraphicsDeviceExtensions

The GraphicsDeviceExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member GetPixelShader
Public methodStatic member GetVertexShader
Public methodStatic member SetPixelShader
Public methodStatic member SetPixelShaderConstantFloat4<T>(GraphicsDevice, Int32, T%)
Public methodStatic member SetPixelShaderConstantFloat4<T>(GraphicsDevice, Int32, Int32, T%)
Public methodStatic member SetVertexShader
Public methodStatic member SetVertexShaderConstantFloat4<T>(GraphicsDevice, Int32, T%)
Public methodStatic member SetVertexShaderConstantFloat4<T>(GraphicsDevice, Int32, Int32, T%)

Top

Version Information

Silverlight

Supported in: 5

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Xna.Framework.Graphics Namespace