namespace Brutal.VulkanApi { /// /// VkMicromapCreateInfoEXT - Structure specifying the parameters of a newly created micromap object /// /// /// /// :refpage: VkMicromapCreateInfoEXT /// /// /// The VkMicromapCreateInfoEXT structure is defined as: /// /// /// // Provided by VK_EXT_opacity_micromap /// typedef struct VkMicromapCreateInfoEXT { /// VkStructureType sType; /// const void* pNext; /// VkMicromapCreateFlagsEXT createFlags; /// VkBuffer buffer; /// VkDeviceSize offset; /// VkDeviceSize size; /// VkMicromapTypeEXT type; /// VkDeviceAddress deviceAddress; /// } VkMicromapCreateInfoEXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 64)] public unsafe partial struct VkMicromapCreateInfoEXT() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.MicromapCreateInfoEXT; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// CreateFlags is a bitmask of VkMicromapCreateFlagsEXT specifying additional creation parameters of the micromap. /// [FieldOffset(16)] public VkMicromapCreateFlagsEXT CreateFlags; /// /// Buffer is the buffer on which the micromap will be stored. /// [FieldOffset(24)] public VkBuffer Buffer; /// /// Offset is an offset in bytes from the base address of the buffer at which the micromap will be stored, and must be a multiple of `256`. /// [FieldOffset(32)] public ByteSize64 Offset; /// /// Size is the size required for the micromap. /// [FieldOffset(40)] public ByteSize64 Size; /// /// Type is a VkMicromapTypeEXT value specifying the type of micromap that will be created. /// [FieldOffset(48)] public VkMicromapTypeEXT Type; /// /// DeviceAddress is the device address requested for the micromap if the VkPhysicalDeviceOpacityMicromapFeaturesEXT::micromapCaptureReplay^ feature is being used. /// [FieldOffset(56)] public VkDeviceAddress DeviceAddress; } }