Uploaded image for project: 'OpenVDB'
  1. OpenVDB
  2. OVDB-116

Make AttributeArray.dataAsByteArray() or TypedAttributeArray.data() public

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • Points
    • None

      I'm trying to optimise calls to a lot of vdb points methods where I know the attributes are expanded and uncompressed. In almost all cases the best solution would be to retrieve the attribute buffer directly. One example is performing in-place updates of attributes values or being able to use methods which take a pointer to the start of a contiguous array and their sizes. This is similar to how LeafBuffer's .data() can be leveraged. danrbailey thoughts?

            Unassigned Unassigned
            nna nna
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: