If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!

Help:Contents/Finding Content/File Formats/DDS

From The Cutting Room Floor
Jump to navigation Jump to search
So very stubbly.
This page is rather stubbly and could use some expansion.
Are you a bad enough dude to rescue this article?
This cactus is UNDER CONSTRUCTION
This article is a work in progress.
...Well, all the articles here are, in a way. But this one moreso, and the article may contain incomplete information and editor's notes.
Hmmm...
To do:
Verify that terminology is correct and also organize file info. Lots of information from linked source.

The DDS, or DirectDraw Surface, is a file format used for storing textures.

The magic number is "DDS " (0x20534444) and is followed by the file header.[1]

Header Structure

The header is a 124-byte structure. The first four bytes indicate the size, which is always 124.[2]

Acactussayswhat?
Please elaborate.
Having more detail is always a good thing.
Specifically: I'm not sure exactly how much detail to go into, and also how to do it without essentially copying the reference since it goes pretty in depth. But at least maybe work on adding the rest of the fields in order.

Pixel Format Structure

Included in the header is a structure containing data on the pixel formatting. The first four bytes are always set to 32--the structure size.[3] Information in this structure indicate if the data is compressed or uncompressed.

References

  1. Programming Guide for DDS - Microsoft Learn
  2. DDS_HEADER structure - Microsoft Learn
  3. DDS_PIXELFORMAT structure - Microsoft Learn