Click or drag to resize
Ab4d.SharpEngine logo

MeshRemoveDataChannel Method

RemoveDataChannel method removes the data from the specified channel. If GpuBuffer is assigned to that channel, then it is disposed when disposeGpuBuffer parameter is true (by default).

Namespace: Ab4d.SharpEngine.Meshes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public virtual void RemoveDataChannel(
	MeshDataChannelTypes channelType,
	bool disposeGpuBuffer = true
)

Parameters

channelType  MeshDataChannelTypes
channel type
disposeGpuBuffer  Boolean  (Optional)
when true (by default) then GpuBuffer that is assigned to the channel is disposed
See Also