How can I access and change texture data in SlimDX? I have a Texture2D and a Texture3D and I need to be able to go in and change either a single or group of pixels.
If you need to update textures once in awhile (e.g. while loading a new level), you can do it with UpdateSubresource. However, beware that this can cause a CPU-GPU sync point, which will trash your performance if you're doing it every frame.
If you need to update textures in real-time, a better way is to bind it as a render target and draw on it with a shader that performs the required alterations.