Updates of data on GPU.
This release introduces fast and simplified ways to copy data straight to device:
-
set texture data from pytorch tensors
-
texture filter modes enabled, default is trilinear, optionally nearest
-
set geometry data directly from numpy array or pytorch tensor (no host copy is made on the way)
-
synchronization method to update host copy with data from gpu:
NpOptiX.sync_raw_data()
-
convenience method to get a copy of geometry data (more simple than PinnedBuffer, though returns a copy): NpOptiX.get_data()