Ejemplo n.º 1
0
        public ImageDrmFormatModifierExplicitCreateInfoEXT
        (
            StructureType?sType              = StructureType.ImageDrmFormatModifierExplicitCreateInfoExt,
            void *pNext                      = null,
            ulong?drmFormatModifier          = null,
            uint?drmFormatModifierPlaneCount = null,
            SubresourceLayout *pPlaneLayouts = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

            if (pNext is not null)
            {
                PNext = pNext;
            }

            if (drmFormatModifier is not null)
            {
                DrmFormatModifier = drmFormatModifier.Value;
            }

            if (drmFormatModifierPlaneCount is not null)
            {
                DrmFormatModifierPlaneCount = drmFormatModifierPlaneCount.Value;
            }

            if (pPlaneLayouts is not null)
            {
                PPlaneLayouts = pPlaneLayouts;
            }
        }
Ejemplo n.º 2
0
 public ImageDrmFormatModifierExplicitCreateInfoEXT
 (
     StructureType sType              = StructureType.ImageDrmFormatModifierExplicitCreateInfoExt,
     void *pNext                      = default,
     ulong drmFormatModifier          = default,
     uint drmFormatModifierPlaneCount = default,
     SubresourceLayout *pPlaneLayouts = default
 )
 {
     SType                       = sType;
     PNext                       = pNext;
     DrmFormatModifier           = drmFormatModifier;
     DrmFormatModifierPlaneCount = drmFormatModifierPlaneCount;
     PPlaneLayouts               = pPlaneLayouts;
 }
Ejemplo n.º 3
0
 public static extern unsafe void vkGetImageSubresourceLayout(IntPtr device, ulong image, ImageSubresource *pSubresource, SubresourceLayout *pLayout);
Ejemplo n.º 4
0
 internal static unsafe extern void vkGetImageSubresourceLayout(Device device, Image image, ImageSubresource *Subresource, SubresourceLayout *Layout);
Ejemplo n.º 5
0
 internal static unsafe extern void vkGetImageSubresourceLayout(IntPtr device, UInt64 image, ImageSubresource *pSubresource, SubresourceLayout *pLayout);