---
title: "PreparedShader | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Type Alias PreparedShader

type PreparedShader \= {  
    [fragmentSource](#fragmentsource): string;  
    [staticAttributes](#staticattributes): string\[\];  
    [staticUniforms](#staticuniforms): string\[\];  
    [vertexSource](#vertexsource): string;  
}

##### Index

### Properties[](#properties)

[fragmentSource](#fragmentsource) [staticAttributes](#staticattributes) [staticUniforms](#staticuniforms) [vertexSource](#vertexsource)

## Properties[](#properties-1)

### fragmentSource[](#fragmentsource)

fragmentSource: string

### staticAttributes[](#staticattributes)

staticAttributes: string\[\]

### staticUniforms[](#staticuniforms)

staticUniforms: string\[\]

### vertexSource[](#vertexsource)

vertexSource: string
