namespace Brutal.VulkanApi { /// /// VkShaderModuleCreateInfo - Structure specifying parameters of a newly created shader module /// /// /// /// :refpage: VkShaderModuleCreateInfo /// /// /// The VkShaderModuleCreateInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkShaderModuleCreateInfo { /// VkStructureType sType; /// const void* pNext; /// VkShaderModuleCreateFlags flags; /// size_t codeSize; /// const uint32_t* pCode; /// } VkShaderModuleCreateInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] public unsafe partial struct VkShaderModuleCreateInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.ShaderModuleCreateInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is reserved for future use. /// [FieldOffset(16)] public VkShaderModuleCreateFlags Flags; /// /// CodeSize is the size, in bytes, of the code pointed to by pCode. /// [FieldOffset(24)] public ByteSize64 CodeSize; /// /// Code is a pointer to code that is used to create the shader module. The type and format of the code is determined from the content of the memory addressed by pCode. /// [FieldOffset(32)] public int* Code; } }