Struct glslang::CompilerOptions
source · pub struct CompilerOptions {
pub source_language: SourceLanguage,
pub target: Target,
pub version_profile: Option<(i32, GlslProfile)>,
pub messages: ShaderMessage,
}
Expand description
Options to configure the compilation of a shader.
Fields§
§source_language: SourceLanguage
§target: Target
The target
version_profile: Option<(i32, GlslProfile)>
The GLSL version profile. If specified, will force the specified profile on compilation.
messages: ShaderMessage
Trait Implementations§
source§impl Clone for CompilerOptions
impl Clone for CompilerOptions
source§fn clone(&self) -> CompilerOptions
fn clone(&self) -> CompilerOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CompilerOptions
impl Debug for CompilerOptions
Auto Trait Implementations§
impl Freeze for CompilerOptions
impl RefUnwindSafe for CompilerOptions
impl Send for CompilerOptions
impl Sync for CompilerOptions
impl Unpin for CompilerOptions
impl UnwindSafe for CompilerOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)