mtld3d
Direct3D9 implementation on top of Metal.
File Explorer
- action.yml
- ci.yml
- ARCHITECTURE.md
- CONVENTIONS.md
- audit.sh
- derive_inventory.txt
- config.toml
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- classify.rs
- cli.rs
- diff.rs
- isolate.rs
- main.rs
- merge.rs
- model.rs
- run.rs
- scan.rs
- triage.rs
- clean.txt
- d3d9ex.txt
- device.txt
- stateblock.txt
- visual.txt
- baseline.txt
- Cargo.toml
- CONFORMANCE.md
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- commands.rs
- crumb.rs
- ffi_boundary.rs
- ftol.rs
- identity.rs
- lib.rs
- log_filter.rs
- log_helpers.rs
- mtl.rs
- mtl_handle.rs
- params.rs
- perf.rs
- trig.rs
- tsc.rs
- build.rs
- Cargo.toml
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- blit.rs
- buffer.rs
- capture.rs
- clear_quad.rs
- command.rs
- device.rs
- handle.rs
- macdrv.rs
- null_texture.rs
- pipeline.rs
- present.msl
- present.rs
- sampler.rs
- shader.rs
- texture.rs
- upscale.rs
- crash.rs
- handlers.rs
- lib.rs
- metal.rs
- build.rs
- Cargo.toml
- Cargo.lock
- Cargo.toml
- config.toml
- nextest.toml
- disasm.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- emit.rs
- ff.rs
- ir.rs
- opcode.rs
- parser.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- tests.rs
- app_profile.rs
- buffer_rename.rs
- caps.rs
- config.rs
- convert.rs
- depth_stencil_state.rs
- dirty_range.rs
- dirty_rect.rs
- dxso.rs
- ff_state.rs
- format.rs
- format_probe.rs
- fullscreen_resize.rs
- gpu_caps.rs
- ids.rs
- lib.rs
- packed16.rs
- page_box.rs
- page_box_pool.rs
- passes.rs
- perf.rs
- pipeline_state.rs
- present.rs
- process_vertices.rs
- render_scale.rs
- sampler_state.rs
- scratch.rs
- shader_cache.rs
- shader_compile_stats.rs
- state_trace.rs
- storage_policy.rs
- streams.rs
- stretch_rect.rs
- texture_staging.rs
- upload_recovery.rs
- visibility.rs
- vs_draw.rs
- snmalloc_drift.rs
- build.rs
- Cargo.toml
- frame_dump.rs
- mem_watch.rs
- bound_buffers.rs
- bound_rt.rs
- capture.rs
- com_ref.rs
- config.rs
- crash.rs
- crumb_allocator.rs
- cursor.rs
- device.rs
- direct3d9.rs
- draw.rs
- encoder.rs
- fullscreen.rs
- index_buffer.rs
- lib.rs
- log_sink.rs
- page_box_pool.rs
- pixel_shader.rs
- private_data.rs
- query.rs
- shader_bindings.rs
- shader_prewarm.rs
- shader_validator.rs
- stage_bindings.rs
- state_block.rs
- surface.rs
- swapchain.rs
- texture.rs
- unix_call.rs
- vertex_buffer.rs
- vertex_decl.rs
- vertex_shader.rs
- build.rs
- Cargo.toml
- d3d9.def
- lib.rs
- build.rs
- Cargo.toml
- check.rs
- ffi.rs
- harness.rs
- lib.rs
- pixel.rs
- resource.rs
- vertex.rs
- vtbl.rs
- win32.rs
- buffers.rs
- clip_planes.rs
- d3dperf.rs
- device.rs
- draw.rs
- expand16.rs
- implicit_surface.rs
- mrt.rs
- points.rs
- query.rs
- render_scale.rs
- render_states.rs
- render_target.rs
- resource_misc.rs
- samplers.rs
- shaders.rs
- smoke.rs
- snmalloc_drift.rs
- state_block.rs
- streams.rs
- subresource_identity.rs
- texture_stages.rs
- textures.rs
- transforms_ff.rs
- unload.rs
- vertex_decl.rs
- Cargo.toml
- COVERAGE.md
- tests.rs
- caps.rs
- cursor.rs
- device.rs
- direct3d9.rs
- ff.rs
- hresult.rs
- index_buffer.rs
- lib.rs
- primitive.rs
- vertex_buffer.rs
- vertex_decl.rs
- Cargo.toml
- Cargo.lock
- Cargo.toml
- .gitignore
- AGENTS.md
- CLAUDE.md
- CONTRIBUTING.md
- INSTALL.md
- LICENSE
- Makefile
- mtld3d.conf
- README.md
- rustfmt.toml
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
cargo clippy
View Details ▼
cargo clippy
A collection of lints to catch common mistakes and improve your Rust code.
cargo clippy
Run checks over the code in the current directory:
cargo clippy --locked
Require that `Cargo.lock` is up to date:
cargo clippy --workspace
Run checks on all packages in the workspace:
cargo fmt
View Details ▼
cargo fmt
Run `rustfmt` on all source files in a Rust project.
See also: `rustfmt`.
cargo fmt
Format all source files:
cargo fmt --check
Check for formatting errors without writing to the files:
cargo fmt -- {{rustfmt_args}}
Pass arguments to each `rustfmt` call:
cargo test
View Details ▼
cargo test
Execute the unit and integration tests of a Rust package.
cargo {{[t|test]}} {{test_name}}
Only run tests containing a specific string in their names:
cargo {{[t|test]}} -- --test-threads {{count}}
Set the number of simultaneous running test cases:
cargo {{[t|test]}} {{[-r|--release]}}
Test artifacts in release mode, with optimizations:
perf
View Details ▼
perf
Framework for Linux performance counter measurements.
perf stat {{gcc hello.c}}
Display basic performance counter stats for a command:
sudo perf top
Display system-wide real-time performance counter profile:
sudo perf record {{command}}
Run a command and record its profile into `perf.data`:
wine
View Details ▼
wine
Run Windows executables on Unix-based systems.
wine {{command}}
Run a specific program inside the `wine` environment:
wine start {{command}}
Run a specific program in background:
wine msiexec /{{i|x}} {{path/to/package.msi}}
Install/uninstall an MSI package:
softwareupdate
View Details ▼
softwareupdate
Update macOS App Store apps.
softwareupdate --list
List all available updates:
softwareupdate --install --all
Download and install all updates:
softwareupdate --install --recommended
Download and install all [r]ecommended updates:
