Skip to content
/ oxidx Public

A low-level wrapper around DirectX 12 for Rust

License

Notifications You must be signed in to change notification settings

if0ne/oxidx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oxidx

This project provides low-level wrapper for D3D12 API.

Features

  • Provides a low-level API around DirectX 12. All methods correspond to DirectX 12 C++ methods, but they are done in a Rust way.
  • Based on official windows crate.
  • No library/runtime validation, only driver validation.
  • PIX methods.
  • D3D12 and DXGI prefixes have been stripped from all types.

Minimum supported Rust version

oxidx's MSRV is 1.80.

Examples

Device creation

let factory = create_factory4(FactoryCreationFlags::empty())?;

let adapter = factory.enum_adapters(0)?;

let device = create_device(&adapter, FeatureLevel::Level11)?;

Feature fetching

let mut options = Options1Feature::default();
device.check_feature_support(&mut options)?;

About

A low-level wrapper around DirectX 12 for Rust

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages