Click or drag to resize
Ab4d.SharpEngine logo

GpuMemoryTryAllocate(VulkanDevice, MemoryAllocateInfo, MemoryPropertyFlags, Boolean, Boolean, UInt32, String, Result) Method


Namespace: Ab4d.SharpEngine.Core
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntax
C#
public static GpuMemory? TryAllocate(
	VulkanDevice gpuDevice,
	 in MemoryAllocateInfo? memoryAllocateInfo,
	MemoryPropertyFlags memoryProperties,
	bool isImage,
	bool isDedicatedAllocation,
	uint memoryTypeBits,
	string? name,
	out Result? result
)

Parameters

gpuDevice  VulkanDevice
 
memoryAllocateInfo  MemoryAllocateInfo
 
memoryProperties  MemoryPropertyFlags
 
isImage  Boolean
 
isDedicatedAllocation  Boolean
 
memoryTypeBits  UInt32
 
name  String
 
result  Result
 

Return Value

GpuMemory
See Also