Click or drag to resize
Ab4d.SharpEngine logo

PixelMaterialDiffuseTexture Property

Gets or sets a GpuImage objects that define the texture. When rendering texture, the colors from texture are multiplied by the PixelColor (White color is used when a texture is set and PixelColor is not changed by the user). When user does not set the PixelColor but sets the DiffuseTexture, then the PixelColor is automatically set to White color to preserve the colors in the texture. The GpuImage is not disposed when disposing this Material.

Namespace: Ab4d.SharpEngine.Materials
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public GpuImage? DiffuseTexture { get; set; }

Property Value

GpuImage

[Missing <value> documentation for "P:Ab4d.SharpEngine.Materials.PixelMaterial.DiffuseTexture"]

Implements

IDiffuseTextureMaterialDiffuseTexture
Remarks

[Missing <remarks> documentation for "P:Ab4d.SharpEngine.Materials.PixelMaterial.DiffuseTexture"]

See Also