Is it possible to convert a Texture2D to a Texture Object or to a Texture Vector 3?

Is it possible to convert a Texture2D to a Texture Object or to a Texture Vector 3?

Thanks

Very useful for gradient mapping, if i’m not wrong…

PS: If anyone have the info please do not hesitate sharing. XD

Would love an answer to this as well. I followed this guide to import all textures from a directory to an array but the output is object even though the array is full of textures.