Top Description Fields Constructors Methods
org.lwjgl.opencl

public final Class IMGCachedAllocations

extends Object
Class Inheritance

Native bindings to the img_cached_allocations extension.

This extension extends the functionality provided by CreateBuffer and CreateImage to allow the OpenCL implementation to allocate memory on the device which is also cached on the host CPU.

Requires CL12.

Field Summary

Modifier and TypeField and Description
public static final int
CL_MEM_USE_CACHED_CPU_MEMORY_IMG

Accepted value for the flags parameter to CreateBuffer and CreateImage.

public static final int
CL_MEM_USE_UNCACHED_CPU_MEMORY_IMG

Accepted value for the flags parameter to CreateBuffer and CreateImage.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CL_MEM_USE_CACHED_CPU_MEMORY_IMGback to summary
public static final int CL_MEM_USE_CACHED_CPU_MEMORY_IMG

Accepted value for the flags parameter to CreateBuffer and CreateImage.

CL_MEM_USE_UNCACHED_CPU_MEMORY_IMGback to summary
public static final int CL_MEM_USE_UNCACHED_CPU_MEMORY_IMG

Accepted value for the flags parameter to CreateBuffer and CreateImage.

Constructor Detail

IMGCachedAllocationsback to summary
private IMGCachedAllocations()