Added acStoreWithOffset to the revised interface
This commit is contained in:
@@ -62,6 +62,8 @@ AcReal acReduceScal(const ReductionType rtype, const VertexBufferHandle vtxbuf_h
|
||||
AcReal acReduceVec(const ReductionType rtype, const VertexBufferHandle a,
|
||||
const VertexBufferHandle b, const VertexBufferHandle c);
|
||||
|
||||
AcResult acStoreWithOffset(const int3 dst, const size_t num_vertices, AcMesh* host_mesh);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
@@ -98,3 +98,9 @@ acReduceVec(const ReductionType rtype, const VertexBufferHandle a, const VertexB
|
||||
acNodeReduceVec(nodes[0], STREAM_DEFAULT, rtype, a, b, c, &result);
|
||||
return result;
|
||||
}
|
||||
|
||||
AcResult
|
||||
acStoreWithOffset(const int3 dst, const size_t num_vertices, AcMesh* host_mesh)
|
||||
{
|
||||
return acNodeStoreMeshWithOffset(nodes[0], STREAM_DEFAULT, dst, dst, num_vertices, host_mesh);
|
||||
}
|
||||
|
Reference in New Issue
Block a user