using System.Runtime.Versioning; namespace Brutal.VulkanApi.Android { /// /// VkAndroidHardwareBufferPropertiesANDROID - Properties of External Memory Android Hardware Buffers /// /// /// /// The VkAndroidHardwareBufferPropertiesANDROID structure returned is /// defined as: /// /// /// // Provided by VK_ANDROID_external_memory_android_hardware_buffer /// typedef struct VkAndroidHardwareBufferPropertiesANDROID { /// VkStructureType sType; /// void* pNext; /// VkDeviceSize allocationSize; /// uint32_t memoryTypeBits; /// } VkAndroidHardwareBufferPropertiesANDROID; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] [SupportedOSPlatform("android")] public unsafe partial struct VkAndroidHardwareBufferPropertiesANDROID() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.ANDROIDHardwareBufferPropertiesANDROID; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// AllocationSize is the size of the external memory /// [FieldOffset(16)] public ByteSize64 AllocationSize; /// /// MemoryTypeBits is a bitmask containing one bit set for every memory type which the specified Android hardware buffer can be imported as. /// [FieldOffset(24)] public int MemoryTypeBits; } }