AddPatternBufferView

Registers a view for the pattern buffer.

The registered views can be later used for other commands by referencing them with their name.