Hi, im trying to create an Array of Textures like so:
texture<float, 3, cudaReadModeElementType> NoiseTextures[4];
And im trying to initialize it like this:
NoiseTexture[i] = texture<float, 3, cudaReadModeElementType>(1,cudaFilterModeLinear,cudaAddressModeWrap,channelDesc);
But im getting the Error: “error: identifier “NoiseTexture” is undefined”
It might be just completely wrong how im trying to create it.
Have you an Idea how to solve this?
Thanks for reading this,
Cery