VertexShader Constructor

Creates a VertexShader.

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

public VertexShader(
	GraphicsDevice graphicsDevice,
	byte[] shaderByteCode
)

Parameters

graphicsDevice
Type: Microsoft.Xna.Framework.Graphics.GraphicsDevice
The graphics device to associate with the shader.
shaderByteCode
Type: System.Byte[]
The byte code that represents the vertex shader.

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: