Click or drag to resize
Ab4d.SharpEngine logo

RawImageData(Int32, Int32, Int32, Color4, Format) Constructor

Creates the RawImageData and fills the Data array with the specified fillColor.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public RawImageData(
	int width,
	int height,
	int stride,
	Color4 fillColor,
	Format format
)

Parameters

width  Int32
image width in pixels
height  Int32
image height in pixels
stride  Int32
image stride in bytes (length of one data row)
fillColor  Color4
Color4 that is used to fill the whole image. When fillColor is Color4.TransparentBlack, then the Data array is not filled (all values stay 0)
format  Format
image format (only B8G8R8A8Unorm and R8G8B8A8Unorm are supported)
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Common.RawImageData.#ctor(System.Int32,System.Int32,System.Int32,Ab4d.SharpEngine.Common.Color4,Ab4d.Vulkan.Format)"]

See Also