コード例 #1
0
ファイル: Functions.cs プロジェクト: jwollen/SharpVulkan
 public unsafe void GetImageSubresourceLayout(Image image, ImageSubresource subresource, out SubresourceLayout layout)
 {
     fixed (SubresourceLayout* __layout__ = &layout)
     {
         vkGetImageSubresourceLayout(this, image, &subresource, __layout__);
     }
 }
コード例 #2
0
ファイル: Functions.cs プロジェクト: jwollen/SharpVulkan
 internal static unsafe extern void vkGetImageSubresourceLayout(Device device, Image image, ImageSubresource* subresource, SubresourceLayout* layout);