Example #1
0
    public void LogValues()
    {
        //buffer.GetData();

        buffer.SetData();
        print("first");
        float[] values = buffer.GetValues();
        for (int i = 0; i < values.Length; i += 8)
        {
            print(values[i]);
        }

        buffer.GetData();
        print("second");
        values = buffer.GetValues();
        for (int i = 0; i < values.Length; i += 8)
        {
            print(values[i]);
        }
    }