Constructor and Description |
---|
MandelKernel(int _width,
int _height,
int[] _rgb)
Initialize the Kernel.
|
Modifier and Type | Method and Description |
---|---|
int |
getCount(float x,
float y) |
int[] |
getRgbs() |
void |
resetImage(int _width,
int _height,
int[] _rgb) |
void |
run() |
void |
setScaleAndOffset(float _scale,
float _offsetx,
float _offsety) |
addExecutionModes, cancelMultiPass, cleanUpArrays, clone, compile, compile, dispose, execute, execute, execute, execute, execute, execute, executeFallbackAlgorithm, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, getAccumulatedExecutionTime, getAccumulatedExecutionTimeAllThreads, getAccumulatedExecutionTimeCurrentThread, getCancelState, getConversionTime, getCurrentPass, getExecutionMode, getExecutionTime, getKernelCompileWorkGroupSize, getKernelLocalMemSizeInUse, getKernelMaxWorkGroupSize, getKernelMinimumPrivateMemSizeInUsePerWorkItem, getKernelPreferredWorkGroupSizeMultiple, getKernelState, getMappedMethodName, getProfileInfo, getProfileReportCurrentThread, getProfileReportLastThread, getTargetDevice, hasFallbackAlgorithm, hasNextExecutionMode, invalidateCaches, isAllowDevice, isAutoCleanUpArrays, isExecuting, isExplicit, isMappedMethod, isOpenCLDelegateMethod, isRunningCL, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, registerProfileReportObserver, setAutoCleanUpArrays, setExecutionMode, setExecutionModeWithoutFallback, setExplicit, setFallbackExecutionMode, toString, tryNextExecutionMode, usesAtomic32, usesAtomic64
public MandelKernel(int _width, int _height, int[] _rgb)
_width
- Mandelbrot image width_height
- Mandelbrot image height_rgb
- Mandelbrot image RGB bufferpublic void resetImage(int _width, int _height, int[] _rgb)
public int getCount(float x, float y)
public void run()
run
in class com.aparapi.Kernel
public void setScaleAndOffset(float _scale, float _offsetx, float _offsety)
public int[] getRgbs()
Copyright © 2021 Syncleus. All rights reserved.