|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ResourceHandle | |
---|---|
org.jocl.cloth | The main package for the cloth simulator |
Uses of ResourceHandle in org.jocl.cloth |
---|
Classes in org.jocl.cloth that implement ResourceHandle | |
---|---|
(package private) class |
SharedMemHandle
Implementation of a ResourceHandle for cl_mem objects that
are created from an OpenGL vertex buffer object. |
(package private) class |
SimpleFloatBufferHandle
A ResourceHandle that obtains the FloatBuffer
by wrapping an array |
(package private) class |
SimpleMemHandle
Simple implementation of a ResourceHandle for buffers that
are not shared with OpenGL |
(package private) class |
VBOFloatBufferHandle
A ResourceHandle that obtains the FloatBuffer
by mapping an OpenGL VBO using a renderer. |
Constructors in org.jocl.cloth with parameters of type ResourceHandle | |
---|---|
ClothSimulationCoreJava(ResourceHandle<java.nio.FloatBuffer> positionsHandle,
ParticleData p,
EdgeData[][] e)
Creates a new cloth simulation core that will write the vertex positions into the buffer obtained from the given handle, and operates on the given simulation data . |
|
ClothSimulationCoreJOCL(CLSetup clSetup,
ParticleData p,
ResourceHandle<org.jocl.cl_mem> positions,
ResourceHandle<org.jocl.cl_mem> candidatePositions,
EdgeData[] e,
ResourceHandle<java.nio.FloatBuffer> renderingPositions)
Creates a new cloth simulation core |
|
ClothSimulationCoreJOCL(CLSetup clSetup,
ParticleData p,
ResourceHandle<org.jocl.cl_mem> positions,
ResourceHandle<org.jocl.cl_mem> candidatePositions,
EdgeData[] e,
ResourceHandle<java.nio.FloatBuffer> renderingPositions)
Creates a new cloth simulation core |
|
ClothSimulationCoreJOCL(CLSetup clSetup,
ParticleData p,
ResourceHandle<org.jocl.cl_mem> positions,
ResourceHandle<org.jocl.cl_mem> candidatePositions,
EdgeData[] e,
ResourceHandle<java.nio.FloatBuffer> renderingPositions)
Creates a new cloth simulation core |
|
NormalComputerJava(ResourceHandle<java.nio.FloatBuffer> vertexNormalsHandle,
ParticleData p,
FaceData f,
NormalData n)
Creates a new normal computer that uses the given simulation- and normal data, and writes the vertex normals into the buffer obtained from the given handle. |
|
NormalComputerJOCL(CLSetup clSetup,
ParticleData p,
ResourceHandle<org.jocl.cl_mem> positions,
FaceData f,
NormalData n,
ResourceHandle<org.jocl.cl_mem> vertexNormals,
ResourceHandle<java.nio.FloatBuffer> renderingVertexNormals)
Creates a new normal computer. |
|
NormalComputerJOCL(CLSetup clSetup,
ParticleData p,
ResourceHandle<org.jocl.cl_mem> positions,
FaceData f,
NormalData n,
ResourceHandle<org.jocl.cl_mem> vertexNormals,
ResourceHandle<java.nio.FloatBuffer> renderingVertexNormals)
Creates a new normal computer. |
|
NormalComputerJOCL(CLSetup clSetup,
ParticleData p,
ResourceHandle<org.jocl.cl_mem> positions,
FaceData f,
NormalData n,
ResourceHandle<org.jocl.cl_mem> vertexNormals,
ResourceHandle<java.nio.FloatBuffer> renderingVertexNormals)
Creates a new normal computer. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |