BrushPaint.TextureLayer


Known direct subclasses
BrushPaint.StampingTexture

A texture that is "stamped" onto each particle of the stroke, scaled or rotated appropriately to cover the whole particle.

BrushPaint.TilingTexture

A texture layer that will repeat according to a 2D affine transformation of vertex positions.


Summary

Nested types

The method by which the combined texture layers (index <= i) are blended with the next layer.

Units for specifying TextureLayer dimensions.

Wrap modes for specifying TextureLayer wrapping behavior.

Public functions

Version

Returns the minimum required Version for this TextureLayer.

Cmn

Public properties

BrushPaint.TextureLayer.BlendMode

The rule by which the texture layers up to and including this one are combined with the subsequent layer.

Cmn

Public functions

calculateMinimumRequiredVersion

fun calculateMinimumRequiredVersion(): Version

Returns the minimum required Version for this TextureLayer.

By default, decoding a BrushFamily containing a TextureLayer with a minimum required version higher than Version.MAX_SUPPORTED will fail.

Public properties

blendMode

val blendModeBrushPaint.TextureLayer.BlendMode

The rule by which the texture layers up to and including this one are combined with the subsequent layer.

I.e. BrushPaint::texture_layers[index].blend_mode will be used to combine "src", which is the result of blending layers 0..index, with "dst", which is the layer at index + 1. If index refers to the last texture layer, then the layer at "index + 1" is the brush color layer.