# Transfer a massive list of 32-bit data from the CPU to the GPU.

**URL:** <https://forums.unrealengine.com/t/transfer-a-massive-list-of-32-bit-data-from-the-cpu-to-the-gpu/2739979>\
**Category:** C++\
**Tags:** unreal-engine, question\
**Created:** [August 1, 2026, 7:03pm UTC](https://forums.unrealengine.com/t/transfer-a-massive-list-of-32-bit-data-from-the-cpu-to-the-gpu/2739979 "2026-08-01T19:03:00Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mamingalaxi\_yt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mamingalaxi\_yt](https://forums.unrealengine.com/u/mamingalaxi_yt)\
**Post date:** [August 1, 2026, 7:03pm UTC](https://forums.unrealengine.com/t/transfer-a-massive-list-of-32-bit-data-from-the-cpu-to-the-gpu/2739979/1 "2026-08-01T19:03:00Z")

</div>

Hello, I have some informations which I pack into a UInt32 in my C++ code.  
Here is the fonction :

```auto
uint32 UVoxelPaintSubsystem::PackPaintValue(uint32 A, uint32 B, uint32 C, uint32 D)
{
checkf(A <= 0x1FFu, TEXT("PaintSubsystem: erreur 1), %u"), A);
checkf(B <= 0x1FFu, TEXT("PaintSubsystem: erreur 2, %u"), B);
checkf(C <= 0x3FFu, TEXT("PaintSubsystem: erreur 3, %u"), C);
checkf(D <= 0xFu, TEXT("PaintSubsystem: erreur v4, %u"), D);
return (A & 0x1FFu)
    | ((B & 0x1FFu) << 9)
    | ((C & 0x3FFu) << 18)
    | ((D & 0xFu) << 28);

}

```

We want to send these a lot of these values ​​to a large number of dynamic materials (in a parameter linked to a custom node) in the cleanest possible way.  
Every bit economised is important here, because we have to send a lot of information.  
We had considered sending this information as a texture, but the issue is that textures have width and length limitations; this requires spreading our lists across many rows, which leads to poor reconstruction.  
The ideal approach would be to send a raw list of 32bits elements, thereby avoiding the need to reconstruct the data from a texture.  
We know that GPU works mainly with float number.

Anyone know the best way to do that ?

---

<div class="post-metadata">

**Author:** ![Frenetic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/frenetic/32/1142542_2.png) [@Frenetic](https://forums.unrealengine.com/u/Frenetic)\
**Post date:** [August 2, 2026, 12:17am UTC](https://forums.unrealengine.com/t/transfer-a-massive-list-of-32-bit-data-from-the-cpu-to-the-gpu/2739979/2 "2026-08-02T00:17:07Z")

</div>

In terms of raw quantity, how many distinct pieces of information are you looking at?

Would an MPC work here?

---

<div class="post-metadata">

**Author:** ![mamingalaxi\_yt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mamingalaxi\_yt](https://forums.unrealengine.com/u/mamingalaxi_yt)\
**Post date:** [August 2, 2026, 2:06pm UTC](https://forums.unrealengine.com/t/transfer-a-massive-list-of-32-bit-data-from-the-cpu-to-the-gpu/2739979/3 "2026-08-02T14:06:42Z")

</div>

Hey thanks for the replying !  
We need to send something like 28 lists, each containing up to 524,288 uint32. Most of the time, the lists won’t be at their maximum size, so each one should involve sending around 100,000 uint32.  
As for the MPC, I’m not sure if it can receive buffers? Because to send such a quantity of information, it seems quite complex to me to go through that (apart from modifying the engine so that an MPC can receive buffers)

---

<div class="post-metadata">

**Author:** ![Frenetic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/frenetic/32/1142542_2.png) [@Frenetic](https://forums.unrealengine.com/u/Frenetic)\
**Post date:** [August 2, 2026, 6:50pm UTC](https://forums.unrealengine.com/t/transfer-a-massive-list-of-32-bit-data-from-the-cpu-to-the-gpu/2739979/4 "2026-08-02T18:50:57Z")

</div>

MPCs can hold 1024 single-vector values as well as 1024 4vector values, so 5k scalars in each MPC.. Doesn’t sound like you can use them.

Each material is limited to accessing any 2 MPCs at a time, so there is a bottleneck there too.

You said ‘material’ and there are only a few ways to move data into such a thing, MPCs being the most ‘bulky’ way to do so vs a render-target.

A 512x512 RT gives you ~262Kcells, that’s a lot and a 512squared target isn’t THAT large?

---

<div class="post-metadata">

**Author:** ![mamingalaxi\_yt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mamingalaxi\_yt](https://forums.unrealengine.com/u/mamingalaxi_yt)\
**Post date:** [August 2, 2026, 7:16pm UTC](https://forums.unrealengine.com/t/transfer-a-massive-list-of-32-bit-data-from-the-cpu-to-the-gpu/2739979/5 "2026-08-02T19:16:30Z")

</div>

I think we could use a render target, the only problem being accurately transferring my uInt32 data into 3-color vectors.

This shouldn’t be too much of a problem if color detection were accurate. However, when reading a render target into a material, having tested this solution beforehand, and asking Unreal to output the color value of a pixel, it often gets it wrong by one or two values ​​(e.g., a color (255,12,5,1) becomes (255,15,10,1)).

Furthermore, alpha isn’t detected, so instead of having a color where alpha is 0.5, it detects alpha as 1 and that the color is darker. Therefore, in a 32-bit color vector, only 24 bits are usable, resulting in a considerable loss of data.

---

<div class="post-metadata">

**Author:** ![Frenetic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/frenetic/32/1142542_2.png) [@Frenetic](https://forums.unrealengine.com/u/Frenetic)\
**Post date:** [August 2, 2026, 7:19pm UTC](https://forums.unrealengine.com/t/transfer-a-massive-list-of-32-bit-data-from-the-cpu-to-the-gpu/2739979/6 "2026-08-02T19:19:39Z")

</div>

Yeah, compression (drift) will definately be a problem…

Is it just height-data of some sort? What does it _do_ at the other end?

---

<div class="post-metadata">

**Author:** ![mamingalaxi\_yt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mamingalaxi\_yt](https://forums.unrealengine.com/u/mamingalaxi_yt)\
**Post date:** [August 2, 2026, 7:26pm UTC](https://forums.unrealengine.com/t/transfer-a-massive-list-of-32-bit-data-from-the-cpu-to-the-gpu/2739979/7 "2026-08-02T19:26:49Z")

</div>

Yes, this is 3D data used to indicate areas painted with the material. It uses this data to display the paint in the right places.

---

<div class="post-metadata">

**Author:** ![Frenetic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/frenetic/32/1142542_2.png) [@Frenetic](https://forums.unrealengine.com/u/Frenetic)\
**Post date:** [August 3, 2026, 4:43pm UTC](https://forums.unrealengine.com/t/transfer-a-massive-list-of-32-bit-data-from-the-cpu-to-the-gpu/2739979/8 "2026-08-03T16:43:00Z")

</div>

Well…

I’m mainly a materials-type person. Big believer in making-the-GPU-do-it if you can.

I don’t know if a landscape is involved, but you mention material_S_, plural, so I’m thinking share-ability.

Runtime virtual-textures are great for sinking lots of visual information into, and making them widely-accessible in any material as it samples like an RT, just-a-texture. Not super-familiar with the finer-details of your solution, but it’s something that is writable, cache-able for the tiles/parts that don’t update from frame to frame, it works well with other systems, landscapes included (in particular), and is something that enables horizontal-information-exchange (is 1:many for being able to sample in assets).

Is the painted-area you referring to something like set-and-forget, like you sculpt and then leave it? Or is it like Splatoon where it’s something updating all the time owing to changes in the environment? RVTs can update ‘live’ in they can prioritize tiles that are visible for updates, but not knowing the overall cost of what goes into them you can never guarantee you get a live-level performance from the thing. RVTs are meant to be an information _sink_ meaning you put lots of things in there so the cost can be open-ended in that regard..

Different RVT-types have different levels of compression, so check into the settings. Drift will become an issue, but you can also jack up the resolution to decent levels, so granularity might help sidestep the issue? Idunno, I am just spitballing here.

Otherwise, outside myskillset there might be some custom-shader code you could write to migrate such data, but not something I’ve ever gotten close to trying on my own either, sorry.

---

<div class="post-metadata">

**Author:** ![mamingalaxi\_yt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mamingalaxi\_yt](https://forums.unrealengine.com/u/mamingalaxi_yt)\
**Post date:** [August 3, 2026, 4:57pm UTC](https://forums.unrealengine.com/t/transfer-a-massive-list-of-32-bit-data-from-the-cpu-to-the-gpu/2739979/9 "2026-08-03T16:57:25Z")

</div>

To answer your questions, firstly it is indeed similar to what Splatoon can do with very regular updates.  
There is no real use of landscape here. If I mentioned several materials it is because all the actors of the level are concerned, and must therefore receive part of the information.  
Can RVTs completely circumvent the compression problem?

To answer your questions, firstly it is indeed similar to what Splatoon can do with very regular updates.  
There is no real use of landscape here. If I mentioned several materials it is because all the actors of the level are concerned, and must therefore receive part of the information.  
Can RVTs completely circumvent the compression problem?

I just read the modification of your message, thank you all the same for your help, I will perhaps try to find other solutions to get around these problems.  
So yea, thank you for all !

---

<div class="post-metadata">

**Author:** ![Frenetic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/frenetic/32/1142542_2.png) [@Frenetic](https://forums.unrealengine.com/u/Frenetic)\
**Post date:** [August 3, 2026, 4:58pm UTC](https://forums.unrealengine.com/t/transfer-a-massive-list-of-32-bit-data-from-the-cpu-to-the-gpu/2739979/10 "2026-08-03T16:58:37Z")

</div>

Good thing I am a collector…

try this: [I released a free GPU-projected runtime mesh painting plugin: skeletal meshes, multiplayer replication, and on-mesh brush preview](https://forums.unrealengine.com/t/i-released-a-free-gpu-projected-runtime-mesh-painting-plugin-skeletal-meshes-multiplayer-replication-and-on-mesh-brush-preview/2739760)

---

<div class="post-metadata">

**Author:** ![mamingalaxi\_yt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mamingalaxi\_yt](https://forums.unrealengine.com/u/mamingalaxi_yt)\
**Post date:** [August 3, 2026, 5:01pm UTC](https://forums.unrealengine.com/t/transfer-a-massive-list-of-32-bit-data-from-the-cpu-to-the-gpu/2739979/11 "2026-08-03T17:01:14Z")

</div>

> [@Frenetic](#):
>
> Good thing I am a collector…

Thank you for the sharing !

---

<div class="post-metadata">

**Author:** ![Frenetic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/frenetic/32/1142542_2.png) [@Frenetic](https://forums.unrealengine.com/u/Frenetic)\
**Post date:** [August 4, 2026, 9:31am UTC](https://forums.unrealengine.com/t/transfer-a-massive-list-of-32-bit-data-from-the-cpu-to-the-gpu/2739979/12 "2026-08-04T09:31:11Z")

</div>

Just following up. I am curious of that guy’s plugin meets your needs?

---

<div class="post-metadata">

**Author:** ![mamingalaxi\_yt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mamingalaxi\_yt](https://forums.unrealengine.com/u/mamingalaxi_yt)\
**Post date:** [August 4, 2026, 5:07pm UTC](https://forums.unrealengine.com/t/transfer-a-massive-list-of-32-bit-data-from-the-cpu-to-the-gpu/2739979/13 "2026-08-04T17:07:28Z")

</div>

Not really, the problem with this plugin is that it links the paint data directly to the meshs. We already had that system, and I was asked to create a system linked directly to the world, in order to improve performance when there are many objects in the scene. But thank you anyway for sending me this link !

---

<div class="post-metadata">

**Author:** ![Frenetic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/frenetic/32/1142542_2.png) [@Frenetic](https://forums.unrealengine.com/u/Frenetic)\
**Post date:** [August 4, 2026, 7:05pm UTC](https://forums.unrealengine.com/t/transfer-a-massive-list-of-32-bit-data-from-the-cpu-to-the-gpu/2739979/14 "2026-08-04T19:05:59Z")

</div>

So when using the landscapes with RVTs there is in option to render the landscape as a single-quad. Since the RVT is top-down, XY projection, this results in a significant speed savings..

I’ve also used a single-quad, the same dimensions as my landscape as a big splat-target to paint to. This single mesh is not rendered in the main pass, only to the RVT, to then be sampled as required by other things.

My suggestion is that if a landscape, conceptually, might fit the bill, but b/c the landscape stuff is not sharable, maybe use that single, giant-quad as an intermediary target and work from there? It might allow you to use that networked paint plugin?

---

<div class="post-metadata">

**Author:** ![mamingalaxi\_yt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mamingalaxi\_yt](https://forums.unrealengine.com/u/mamingalaxi_yt)\
**Post date:** [August 4, 2026, 7:30pm UTC](https://forums.unrealengine.com/t/transfer-a-massive-list-of-32-bit-data-from-the-cpu-to-the-gpu/2739979/15 "2026-08-04T19:30:40Z")

</div>

Really interesting, I’ll look into that lead! What you’re describing could potentially work.

---

<div class="post-metadata">

**Author:** ![Frenetic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/frenetic/32/1142542_2.png) [@Frenetic](https://forums.unrealengine.com/u/Frenetic)\
**Post date:** [August 4, 2026, 8:03pm UTC](https://forums.unrealengine.com/t/transfer-a-massive-list-of-32-bit-data-from-the-cpu-to-the-gpu/2739979/16 "2026-08-04T20:03:04Z")

</div>

The main idea being you could have target(s) that don’t render and only act as paint-targets. These collectively render to the RVT which is widely-available in materials as just-a-texture.

If you can get any of your game-logic, etc onto the material-shader, it might result in a good performance savings as well.

---

<div class="post-metadata">

**Author:** ![mamingalaxi\_yt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mamingalaxi\_yt](https://forums.unrealengine.com/u/mamingalaxi_yt)\
**Post date:** [August 4, 2026, 8:24pm UTC](https://forums.unrealengine.com/t/transfer-a-massive-list-of-32-bit-data-from-the-cpu-to-the-gpu/2739979/17 "2026-08-04T20:24:34Z")

</div>

But I have a question: since the VT is just a projection onto the XY plane, won’t there be issues with the walls? Even with multiple projections, isn’t there a risk of artifacts?

---

<div class="post-metadata">

**Author:** ![Frenetic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/frenetic/32/1142542_2.png) [@Frenetic](https://forums.unrealengine.com/u/Frenetic)\
**Post date:** [August 4, 2026, 8:27pm UTC](https://forums.unrealengine.com/t/transfer-a-massive-list-of-32-bit-data-from-the-cpu-to-the-gpu/2739979/18 "2026-08-04T20:27:53Z")

</div>

yes there will be, if you need XZ/YZ projection then my suggestions might not be great..

---

<div class="post-metadata">

**Author:** ![mamingalaxi\_yt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mamingalaxi\_yt](https://forums.unrealengine.com/u/mamingalaxi_yt)\
**Post date:** [August 4, 2026, 8:37pm UTC](https://forums.unrealengine.com/t/transfer-a-massive-list-of-32-bit-data-from-the-cpu-to-the-gpu/2739979/19 "2026-08-04T20:37:38Z")

</div>

Yes we need all projections, that’s why I initially leaned towards an approach where I’d pass 3D coordinates to the materials on the fly, allowing them to render the paint themselves. However, I’m not sure how to send that much data to the material without data loss.

---

<div class="post-metadata">

**Author:** ![Frenetic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/frenetic/32/1142542_2.png) [@Frenetic](https://forums.unrealengine.com/u/Frenetic)\
**Post date:** [August 4, 2026, 8:43pm UTC](https://forums.unrealengine.com/t/transfer-a-massive-list-of-32-bit-data-from-the-cpu-to-the-gpu/2739979/20 "2026-08-04T20:43:29Z")

</div>

I mean if you use a lot of LOW-resolution targets, but..still.

There might be a custom-solution code for at the C-level, outside my direct skillset, sorry.

There is also meshpainting for nanite meshes, so that might be a thing?

[Next page](https://forums.unrealengine.com/t/transfer-a-massive-list-of-32-bit-data-from-the-cpu-to-the-gpu/2739979.md?page=2)
