Jump to content
  • Advertisement
Sign in to follow this  
d3dnewb

MDX: FourCC coded textures

This topic is 4863 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey, Trying to load a proprietory texture format (PVRTC4) onto my pocket PC in managed direct 3d mobile. I've created the Texture object and use TextureLoader.FromStream() to load data into the video memory. Previously this has worked with other formats. However the function uses a Format enumerator where you select the type, but nothing about FourCC codes there. Can anyone suggest a way to load it, forgetting this is direct3d mobile how would u do it in normal MDX for a start? The format is precompressed on a desktop PC. I'm currently trying Format.Unknown as a flag but get a error 80004005. MS help seems to be of no use. Thanks

Share this post


Link to post
Share on other sites
Advertisement
I'm a step closer to succes here, casting a created FourCC code to Format type. But i'm still getting the error, workin at it.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!