---
title: "removeUniformNamed(_:)"
framework: spritekit
role: symbol
role_heading: Instance Method
path: "spritekit/skshader/removeuniformnamed(_:)"
---

# removeUniformNamed(_:)

Removes a uniform from the shader.

## Declaration

```swift
func removeUniformNamed(_ name: String)
```

## Parameters

- `name`: The name of the uniform to remove.

## Discussion

Discussion If a uniform with that name does not exist in the shader, nothing happens.

## See Also

### Providing Uniform Data to a Shader

- [addUniform(_:)](spritekit/skshader/adduniform(_:).md)
- [uniforms](spritekit/skshader/uniforms.md)
- [uniformNamed(_:)](spritekit/skshader/uniformnamed(_:).md)
