Skip to main content
GameDev.net gamedev.net
šŸ”’ Locked

D3DX10CreateShaderResourceViewFromMemory?!?!?!?

Started by EmptyVoid Sep 2, 2008 at 7:40 PM 0 replies 1.2k views
Original Post
EmptyVoid
EmptyVoid
I'm not sure how D3DX10CreateShaderResourceViewFromMemory works. If I use Fopen on a DDS file and read all the data to a array then pass the pointer to D3DX10CreateShaderResourceViewFromMemory would it create a texture? If thats how it works then it's perfect for what I'm trying to do.
This is your life, and it's ending one minute at a time. - Fight club
darkelf2k5
darkelf2k5
That's how it works. Read the whole texture file into memory and pass it to that function.
Every time you implement a singleton, God kills a kitten. Please, think of the kittens!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.