Skip to content

🎬 A very lightweight wrapper around the Render Pipeline Shaders library 🦀

Notifications You must be signed in to change notification settings

ProjectKML/rps-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎬 rps-rs

A very lightweight wrapper around the Render Pipeline Shaders library 🦀

ProjectKML Crates.io Docs Dependency status Build status

Basic example

let device_create_info = rps::DeviceCreateInfo::default();
let runtime_create_info = rps::RuntimeDeviceCreateInfo::default();

let vk_functions = rps::VKFunctions::new(device.instance().loader(), device.loader());

let runtime_device_create_info = rps::VKRuntimeDeviceCreateInfo {
    device_create_info: &device_create_info,
    runtime_create_info: &runtime_create_info,
    vk_device: *device,
    vk_physical_device: *device.physical_device(),
    flags: rps::VKRuntimeFlags::DONT_FLIP_VIEWPORT,
    vk_functions: &vk_functions,
};

let rps_device = unsafe { rps::vk_runtime_device_create(&runtime_device_create_info) }?;

Contributing

Contributor Covenant

We welcome community contributions to this project.

Please read our Contributor Guide for more information on how to get started. Please also read our Contributor Terms before you make any contributions.

Any contribution intentionally submitted for inclusion in an ProjectKML project, shall comply with the Rust standard licensing model (MIT OR Apache 2.0) and therefore be dual licensed as described below, without any additional terms or conditions:

License

This contribution is dual licensed under EITHER OF

at your option.

Credits

  • AMD team for creating the Render Pipeline Shaders library
  • Embark Studios as my contributor guide is very similar to theirs.

About

🎬 A very lightweight wrapper around the Render Pipeline Shaders library 🦀

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages