iOS reference / ComputeGraph / ComputeNodeGraph.Assembly.TextureBindingComputeGraph · IOS API REFERENCE
ComputeNodeGraph.Assembly.TextureBinding struct · iOS 27.0+ · SDK 27.1
struct TextureBindingDescribes how a Metal texture is bound to a compute pipeline stage.
A texture binding pairs an ``Attachment`` (how the texture is connected to the graph)
with an optional `MTLTextureType` indicating the texture's dimensionality.
Members (5) init · iOS 27.0+ init TypeScript static init(attachment: ComputeNodeGraph_Assembly_Attachment, type?: (_Metal_MTLTextureType) | null): ComputeNodeGraph_Assembly_TextureBindingSwift declaration init(attachment: ComputeNodeGraph.Assembly.Attachment, type: MTLTextureType? = nil)get · iOS 27.0+ attachment TypeScript get attachment(): ComputeNodeGraph_Assembly_AttachmentSwift declaration var attachment: ComputeNodeGraph.Assembly.AttachmentThe attachment point that provides this texture.
set · iOS 27.0+ attachment TypeScript set attachment(value: ComputeNodeGraph_Assembly_Attachment)Swift declaration var attachment: ComputeNodeGraph.Assembly.AttachmentThe attachment point that provides this texture.
get · iOS 27.0+ type TypeScript get type(): (_Metal_MTLTextureType) | nullSwift declaration var type: MTLTextureType?The texture type (e.g. `.type2D`, `.typeCube`), or `nil` if unspecified.
set · iOS 27.0+ type TypeScript set type(value: (_Metal_MTLTextureType) | null)Swift declaration var type: MTLTextureType?The texture type (e.g. `.type2D`, `.typeCube`), or `nil` if unspecified.
Skipped declarations No declarations were skipped in this snapshot.
All ComputeGraph types →