org.jocl.cloth.utils.gui
Interface CLMutableConfig

All Superinterfaces:
CLConfig
All Known Implementing Classes:
CLDefaultConfig

public interface CLMutableConfig
extends CLConfig

Interface for a mutable CLConfig


Method Summary
 void setConfig(org.jocl.cl_platform_id platform, java.util.List<org.jocl.cl_device_id> devices)
          Set the platform and devices of this CLConfig.
 
Methods inherited from interface org.jocl.cloth.utils.gui.CLConfig
addCLConfigListener, getDevices, getPlatform, removeCLConfigListener
 

Method Detail

setConfig

void setConfig(org.jocl.cl_platform_id platform,
               java.util.List<org.jocl.cl_device_id> devices)
Set the platform and devices of this CLConfig. None of the given parameters may be null.

Parameters:
platform - The platform.
devices - The list of devices.
Throws:
java.lang.IllegalArgumentException - If one of the parameters is null