public class ConstantBuffersCache extends BasicConstantHandler
| Modifier and Type | Field and Description |
|---|---|
protected Map<ArrayDescriptor,DataBuffer> |
buffersCache |
| Constructor and Description |
|---|
ConstantBuffersCache() |
| Modifier and Type | Method and Description |
|---|---|
DataBuffer |
getConstantBuffer(double[] array) |
DataBuffer |
getConstantBuffer(float[] array) |
DataBuffer |
getConstantBuffer(int[] array) |
moveToConstantSpace, relocateConstantSpaceprotected Map<ArrayDescriptor,DataBuffer> buffersCache
public DataBuffer getConstantBuffer(int[] array)
public DataBuffer getConstantBuffer(float[] array)
public DataBuffer getConstantBuffer(double[] array)
Copyright © 2016. All Rights Reserved.