Table of Contents

Class VertexExtensions

Namespace
Stride.Extensions
Assembly
Stride.Rendering.dll
public static class VertexExtensions
Inheritance
VertexExtensions

Methods

GetVertexBufferData<T>(MeshDraw, params string[])

Extracts a selection of vertices from a vertex buffer stored in this mesh data.

public static T[] GetVertexBufferData<T>(this MeshDraw meshData, params string[] vertexElementToExtract) where T : unmanaged

Parameters

meshData MeshDraw

The mesh data.

vertexElementToExtract string[]

The declaration to extract (e.g. "POSITION0"...etc.)

Returns

T[]

Type Parameters

T