<!--
{
  "availability" : [
    "iOS: 3.0.0 - 12.0.0",
    "iPadOS: 3.0.0 - 12.0.0",
    "macCatalyst: 3.0.0 - 12.0.0",
    "tvOS: 9.0.0 - 12.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "OpenGLES",
  "identifier" : "/documentation/OpenGLES/glGetAttachedShaders(_:_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "OpenGL ES"
    ],
    "preciseIdentifier" : "c:@F@glGetAttachedShaders"
  },
  "title" : "glGetAttachedShaders(_:_:_:_:)"
}
-->

# glGetAttachedShaders(_:_:_:_:)

```
func glGetAttachedShaders(_ program: GLuint, _ maxcount: GLsizei, _ count: UnsafeMutablePointer<GLsizei>!, _ shaders: UnsafeMutablePointer<GLuint>!)
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)