Click or drag to resize
Ab4d.SharpEngine logo

TextureFactoryCreate1x1Texture(VulkanDevice, Color3, String) Method

Create a 1x1 texture filled with the specified color.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public static GpuImage Create1x1Texture(
	VulkanDevice gpuDevice,
	Color3 color,
	string? name = null
)

Parameters

gpuDevice  VulkanDevice
Target GPU device.
color  Color3
Color of the texture.
name  String  (Optional)
Optional name.

Return Value

GpuImage
Generated texture.
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.TextureFactory.Create1x1Texture(Ab4d.SharpEngine.Vulkan.VulkanDevice,Ab4d.SharpEngine.Common.Color3,System.String)"]

See Also