MCPcopy Create free account
hub / github.com/ARM-software/astc-encoder / dds_header_dx10

Class dds_header_dx10

Source/astcenccli_image_load_store.cpp:1762–1769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1760};
1761
1762struct dds_header_dx10
1763{
1764 uint32_t dxgi_format;
1765 uint32_t resource_dimension; // Set to 2 (1D tex), 3 (2D tex or cube), or 4 (3D tex)
1766 uint32_t misc_flag; // Set to 4 if cubemap, else 0
1767 uint32_t array_size; // Set to size of array if texture array; else 1
1768 uint32_t reserved; // Set to 0.
1769};
1770
1771#define DDS_MAGIC 0x20534444
1772#define DX10_MAGIC 0x30315844

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected