OptionalalphaAlpha band number. Special values, including unused-band markers, follow QGIS conventions.
OptionalattributesOther renderer settings, such as grayBand, gradient, classificationMin, or azimuth.
OptionalbandBand for a single-band renderer, usually numbered from 1.
OptionalblueBlue band, usually numbered from 1.
OptionalblueBlue band contrast enhancement.
OptionalcolorSource color ramp of a paletted renderer.
OptionalcontrastSingle-band contrast enhancement, such as minValue, maxValue, and algorithm.
OptionalgreenGreen band, usually numbered from 1.
OptionalgreenGreen band contrast enhancement.
OptionallegendLegend settings of a single-band gray renderer.
OptionalminHow minimum and maximum values are computed, such as limits and extent.
OptionalopacityRenderer opacity: 0 is transparent and 1 is opaque in QGIS.
OptionalpalettePaletted classes, each with value, color, alpha, and label.
OptionalredRed band, usually numbered from 1.
OptionalredRed band contrast enhancement.
OptionalshaderPseudocolor shader.
OptionaltransparencyPixel transparency.
QGIS renderer identifier, such as multibandcolor, singlebandgray, singlebandpseudocolor, paletted, or hillshade.
Raster renderer and its type-specific settings. QGIS reads only the parts that apply to QgsRasterRenderer.type.