librashader/librashader-capi/src/ctypes.rs

10 lines
371 B
Rust
Raw Normal View History

2022-12-04 10:32:10 +11:00
use std::mem::ManuallyDrop;
use librashader::presets::ShaderPreset;
use crate::error::LibrashaderError;
pub type libra_shader_preset_t = ManuallyDrop<Option<Box<ShaderPreset>>>;
pub type libra_error_t = *const LibrashaderError;
// #[cfg(feature = "runtime-opengl")]
pub type libra_gl_filter_chain_t = ManuallyDrop<Option<Box<librashader::runtime::gl::FilterChainGL>>>;