2024-02-12 09:54:13 +11:00
|
|
|
//! Metal shader runtime options.
|
|
|
|
|
2024-02-12 18:04:01 +11:00
|
|
|
use librashader_runtime::impl_default_frame_options;
|
|
|
|
impl_default_frame_options!(FrameOptionsMetal);
|
2024-02-12 09:54:13 +11:00
|
|
|
|
|
|
|
/// Options for filter chain creation.
|
|
|
|
#[repr(C)]
|
|
|
|
#[derive(Default, Debug, Clone)]
|
|
|
|
pub struct FilterChainOptionsMetal {
|
|
|
|
/// Whether or not to explicitly disable mipmap generation regardless of shader preset settings.
|
|
|
|
pub force_no_mipmaps: bool,
|
|
|
|
}
|