Skip to content

Conversation

j9liu
Copy link
Contributor

@j9liu j9liu commented Jul 3, 2025

Added in support of CesiumGS/cesium-unreal#1685.

In the case of voxels, we use a megatexture to store each renderable tile's data. If a property matches the type of a texture in Unreal (e.g. float properties), then it's more performant to copy the entire buffer at a time into the texture, instead of converting its values one-by-one.

To do that, we'd need access to the data pointer of the accessor used by the PropertyAttributePropertyView, hence the accessorView method.

Author checklist

  • I have done a full self-review of my code.
  • I have updated CHANGES.md with a short summary of my change (for user-facing changes).
  • [ ] I have added or updated unit tests to ensure consistent code coverage as necessary.
  • I have updated the documentation as necessary.

@j9liu j9liu added this to the August 2025 Release milestone Jul 3, 2025
@j9liu j9liu removed this from the August 2025 Release milestone Jul 29, 2025
@kring
Copy link
Member

kring commented Aug 26, 2025

Thanks @j9liu!

@kring kring merged commit 45bfe40 into main Aug 26, 2025
22 checks passed
@kring kring deleted the accessible-accessor-view branch August 26, 2025 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants