Enum openexr_sys::CEXR_LineOrder
source · #[repr(u32)]pub enum CEXR_LineOrder {
INCREASING_Y = 0,
DECREASING_Y = 1,
RANDOM_Y = 2,
}
Expand description
Defines the line order of a scanline image.
For scanline images, only INCREASING_Y
and DECREASING_Y
are valid
values:
-
INCREASING_Y
: scanline 0 is the first scanline in the file, and scanlines are written and read in that order. -
DECREASING_Y
: scanline 0 is the last scanline in the file, and scanlines are written and read in that order.
In both cases, scanlines are written to and read from files in the order
they are stored on disk, and any FrameBuffer
you pass is interpretted
that way as well.
For tiled images, all values are valid, but they have different meanings:
-
INCREASING_Y
: the tiles are stored in a particular order. See OpenEXR’s [ImfTiledOutputFile.h] (https://github.com/openexr/openexr/blob/develop/OpenEXR/IlmImf/ImfTiledOutputFile.h) header for specifics. -
DECREASING_Y
: the tiles are stored in a different particular order. See OpenEXR’s [ImfTiledOutputFile.h] (https://github.com/openexr/openexr/blob/develop/OpenEXR/IlmImf/ImfTiledOutputFile.h) header for specifics. -
RANDOM_Y
: the tiles are stored in the order written.
For tiled files, RANDOM_Y
is probably a good choice, as it gives you
control over the tile layout and doesn’t require the OpenEXR library to
do any buffering.
Variants§
Trait Implementations§
source§impl Clone for CEXR_LineOrder
impl Clone for CEXR_LineOrder
source§fn clone(&self) -> CEXR_LineOrder
fn clone(&self) -> CEXR_LineOrder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CEXR_LineOrder
impl Debug for CEXR_LineOrder
source§impl Hash for CEXR_LineOrder
impl Hash for CEXR_LineOrder
source§impl PartialEq for CEXR_LineOrder
impl PartialEq for CEXR_LineOrder
source§fn eq(&self, other: &CEXR_LineOrder) -> bool
fn eq(&self, other: &CEXR_LineOrder) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for CEXR_LineOrder
impl Eq for CEXR_LineOrder
impl StructuralPartialEq for CEXR_LineOrder
Auto Trait Implementations§
impl Freeze for CEXR_LineOrder
impl RefUnwindSafe for CEXR_LineOrder
impl Send for CEXR_LineOrder
impl Sync for CEXR_LineOrder
impl Unpin for CEXR_LineOrder
impl UnwindSafe for CEXR_LineOrder
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
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)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)