Thread: loading textures from resources (dx8/9)

  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    288

    loading textures from resources (dx8/9)

    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?

  2. #2
    Registered User
    Join Date
    Aug 2003
    Posts
    288
    nevermind, i thought id get a headstart on idea #2 and it worked out well.
    never knew the D3DX functions could do that, pretty useful.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Loading textures to screen
    By mindofpoison in forum Game Programming
    Replies: 2
    Last Post: 11-30-2005, 03:03 PM
  2. OpenGL Again, Loading Textures onto Quads
    By Shamino in forum Game Programming
    Replies: 7
    Last Post: 05-07-2005, 08:14 PM
  3. OpenGL, loading BMP Textures?
    By Zeusbwr in forum Game Programming
    Replies: 12
    Last Post: 12-09-2004, 05:16 PM
  4. Loading Child Windows from Resources
    By fuzzbuzz in forum Windows Programming
    Replies: 2
    Last Post: 03-12-2004, 10:22 AM
  5. Loading BMP's to be used as textures.
    By drdroid in forum Game Programming
    Replies: 11
    Last Post: 12-23-2003, 02:36 PM