pub enum LayerDepth {
OneChannel,
OneChannelAndAlpha,
Color,
ColorAndAlpha,
Vector,
VectorAndAlpha,
FourChannels,
FourChannelsAndAlpha,
}output only.Expand description
The depth (number and type of channels) a pixel in a Layer is
composed of.
Variants§
OneChannel
A single channel. Obtained when setting "layertype" "scalar" on an
OutputLayer.
OneChannelAndAlpha
A single channel with alpha. Obtained when setting "layertype"
"scalar" and "withalpha" 1 on an
OutputLayer.
Color
An rgb color triplet. Obtained when setting "layertype" "color"
on an OutputLayer.
ColorAndAlpha
An rgb color triplet with alpha. Obtained when setting "layertype"
"color" and "withalpha" 1 on an
OutputLayer.
Vector
An xyz triplet. Obtained when setting "layertype" "vector" on an
OutputLayer.
VectorAndAlpha
An xyz triplet with alpha. Obtained when setting "layertype"
"vector" and "withalpha" 1 on an
OutputLayer.
FourChannels
An quadruple of values. Obtained when setting "layertype" "quad" on
an OutputLayer.
FourChannelsAndAlpha
An quadruple of values with alpha. Obtained when setting "layertype"
"quad" and "withalpha" 1 on an
OutputLayer.
Implementations§
Trait Implementations§
Source§impl Clone for LayerDepth
impl Clone for LayerDepth
Source§fn clone(&self) -> LayerDepth
fn clone(&self) -> LayerDepth
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more