TextureTransparency Enumeration

Describes the type of transparency in the pixels of a TextureImage. Each pixel can be classified as either opaque or translucent. The transparency of the image as a whole is based on the combination of pixel transparencies. If this information is known, it should be supplied when creating a texture for more efficient rendering.

@see TextureImage.transparency.

Members

Name Value Description
Mixed The image contains both opaque and translucent pixels. The translucent pixels should blend with other objects in the scene, while
the opaque pixels should not. Rendering this type of transparency is somewhat more expensive.
Opaque The image contains only opaque pixels. It should not blend with other objects in the scene.
Translucent The image contains only translucent pixels. It should blend with other objects in the scene.

Defined in

Last Updated: 28 March, 2024