CoverageBuffer
Description
- Derived from
-
SampleBufferInt32 abstract
An implementation of the ISampleBuffer interface that stores 30-bit coverage values (see HeightmapSample.MaxValue30).
- See also
Public / Constants
ScanlineRangeDefault
The default value of ISampleBuffer.ScanlineRange.
For image coding, the raw pixel value corresponds to the coverage value (see HeightmapSample.Elevation).
The default pixel range maps the coverage values 0
and HeightmapSample.MaxValue30 to black resp. white.
Public / Constructors
Create
Creates a new instance of CoverageBuffer.
Instances of CoverageBuffer can be pooled by calling IDeletable.Delete.
FromImage
3 overloads
Creates a new instance of CoverageBuffer.
- IOException
-
If an I/O error has occurred.
- ValidatingException
-
If the image reader has reported an error, for example because of an unsupported file format feature.
Creates a new instance of CoverageBuffer.
- IOException
-
If an I/O error has occurred.
- ValidatingException
-
If the image reader has reported an error, for example because of an unsupported file format feature.
Creates a new instance of CoverageBuffer.
- IOException
-
If an I/O error has occurred.