bethesda_structs.contrib¶
This module contains various resources that required by some of Bethesda’s file formats.
DDS¶
This module provides structures, and resources for Microsoft’s Direct Draw Surface formats.
Required by BTDXArchive
as DDS headers have to be rebuilt for extraction.
-
bethesda_structs.contrib.dds.
MAKEFOURCC
(ch0, ch1, ch2, ch3)[source]¶ Implementation of Window’s MAKEFOURCC.
This is simply just returning the bytes of the joined characters. MAKEFOURCC(*”DX10”) can also be implemented by Bytes(b”DX10”).
Parameters: Returns: The integer representation of given characters.
Return type: - Reference:
- Microsoft
-
class
bethesda_structs.contrib.dds.
D3D10ResourceDimension
[source]¶ The dimension enum for D3D10 resources.
-
class
bethesda_structs.contrib.dds.
D3D10ResourceMiscFlag
[source]¶ The miscellaneous flags for D3D10 resources.
-
bethesda_structs.contrib.dds.
DXGI_FORMAT
= <Enum <FormatField>>¶ The
DXGI_FORMAT
structure.- Reference:
- Microsoft
-
bethesda_structs.contrib.dds.
D3D10_RESOURCE_DIMENSION
= <Enum <FormatField>>¶ The
D3D10_RESOURCE_DIMENSION
structure.- Reference:
- Microsoft
-
bethesda_structs.contrib.dds.
D3D10_RESOURCE_MISC_FLAG
= <FlagsEnum <FormatField>>¶ The
D3D10_RESOURCE_MISC_FLAG
structure.- Reference:
- Microsoft