pub enum OutputHint {
Auto,
Ldr,
Hdr,
HighPrecision,
Custom(CustomOutputHint),
}Expand description
Output format hint for this node’s texture.
For most nodes, intermediate textures use Rgba8Unorm (linear color space) regardless of this hint. Use hdr/high-precision only when you need wider dynamic range or precision for specific effects.
Variants§
Auto
Host decides (default: Rgba8Unorm for intermediates)
Ldr
Standard 8-bit color (Rgba8Unorm) - same as auto for intermediates
Hdr
16-bit float for HDR workflows (Rgba16Float)
HighPrecision
32-bit float for high precision (Rgba32Float)
Custom(CustomOutputHint)
Escape hatch for custom/future formats
Trait Implementations§
Source§impl Clone for OutputHint
impl Clone for OutputHint
Source§fn clone(&self) -> OutputHint
fn clone(&self) -> OutputHint
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for OutputHint
impl RefUnwindSafe for OutputHint
impl Send for OutputHint
impl Sync for OutputHint
impl Unpin for OutputHint
impl UnwindSafe for OutputHint
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