Syntax
Result = dbChangeMeshFromMemblock(MeshID, MemblockID)
Description
If #PB_Any is used as the MeshID parameter, the new ID will be returned as 'Result'. Otherwise the value of 'Result' is the same value passed as the MeshID parameter.
This command will change a mesh from a memblock. This command is similar to dbMakeMeshFromMemblock, and skips the mesh creation step to make this command faster. You must ensure the mesh uses the same data structure as the memblock or this command will produce undesirable results. The specified values must be integer values and the source resource must exist or the command will fail. The memblock stores the data as described in the respective memblock construction command.
See Also