Need help creating a Sampler3D buffer for compute shaders

Godot Version

4.2.2

Question

Can someone help me create a Sampler3D (an array of images in gdscipt) buffer to pass to a compute shader?
I can create sampler2d and image buffers using RenderingDevice.texture_create(), but I’m not sure how to use it for sampler3d buffers.

I have also been tormented by this question, and my ultimate solution is to pass the 3D texture as a 1D array and then create a function for indexing in the calculation shader