Click or drag to resize

VertexElementsCreateVertexDeclaration Method

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static VertexLayout CreateVertexDeclaration(
	this VertexElement[] elements,
	int forSource
)

Parameters

elements
Type: NeoAxisVertexElement
forSource
Type: SystemInt32

Return Value

Type: VertexLayout

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also