 |
MeshSetDataChannelGpuBuffer Method |
Sets the specified GpuBuffer to the data with the specified channel type.
If any existing GpuBuffer was already assigned to the channel, then it is disposed.
Namespace: Ab4d.SharpEngine.MeshesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic virtual void SetDataChannelGpuBuffer(
MeshDataChannelTypes channelType,
GpuBuffer? gpuBuffer,
bool disposeExistingGpuBuffer = true
)
Parameters
- channelType MeshDataChannelTypes
- MeshDataChannelTypes
- gpuBuffer GpuBuffer
- GpuBuffer
- disposeExistingGpuBuffer Boolean (Optional)
- when true (by default) then GpuBuffer that is already assigned to the channel is disposed
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Meshes.Mesh.SetDataChannelGpuBuffer(Ab4d.SharpEngine.Meshes.MeshDataChannelTypes,Ab4d.SharpEngine.Core.GpuBuffer,System.Boolean)"]
See Also