pub enum ShaderCodeSection {
Declarations,
Parameters,
Textures,
Helpers,
Header,
Body,
Footer,
}Expand description
Native shader code section currently being appended.
Variants§
Declarations
Combined parameter and texture declarations on OCIO 2.4.
Parameters
Parameter declarations on OCIO 2.5 and newer.
Textures
Texture declarations on OCIO 2.5 and newer.
Helpers
Helper function definitions.
Header
Function opening code.
Body
Function body code.
Function closing code.
Trait Implementations§
Source§impl Clone for ShaderCodeSection
impl Clone for ShaderCodeSection
impl Copy for ShaderCodeSection
Source§impl Debug for ShaderCodeSection
impl Debug for ShaderCodeSection
impl Eq for ShaderCodeSection
Source§impl PartialEq for ShaderCodeSection
impl PartialEq for ShaderCodeSection
impl StructuralPartialEq for ShaderCodeSection
Auto Trait Implementations§
impl Forget for ShaderCodeSection
impl Freeze for ShaderCodeSection
impl Move for ShaderCodeSection
impl RefUnwindSafe for ShaderCodeSection
impl Send for ShaderCodeSection
impl Sync for ShaderCodeSection
impl Unpin for ShaderCodeSection
impl UnsafeUnpin for ShaderCodeSection
impl UnwindSafe for ShaderCodeSection
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