 |
TextureLoaderCreateTextureAsync(RawImageData, VulkanDevice, Boolean, String) Method |
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic static Task<GpuImage> CreateTextureAsync(
RawImageData imageData,
VulkanDevice gpuDevice,
bool generateMipMaps = true,
string? name = null
)
Parameters
- imageData RawImageData
- RawImageData with image data
- gpuDevice VulkanDevice
- VulkanDevice
- generateMipMaps Boolean (Optional)
- when true (by default) then mip maps will be created for the GpuImage. This takes longer to create the GpuImage but improves the rendering performance and quality of shown texture.
- name String (Optional)
- optional name of the created GpuImage
Return Value
TaskGpuImageCreated GpuImage
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.TextureLoader.CreateTextureAsync(Ab4d.SharpEngine.Common.RawImageData,Ab4d.SharpEngine.Vulkan.VulkanDevice,System.Boolean,System.String)"]
See Also