pub struct SpecConstantSet {
pub vertex: Option<Specialization<'static>>,
pub fragment: Option<Specialization<'static>>,
pub geometry: Option<Specialization<'static>>,
pub hull: Option<Specialization<'static>>,
pub domain: Option<Specialization<'static>>,
pub compute: Option<Specialization<'static>>,
}
Expand description
A set of Specialization constants for a certain shader set.
Fields§
§vertex: Option<Specialization<'static>>
Vertex specialization
fragment: Option<Specialization<'static>>
Fragment specialization
geometry: Option<Specialization<'static>>
Geometry specialization
hull: Option<Specialization<'static>>
Hull specialization
domain: Option<Specialization<'static>>
Domain specialization
compute: Option<Specialization<'static>>
Compute specialization
Trait Implementations§
Source§impl Clone for SpecConstantSet
impl Clone for SpecConstantSet
Source§fn clone(&self) -> SpecConstantSet
fn clone(&self) -> SpecConstantSet
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 SpecConstantSet
impl Debug for SpecConstantSet
Source§impl Default for SpecConstantSet
impl Default for SpecConstantSet
Source§fn default() -> SpecConstantSet
fn default() -> SpecConstantSet
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SpecConstantSet
impl RefUnwindSafe for SpecConstantSet
impl Send for SpecConstantSet
impl Sync for SpecConstantSet
impl Unpin for SpecConstantSet
impl UnwindSafe for SpecConstantSet
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)