Transform
Transform
¶
A Transform allows to apply an arbitratry transformation to a buffer. Any transform can be bound to a specific buffer and used in place of a Buffer where needed. Several transforms can be chained or composed together.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
base |
Transform
|
The base transform this transform is based on. When non null, all transform parameters are read from the base. |
None
|
next |
Transform
|
A transformation can be chained with another transform
( |
None
|
buffer |
Buffer
|
Buffer on which to apply the transform. When non null, the transformation is bound and cannot be modified anymore. |
None
|
set_base
¶
Set a new base for the transform
Parameters:
Name | Type | Description | Default |
---|---|---|---|
base |
Transform
|
The base transform this transform is based on |
None
|