SwiftstructDirectResource
VertexAttribute
struct DirectResource.MeshDescriptor.VertexAttribute
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolDirectResource.DRCodable
- protocolDirectResource.DRDecodable
- protocolDirectResource.DREncodable
- protocolSwift.Equatable
Members 6
- field
var format: MTLVertexFormat+0x8 - field
var layoutIndex: Int+0x10 - field
var offset: Int+0x18 - field
var semantic: DRVertexSemantic+0x0 - init
init(semantic: DRVertexSemantic, format: MTLVertexFormat, layoutIndex: Int, offset: Int) -> DirectResource.MeshDescriptor.VertexAttribute - init
init() -> DirectResource.MeshDescriptor.VertexAttribute
Header
struct DirectResource.MeshDescriptor.VertexAttribute { var semantic: __C.DRVertexSemantic var format: __C.MTLVertexFormat var layoutIndex: Swift.Int var offset: Swift.Int init(semantic: __C.DRVertexSemantic, format: __C.MTLVertexFormat, layoutIndex: Swift.Int, offset: Swift.Int) init() }