lengthInBytes
TypeScriptget lengthInBytes(): numberSwift declarationvar lengthInBytes: Int { get }struct · iOS 27.0+ · SDK 27.1
struct Memberget lengthInBytes(): numberSwift declarationvar lengthInBytes: Int { get }static init(name: string, type: _Metal_MTLDataType, offset: number): ComputeNodeGraph_StructureLayout_MemberSwift declarationinit(name: String, type: MTLDataType, offset: Int)get name(): stringSwift declarationvar name: StringName of this member in the containing structure
set name(value: string)Swift declarationvar name: StringName of this member in the containing structure
get type(): ComputeNodeGraph_StateTypeSwift declarationvar type: ComputeNodeGraph.StateTypeset type(value: ComputeNodeGraph_StateType)Swift declarationvar type: ComputeNodeGraph.StateTypeget offset(): numberSwift declarationvar offset: IntOffset, in bytes, of this member in its containing structure
set offset(value: number)Swift declarationvar offset: IntOffset, in bytes, of this member in its containing structure
get members(): (Array<ComputeNodeGraph_StructureLayout_Member>) | nullSwift declarationvar members: [ComputeNodeGraph.StructureLayout.Member]? { get }get dataType(): (_Metal_MTLDataType) | nullSwift declarationvar dataType: MTLDataType? { get }Data type. For types such as `.struct` and `.pointer`, see ``typeName`` and ``components`` for additional information.
get typeName(): (string) | nullSwift declarationvar typeName: String? { get }No declarations were skipped in this snapshot.