Class CLNImageView2DFixedU565
java.lang.Object
com.io7m.calino.imageview.internal.CLNImageView2DFixedU565
- All Implemented Interfaces:
CLNImageView2DType
An unsigned 565 view.
-
Constructor Summary
ConstructorsConstructorDescriptionCLNImageView2DFixedU565
(CLNImageInfo inImageInfo, int mipLevel, byte[] inData) An unsigned 565 view. -
Method Summary
-
Constructor Details
-
CLNImageView2DFixedU565
An unsigned 565 view.- Parameters:
inData
- The image datamipLevel
- The mip levelinImageInfo
- The image info
-
-
Method Details
-
sizeX
public int sizeX()- Specified by:
sizeX
in interfaceCLNImageView2DType
- Returns:
- The size of the view on the X axis
-
sizeY
public int sizeY()- Specified by:
sizeY
in interfaceCLNImageView2DType
- Returns:
- The size of the view on the Y axis
-
pixelAt
public void pixelAt(int x, int y, double[] pixel) Description copied from interface:CLNImageView2DType
Sample a pixel at the given location.- Specified by:
pixelAt
in interfaceCLNImageView2DType
- Parameters:
x
- The x locationy
- The y locationpixel
- The output pixel
-