mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
47 lines
2 KiB
C#
47 lines
2 KiB
C#
namespace Brutal.VulkanApi
|
|
{
|
|
/// <summary>
|
|
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDebugMarkerMarkerInfoEXT.html">VkDebugMarkerMarkerInfoEXT</see> - Specify parameters of a command buffer marker region
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// The <c>VkDebugMarkerMarkerInfoEXT</c> structure is defined as:
|
|
/// </para>
|
|
/// <code>
|
|
/// // Provided by VK_EXT_debug_marker
|
|
/// typedef struct VkDebugMarkerMarkerInfoEXT {
|
|
/// VkStructureType sType;
|
|
/// const void* pNext;
|
|
/// const char* pMarkerName;
|
|
/// float color[4];
|
|
/// } VkDebugMarkerMarkerInfoEXT;
|
|
/// </code>
|
|
/// </remarks>
|
|
[StructLayout(LayoutKind.Explicit, Size = 40)]
|
|
public unsafe partial struct VkDebugMarkerMarkerInfoEXT()
|
|
{
|
|
/// <summary>
|
|
/// <c>sType</c> is a <c>VkStructureType</c> value identifying this structure.
|
|
/// </summary>
|
|
[FieldOffset(0)]
|
|
internal readonly VkStructureType sType = VkStructureType.DebugMarkerMarkerInfoEXT;
|
|
|
|
/// <summary>
|
|
/// <c>Next</c> is `NULL` or a pointer to a structure extending this structure.
|
|
/// </summary>
|
|
[FieldOffset(8)]
|
|
public void* Next;
|
|
|
|
/// <summary>
|
|
/// <c>MarkerName</c> is a pointer to a null-terminated UTF-8 string containing the name of the marker.
|
|
/// </summary>
|
|
[FieldOffset(16)]
|
|
public byte* MarkerName;
|
|
|
|
/// <summary>
|
|
/// <c>Color</c> is an optional: RGBA color value that can be associated with the marker. A particular implementation may: choose to ignore this color value. The values contain RGBA values in order, in the range 0.0 to 1.0. If all elements in <c>color</c> are 0.0, then it is ignored.
|
|
/// </summary>
|
|
[FieldOffset(24)]
|
|
public float4 Color;
|
|
}
|
|
}
|