12345678910111213141516171819 |
- using System;
- using static Veldrid.MetalBindings.ObjectiveCRuntime;
- namespace Veldrid.MetalBindings
- {
- public unsafe struct MTLVertexDescriptor
- {
- public readonly IntPtr NativePtr;
- public MTLVertexBufferLayoutDescriptorArray layouts
- => objc_msgSend<MTLVertexBufferLayoutDescriptorArray>(NativePtr, sel_layouts);
- public MTLVertexAttributeDescriptorArray attributes
- => objc_msgSend<MTLVertexAttributeDescriptorArray>(NativePtr, sel_attributes);
- private static readonly Selector sel_layouts = "layouts";
- private static readonly Selector sel_attributes = "attributes";
- }
- }
|