# Shader in maplibre::render::shaders - Rust
API documentation for the Rust `Shader` trait in crate `maplibre`.

# Trait maplibre::render::shaders::Shader

source ·

    pub trait Shader {
        // Required methods
        fn describe_vertex(&self) -> VertexState;
        fn describe_fragment(&self) -> FragmentState;
    }

## Required Methods§

source

#### fn describe_vertex(&self) -> VertexState

source

#### fn describe_fragment(&self) -> FragmentState

## Implementors§

source §

### impl Shader for RasterTileShader

source §

### impl Shader for TileMaskShader

source §

### impl Shader for VectorTileShader