

def write_to(self, dest, command_index):
    data = struct.pack(('f' * 32), *self._data)
    offset = ((command_index * 32) * 4)
    dest.set_subdata(offset, (32 * 4), data)

dataset/ETHPy150Open tobspr/RenderPipeline/rpcore/pynative/gpu_command.py GPUCommand.write_to/original