Tex

Struct Tex 

Source
#[repr(C, packed(4))]
pub struct Tex {
Show 59 fields pub id: ID, pub adt: Pointer<AnimData>, pub noisesize: f32, pub turbul: f32, pub bright: f32, pub contrast: f32, pub saturation: f32, pub rfac: f32, pub gfac: f32, pub bfac: f32, pub filtersize: f32, pub _pad2: [i8; 4], pub mg_H: f32, pub mg_lacunarity: f32, pub mg_octaves: f32, pub mg_offset: f32, pub mg_gain: f32, pub dist_amount: f32, pub ns_outscale: f32, pub vn_w1: f32, pub vn_w2: f32, pub vn_w3: f32, pub vn_w4: f32, pub vn_mexp: f32, pub vn_distm: i16, pub vn_coltype: i16, pub noisedepth: i16, pub noisetype: i16, pub noisebasis: i16, pub noisebasis2: i16, pub imaflag: i16, pub flag: i16, pub type_: i16, pub stype: i16, pub cropxmin: f32, pub cropymin: f32, pub cropxmax: f32, pub cropymax: f32, pub texfilter: i32, pub afmax: i32, pub xrepeat: i16, pub yrepeat: i16, pub extend: i16, pub _pad0: i16, pub len: i32, pub frames: i32, pub offset: i32, pub sfra: i32, pub checkerdist: f32, pub nabla: f32, pub _pad1: [i8; 4], pub iuser: ImageUser, pub nodetree: Pointer<bNodeTree>, pub ipo: Pointer<Ipo>, pub ima: Pointer<Image>, pub coba: Pointer<ColorBand>, pub preview: Pointer<PreviewImage>, pub use_nodes: i8, pub _pad: [i8; 7],
}

Fields§

§id: ID§adt: Pointer<AnimData>§noisesize: f32§turbul: f32§bright: f32§contrast: f32§saturation: f32§rfac: f32§gfac: f32§bfac: f32§filtersize: f32§_pad2: [i8; 4]§mg_H: f32§mg_lacunarity: f32§mg_octaves: f32§mg_offset: f32§mg_gain: f32§dist_amount: f32§ns_outscale: f32§vn_w1: f32§vn_w2: f32§vn_w3: f32§vn_w4: f32§vn_mexp: f32§vn_distm: i16§vn_coltype: i16§noisedepth: i16§noisetype: i16§noisebasis: i16§noisebasis2: i16§imaflag: i16§flag: i16§type_: i16§stype: i16§cropxmin: f32§cropymin: f32§cropxmax: f32§cropymax: f32§texfilter: i32§afmax: i32§xrepeat: i16§yrepeat: i16§extend: i16§_pad0: i16§len: i32§frames: i32§offset: i32§sfra: i32§checkerdist: f32§nabla: f32§_pad1: [i8; 4]§iuser: ImageUser§nodetree: Pointer<bNodeTree>§ipo: Pointer<Ipo>§ima: Pointer<Image>§coba: Pointer<ColorBand>§preview: Pointer<PreviewImage>§use_nodes: i8§_pad: [i8; 7]

Trait Implementations§

Auto Trait Implementations§

§

impl Freeze for Tex

§

impl RefUnwindSafe for Tex

§

impl Send for Tex

§

impl Sync for Tex

§

impl Unpin for Tex

§

impl UnwindSafe for Tex

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.