Creates a new mesh resource.

Namespace: VVVV.PluginInterfaces.V2.EX9
Assembly: VVVV.PluginInterfaces (in VVVV.PluginInterfaces.dll) Version: 2.0.4694.10872

Syntax

C#
public static MeshResource<TMetadata> Create<TMetadata>(
	TMetadata metadata,
	Func<TMetadata, Device, Mesh> createResourceFunc,
	Action<TMetadata, Mesh> updateResourceFunc,
	Action<TMetadata, Mesh> destroyResourceAction
)

Parameters

metadata
Type: TMetadata
The metadata associated with the mesh resource.
createResourceFunc
Type: System..::..Func<(Of <(<'TMetadata, Device, Mesh>)>)>
A function which creates the mesh.
updateResourceFunc
Type: System..::..Action<(Of <(<'TMetadata, Mesh>)>)>
A function which updates the mesh.
destroyResourceAction
Type: System..::..Action<(Of <(<'TMetadata, Mesh>)>)>
A function which destroys the mesh.

Type Parameters

TMetadata
The type of the metadata.

Return Value

The newly created mesh resource.

See Also