---
title: "ComputeNodeGraph.ValueType.texture(typeName:)"
framework: Compute Graph
role: symbol
role_heading: Case
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: "computegraph/computenodegraph/valuetype/texture(typename:)"
---

# ComputeNodeGraph.ValueType.texture(typeName:)

Value is an texture with the given type name (e.g. texture2d)

## Declaration

```swift
case texture(typeName: String)
```
