Package icyllis.arc3d.engine
Class CpuBuffer
java.lang.Object
icyllis.arc3d.core.RefCnt
icyllis.arc3d.engine.CpuBuffer
- All Implemented Interfaces:
RefCounted
Deprecated.
A client-side buffer represents an immutable block of native CPU memory.
This is only used as "staging buffers" in OpenGL and may not be used for other purposes.
-
Method Summary
Modifier and TypeMethodDescriptionlongdata()Deprecated.protected voidDeprecated.Override this method to invoke de-allocation of the underlying resource.static @Nullable @SharedPtr CpuBuffermake(long size) Deprecated.longsize()Deprecated.Size of the buffer in bytes.
-
Method Details
-
make
Deprecated. -
size
public long size()Deprecated.Size of the buffer in bytes. -
data
public long data()Deprecated. -
deallocate
protected void deallocate()Deprecated.Description copied from class:RefCntOverride this method to invoke de-allocation of the underlying resource.- Specified by:
deallocatein classRefCnt
-