Struct gltf::TechniqueStateFunctions [] [src]

pub struct TechniqueStateFunctions {
    pub blend_color: [f64; 4],
    pub blend_equation: [u32; 2],
    pub blend_function: [u32; 4],
    pub color_mask: [bool; 4],
    pub cull_face: [u32; 1],
    pub depth_function: [u32; 1],
    pub depth_mask: [bool; 1],
    pub depth_range: [f64; 2],
    pub extensions: Option<Map<String, Value>>,
    pub extras: Option<Map<String, Value>>,
    pub front_face: [u32; 1],
    pub line_width: [f32; 1],
    pub polygon_offset: [f32; 2],
    pub scissor: [i32; 4],
}

Fields

Arguments [red, green, blue, alpha] for glBlendColor()

Arguments [mode_rgb, mode_alpha] for glBlendEquationSeparate()

Arguments [src_rgb, dst_rgb, src_alpha, dst_alpha] for glBlendFuncSeparate()

Arguments [red, green, blue, alpha] for glColorMask()

Argument [mode] for glCullFace()

Argument [func] for glDepthFunc()

Argument [flag] for glDepthMask()

Arguments [z_near, z_far] for glDepthRange()

Optional data targeting official extensions

Optional application specific data

Argument [mode] for glFrontFace()

Argument [width] for glLineWidth()

Arguments [factor, units] for glPolygonOffset()

Arguments [x, y, width, height] for glScissor()

Trait Implementations

impl Debug for TechniqueStateFunctions
[src]

Formats the value using the given formatter.

impl Default for TechniqueStateFunctions
[src]

Returns the "default value" for a type. Read more