Overview
A buffer that contains floating point data, intended for use as a parameter to effects such as DisplacementMap.
Profile: desktop
Variable Summary
| access | name | type | Can Read | Can Init | Can Write | Default Value | description |
|---|---|---|---|---|---|---|---|
| public | height | Integer | ![]() | ![]() | ![]() | 1 |
The height of the map, in pixels.
The height of the map, in pixels.
Min: 1
Max: 4096
Default: 1
Identity: n/a
1
|
| public | width | Integer | ![]() | ![]() | ![]() | 1 |
The width of the map, in pixels.
The width of the map, in pixels.
Min: 1
Max: 4096
Default: 1
Identity: n/a
1
|
Inherited Variables
Function Summary
- public setSample(x: Integer, y: Integer, band: Integer, s: Number) : Void
- public setSamples(x: Integer, y: Integer, s0: Number) : Void
- public setSamples(x: Integer, y: Integer, s0: Number, s1: Number) : Void
- public setSamples(x: Integer, y: Integer, s0: Number, s1: Number, s2: Number) : Void
-
Sets the sample for the first three bands at the given (x,y) location.
Sets the sample for the first three bands at the given (x,y) location.
-
Parameters
- x
- the x location
- y
- the y location
- s0
- the sample value to set for the first band
- s1
- the sample value to set for the second band
- s2
- the sample value to set for the third band
- public setSamples(x: Integer, y: Integer, s0: Number, s1: Number, s2: Number, s3: Number) : Void
-
Sets the sample for each of the four bands at the given (x,y) location.
Sets the sample for each of the four bands at the given (x,y) location.
-
Parameters
- x
- the x location
- y
- the y location
- s0
- the sample value to set for the first band
- s1
- the sample value to set for the second band
- s2
- the sample value to set for the third band
- s3
- the sample value to set for the fourth band
