|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jocl.cloth.utils.CLClothConfig
public class CLClothConfig
Summarizes the configuration parameters for the cloth simulation.
Constructor Summary | |
---|---|
CLClothConfig()
Creates a new, default CLClothConfig, with platform 0, all devices on that platform, and buffer sharing enabled. |
|
CLClothConfig(org.jocl.cl_platform_id platform,
java.util.List<org.jocl.cl_device_id> devices,
boolean useSharedBuffers)
Creates a new CLClothConfig with the given parameters |
Method Summary | |
---|---|
java.util.List<org.jocl.cl_device_id> |
getDevices()
Returns an unmodifiable list of the devices |
org.jocl.cl_platform_id |
getPlatform()
Returns the platform |
boolean |
useSharedBuffers()
Returns whether GL buffer sharing should be enabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CLClothConfig()
public CLClothConfig(org.jocl.cl_platform_id platform, java.util.List<org.jocl.cl_device_id> devices, boolean useSharedBuffers)
platform
- The platformdevices
- The list of devicesuseSharedBuffers
- Whether buffer sharing should be enabledMethod Detail |
---|
public org.jocl.cl_platform_id getPlatform()
public java.util.List<org.jocl.cl_device_id> getDevices()
public boolean useSharedBuffers()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |