SetPatternBuffer

Replaces the content of the internal pattern buffer with the specified pattern data.