1 unstable release
Uses new Rust 2024
| 0.1.0 | Sep 26, 2025 |
|---|
#2386 in Parser implementations
120KB
2.5K
SLoC
oslq
A command-line tool for querying OSL (Open Shading Language) shader parameters & metadata.
Installation
cargo install oslq
Usage
# Query shader parameters
oslq shader.oso
# Verbose output
oslq -v shader.oso
# Query specific parameter
oslq --param paramname shader.oso
# JSON output (if built with json feature)
oslq --json shader.oso
Features
- Colored output.
- Support for all OSL types including arrays and aggregates.
- Compatible with
oslinfooutput format. - JSON output support (optional feature).
License
Licensed under Apache-2.0 OR BSD-3-Clause OR MIT OR Zlib at your option.
Dependencies
~5–6.5MB
~103K SLoC