| CloudMapTexture Property |
Gets the cloud texture.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public Texture2D Texture { get; protected set; }
Public Property Texture As Texture2D
Get
Protected Set
public:
property Texture2D^ Texture {
Texture2D^ get ();
protected: void set (Texture2D^ value);
}
member Texture : Texture2D with get, set
Property Value
Type:
Texture2DThe cloud texture.
Remarks
The cloud texture stores the transmittance of the sky. The transmittance is the amount of
incident light that passes through a point in the sky. A value of 0 (black) means that the
point in the sky is covered by clouds, a value of 1 (white) means that the sky is clear.
Cloud textures are usually stored using single-channel surface formats, such as
SurfaceFormat.Alpha8 (unsigned format, 8-bit alpha only).
See Also