Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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:
© 2015 Microsoft