ImageFormat

Formats accepted when specifying texture images.

Enumeration members


Enumeration members

Gray8

Uncompressed grayscale, 1 byte per pixel

GrayAlpha16

Uncompressed grayscale with alpha, 16 bits per pixel (1 byte per channel)

Jpeg

JPEG data

Png

PNG data.

Note: Currently, applying PNGs inserted through the viewer API as textures will cause objects to which they are applied to be treated as transparent, which may cause undesirable behavior. This can be avoided by setting TextureModifier.Decal in TextureOptions when applying the texture. TextureModifier.Decal is not currently supported for PBR based materials.

Rgb24

Uncompressed, interleaved RGB, 24 bits per pixel (1 byte per channel)

Rgba32

Uncompressed, interleaved RGBA, 32 bits per pixel (1 byte per channel)