directx-headers/1.610.2

Headers for using D3D12
Recipe info
2023-10-23

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
directx-headers/1.610.2

Using directx-headers

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
directx-headers/1.610.2
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("directx-headers/1.610.2")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): DirectX-Headers
  • CMake target name(s): Microsoft::DirectX-Headers
  • pkg-config file name(s): DirectX-Headers.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(DirectX-Headers REQUIRED)
# ...
target_link_libraries(YOUR_TARGET Microsoft::DirectX-Headers)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the directx-headers homepage listed above:

#include "basetsd.h"
#include "directx/D3D12TokenizedProgramFormat.hpp"
#include "directx/d3d12.h"
#include "directx/d3d12.idl"
#include "directx/d3d12compatibility.h"
#include "directx/d3d12compatibility.idl"
#include "directx/d3d12sdklayers.h"
#include "directx/d3d12sdklayers.idl"
#include "directx/d3d12shader.h"
#include "directx/d3d12video.h"
#include "directx/d3d12video.idl"
#include "directx/d3dcommon.h"
#include "directx/d3dcommon.idl"
#include "directx/d3dx12.h"
#include "directx/d3dx12_barriers.h"
#include "directx/d3dx12_check_feature_support.h"
#include "directx/d3dx12_core.h"
#include "directx/d3dx12_default.h"
#include "directx/d3dx12_pipeline_state_stream.h"
#include "directx/d3dx12_property_format_table.h"
#include "directx/d3dx12_render_pass.h"
#include "directx/d3dx12_resource_helpers.h"
#include "directx/d3dx12_root_signature.h"
#include "directx/d3dx12_state_object.h"
#include "directx/dxcore.h"
#include "directx/dxcore_interface.h"
#include "directx/dxgicommon.h"
#include "directx/dxgicommon.idl"
#include "directx/dxgiformat.h"
#include "directx/dxgiformat.idl"
#include "dxguids/dxguids.h"
#include "oaidl.h"
#include "ocidl.h"
#include "rpc.h"
#include "rpcndr.h"
#include "unknwn.h"
#include "unknwnbase.h"
#include "winapifamily.h"
#include "wrl/client.h"
#include "wrl/implements.h"
#include "wsl/stubs/basetsd.h"
#include "wsl/stubs/oaidl.h"
#include "wsl/stubs/ocidl.h"
#include "wsl/stubs/rpc.h"
#include "wsl/stubs/rpcndr.h"
#include "wsl/stubs/unknwn.h"
#include "wsl/stubs/unknwnbase.h"
#include "wsl/stubs/winapifamily.h"
#include "wsl/stubs/wrl/client.h"
#include "wsl/stubs/wrl/implements.h"
#include "wsl/winadapter.h"
#include "wsl/wrladapter.h"