One Logo Pool Ball
ComputeGraph · IOS API REFERENCE

ComputeNodeGraph.StructureLayout.Member

struct · iOS 27.0+ · SDK 27.1

struct Member

Members (11)

get · iOS 27.0+

lengthInBytes

TypeScript
get lengthInBytes(): number
Swift declaration
var lengthInBytes: Int { get }
init · iOS 27.0+

init

TypeScript
static init(name: string, type: _Metal_MTLDataType, offset: number): ComputeNodeGraph_StructureLayout_Member
Swift declaration
init(name: String, type: MTLDataType, offset: Int)
get · iOS 27.0+

name

TypeScript
get name(): string
Swift declaration
var name: String

Name of this member in the containing structure

set · iOS 27.0+

name

TypeScript
set name(value: string)
Swift declaration
var name: String

Name of this member in the containing structure

get · iOS 27.0+

type

TypeScript
get type(): ComputeNodeGraph_StateType
Swift declaration
var type: ComputeNodeGraph.StateType
set · iOS 27.0+

type

TypeScript
set type(value: ComputeNodeGraph_StateType)
Swift declaration
var type: ComputeNodeGraph.StateType
get · iOS 27.0+

offset

TypeScript
get offset(): number
Swift declaration
var offset: Int

Offset, in bytes, of this member in its containing structure

set · iOS 27.0+

offset

TypeScript
set offset(value: number)
Swift declaration
var offset: Int

Offset, in bytes, of this member in its containing structure

get · iOS 27.0+

members

TypeScript
get members(): (Array<ComputeNodeGraph_StructureLayout_Member>) | null
Swift declaration
var members: [ComputeNodeGraph.StructureLayout.Member]? { get }
get · iOS 27.0+

dataType

TypeScript
get dataType(): (_Metal_MTLDataType) | null
Swift declaration
var dataType: MTLDataType? { get }

Data type. For types such as `.struct` and `.pointer`, see ``typeName`` and ``components`` for additional information.

get · iOS 27.0+

typeName

TypeScript
get typeName(): (string) | null
Swift declaration
var typeName: String? { get }

Skipped declarations

No declarations were skipped in this snapshot.

All ComputeGraph types →