public class LwjglContext
extends com.jme3.opencl.Context
| Constructor and Description |
|---|
LwjglContext(long context,
java.util.List<LwjglDevice> devices) |
| Modifier and Type | Method and Description |
|---|---|
com.jme3.opencl.Image |
bindImage(com.jme3.texture.Image image,
com.jme3.texture.Texture.Type textureType,
int miplevel,
com.jme3.opencl.MemoryAccess access) |
protected com.jme3.opencl.Image |
bindPureRenderBuffer(com.jme3.texture.FrameBuffer.RenderBuffer buffer,
com.jme3.opencl.MemoryAccess access) |
com.jme3.opencl.Buffer |
bindVertexBuffer(com.jme3.scene.VertexBuffer vb,
com.jme3.opencl.MemoryAccess access) |
com.jme3.opencl.Buffer |
createBuffer(long size,
com.jme3.opencl.MemoryAccess access) |
com.jme3.opencl.Buffer |
createBufferFromHost(java.nio.ByteBuffer data,
com.jme3.opencl.MemoryAccess access) |
com.jme3.opencl.Image |
createImage(com.jme3.opencl.MemoryAccess access,
com.jme3.opencl.Image.ImageFormat format,
com.jme3.opencl.Image.ImageDescriptor descr) |
com.jme3.opencl.Program |
createProgramFromBinary(java.nio.ByteBuffer binaries,
com.jme3.opencl.Device device) |
com.jme3.opencl.Program |
createProgramFromSourceCode(java.lang.String sourceCode) |
com.jme3.opencl.CommandQueue |
createQueue(com.jme3.opencl.Device device) |
long |
getContext() |
java.util.List<LwjglDevice> |
getDevices() |
com.jme3.opencl.Image.ImageFormat[] |
querySupportedFormats(com.jme3.opencl.MemoryAccess access,
com.jme3.opencl.Image.ImageType type) |
bindImage, bindImage, bindRenderBuffer, createBuffer, createBufferFromHost, createProgramFromSourceCodeWithDependencies, createProgramFromSourceFiles, createProgramFromSourceFiles, createProgramFromSourceFilesWithInclude, createProgramFromSourceFilesWithInclude, createQueue, register, toStringpublic LwjglContext(long context,
java.util.List<LwjglDevice> devices)
public long getContext()
public java.util.List<LwjglDevice> getDevices()
getDevices in class com.jme3.opencl.Contextpublic com.jme3.opencl.CommandQueue createQueue(com.jme3.opencl.Device device)
createQueue in class com.jme3.opencl.Contextpublic com.jme3.opencl.Buffer createBuffer(long size,
com.jme3.opencl.MemoryAccess access)
createBuffer in class com.jme3.opencl.Contextpublic com.jme3.opencl.Buffer createBufferFromHost(java.nio.ByteBuffer data,
com.jme3.opencl.MemoryAccess access)
createBufferFromHost in class com.jme3.opencl.Contextpublic com.jme3.opencl.Image createImage(com.jme3.opencl.MemoryAccess access,
com.jme3.opencl.Image.ImageFormat format,
com.jme3.opencl.Image.ImageDescriptor descr)
createImage in class com.jme3.opencl.Contextpublic com.jme3.opencl.Image.ImageFormat[] querySupportedFormats(com.jme3.opencl.MemoryAccess access,
com.jme3.opencl.Image.ImageType type)
querySupportedFormats in class com.jme3.opencl.Contextpublic com.jme3.opencl.Buffer bindVertexBuffer(com.jme3.scene.VertexBuffer vb,
com.jme3.opencl.MemoryAccess access)
bindVertexBuffer in class com.jme3.opencl.Contextpublic com.jme3.opencl.Image bindImage(com.jme3.texture.Image image,
com.jme3.texture.Texture.Type textureType,
int miplevel,
com.jme3.opencl.MemoryAccess access)
bindImage in class com.jme3.opencl.Contextprotected com.jme3.opencl.Image bindPureRenderBuffer(com.jme3.texture.FrameBuffer.RenderBuffer buffer,
com.jme3.opencl.MemoryAccess access)
bindPureRenderBuffer in class com.jme3.opencl.Contextpublic com.jme3.opencl.Program createProgramFromSourceCode(java.lang.String sourceCode)
createProgramFromSourceCode in class com.jme3.opencl.Contextpublic com.jme3.opencl.Program createProgramFromBinary(java.nio.ByteBuffer binaries,
com.jme3.opencl.Device device)
createProgramFromBinary in class com.jme3.opencl.Context