コード例 #1
0
 private protected VulkanGraphicsMemoryBlock(VulkanGraphicsDevice device, VulkanGraphicsMemoryBlockCollection collection)
     : base(device, collection)
 {
     _vulkanDeviceMemory = new ValueLazy <VkDeviceMemory>(CreateVulkanDeviceMemory);
 }
コード例 #2
0
#pragma warning restore IDE0044

        internal VulkanGraphicsMemoryBlock(VulkanGraphicsDevice device, VulkanGraphicsMemoryBlockCollection collection, ulong size)
            : base(device, collection)
        {
            ref readonly var allocatorSettings = ref collection.Allocator.Settings;