pub struct JSONMaterial {Show 23 fields
pub flag: u32,
pub id: u32,
pub lightSetIndex: i8,
pub fogIndex: i8,
pub name: String,
pub texMatrices: Vec<JSONTexMatrix>,
pub samplers: Vec<JSONSamplerData>,
pub cullMode: CullMode,
pub chanData: Vec<JSONChannelData>,
pub colorChanControls: Vec<JSONChannelControl>,
pub texGens: Vec<JSONTexCoordGen>,
pub tevKonstColors: [Color; 4],
pub tevColors: [ColorS10; 4],
pub earlyZComparison: bool,
pub zMode: JSONZMode,
pub alphaCompare: JSONAlphaComparison,
pub blendMode: JSONBlendMode,
pub dstAlpha: JSONDstAlpha,
pub xlu: bool,
pub indirectStages: Vec<JSONIndirectStage>,
pub mIndMatrices: Vec<JSONIndirectMatrix>,
pub mSwapTable: JSONSwapTable,
pub mStages: Vec<JSONTevStage>,
}
Fields§
§flag: u32
§id: u32
§lightSetIndex: i8
§fogIndex: i8
§name: String
§texMatrices: Vec<JSONTexMatrix>
§samplers: Vec<JSONSamplerData>
§cullMode: CullMode
§chanData: Vec<JSONChannelData>
§colorChanControls: Vec<JSONChannelControl>
§texGens: Vec<JSONTexCoordGen>
§tevKonstColors: [Color; 4]
§tevColors: [ColorS10; 4]
§earlyZComparison: bool
§zMode: JSONZMode
§alphaCompare: JSONAlphaComparison
§blendMode: JSONBlendMode
§dstAlpha: JSONDstAlpha
§xlu: bool
§indirectStages: Vec<JSONIndirectStage>
§mIndMatrices: Vec<JSONIndirectMatrix>
§mSwapTable: JSONSwapTable
§mStages: Vec<JSONTevStage>
Trait Implementations§
Source§impl Clone for JSONMaterial
impl Clone for JSONMaterial
Source§fn clone(&self) -> JSONMaterial
fn clone(&self) -> JSONMaterial
Returns a copy 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 moreSource§impl Debug for JSONMaterial
impl Debug for JSONMaterial
Source§impl<'de> Deserialize<'de> for JSONMaterial
impl<'de> Deserialize<'de> for JSONMaterial
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for JSONMaterial
impl PartialEq for JSONMaterial
Source§impl Serialize for JSONMaterial
impl Serialize for JSONMaterial
impl StructuralPartialEq for JSONMaterial
Auto Trait Implementations§
impl Freeze for JSONMaterial
impl RefUnwindSafe for JSONMaterial
impl Send for JSONMaterial
impl Sync for JSONMaterial
impl Unpin for JSONMaterial
impl UnwindSafe for JSONMaterial
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