Compartir a través de


VertexShader Constructor

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Creates a VertexShader.

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

Syntax

'Declaration
Public Sub New ( _
    graphicsDevice As GraphicsDevice, _
    shaderByteCode As Byte() _
)
public VertexShader(
    GraphicsDevice graphicsDevice,
    byte[] shaderByteCode
)

Parameters

  • shaderByteCode
    Type: array<System.Byte[]
    The byte code that represents the vertex shader.

Version Information

Silverlight

Supported in: 5

Platforms

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