コード例 #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;
            }
        }
コード例 #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;
 }
コード例 #3
0
 public static extern unsafe void vkGetImageSubresourceLayout(IntPtr device, ulong image, ImageSubresource *pSubresource, SubresourceLayout *pLayout);
コード例 #4
0
 internal static unsafe extern void vkGetImageSubresourceLayout(Device device, Image image, ImageSubresource *Subresource, SubresourceLayout *Layout);
コード例 #5
0
 internal static unsafe extern void vkGetImageSubresourceLayout(IntPtr device, UInt64 image, ImageSubresource *pSubresource, SubresourceLayout *pLayout);