Need help creating a Sampler3D buffer for compute shaders

Godot Version



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.