i usually have all my textures in a folder along with the executable, but i had the idea of putting all my textures in a resource file along with the executable.

anyway, i dont see any D3DX functions that allow you to load textures from a resource, but i did find 1 that let you load textures from memory.

do i need to load the resource to memory and then load the texture from memory?

or should i just save the textures as an array of bytes?