@Name(value="b3OpenCLArray<b3GpuGenericConstraint>") @NoOffset @Properties(inherit=Bullet3OpenCL.class) public class b3GpuGenericConstraintOCLArray extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
b3GpuGenericConstraintOCLArray(Pointer p)
Pointer cast constructor.
|
b3GpuGenericConstraintOCLArray(Pointer ctx,
Pointer queue) |
b3GpuGenericConstraintOCLArray(Pointer ctx,
Pointer queue,
long initialCapacity,
boolean allowGrowingCapacity) |
Modifier and Type | Method and Description |
---|---|
long |
_capacity() |
b3GpuGenericConstraint |
at(long n) |
void |
copyFromHost(b3GpuGenericConstraintArray srcArray) |
void |
copyFromHost(b3GpuGenericConstraintArray srcArray,
boolean waitForCompletion) |
void |
copyFromHostPointer(b3GpuGenericConstraint src,
long numElems) |
void |
copyFromHostPointer(b3GpuGenericConstraint src,
long numElems,
long destFirstElem,
boolean waitForCompletion) |
void |
copyFromOpenCLArray(b3GpuGenericConstraintOCLArray src) |
void |
copyToCL(Pointer destination,
long numElements) |
void |
copyToCL(Pointer destination,
long numElements,
long firstElem,
long dstOffsetInElems) |
void |
copyToHost(b3GpuGenericConstraintArray destArray) |
void |
copyToHost(b3GpuGenericConstraintArray destArray,
boolean waitForCompletion) |
void |
copyToHostPointer(b3GpuGenericConstraint destPtr,
long numElem) |
void |
copyToHostPointer(b3GpuGenericConstraint destPtr,
long numElem,
long srcFirstElem,
boolean waitForCompletion) |
b3GpuGenericConstraint |
forcedAt(long n) |
Pointer |
getBufferCL() |
boolean |
push_back(b3GpuGenericConstraint _Val) |
boolean |
push_back(b3GpuGenericConstraint _Val,
boolean waitForCompletion) |
boolean |
reserve(long _Count) |
boolean |
reserve(long _Count,
boolean copyOldContents) |
boolean |
resize(long newsize) |
boolean |
resize(long newsize,
boolean copyOldContents) |
void |
setFromOpenCLBuffer(Pointer buffer,
long sizeInElements)
this is an error-prone method with no error checking, be careful!
|
long |
size() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public b3GpuGenericConstraintOCLArray(Pointer p)
Pointer(Pointer)
.public b3GpuGenericConstraintOCLArray(@Cast(value="cl_context") Pointer ctx, @Cast(value="cl_command_queue") Pointer queue, @Cast(value="size_t") long initialCapacity, @Cast(value="bool") boolean allowGrowingCapacity)
public void setFromOpenCLBuffer(@Cast(value="cl_mem") Pointer buffer, @Cast(value="size_t") long sizeInElements)
@Cast(value="bool") public boolean push_back(@Const @ByRef b3GpuGenericConstraint _Val, @Cast(value="bool") boolean waitForCompletion)
@Cast(value="bool") public boolean push_back(@Const @ByRef b3GpuGenericConstraint _Val)
@ByVal public b3GpuGenericConstraint forcedAt(@Cast(value="size_t") long n)
@ByVal public b3GpuGenericConstraint at(@Cast(value="size_t") long n)
@Cast(value="bool") public boolean resize(@Cast(value="size_t") long newsize, @Cast(value="bool") boolean copyOldContents)
@Cast(value="bool") public boolean reserve(@Cast(value="size_t") long _Count, @Cast(value="bool") boolean copyOldContents)
public void copyToCL(@Cast(value="cl_mem") Pointer destination, @Cast(value="size_t") long numElements, @Cast(value="size_t") long firstElem, @Cast(value="size_t") long dstOffsetInElems)
public void copyToCL(@Cast(value="cl_mem") Pointer destination, @Cast(value="size_t") long numElements)
public void copyFromHost(@Const @ByRef b3GpuGenericConstraintArray srcArray, @Cast(value="bool") boolean waitForCompletion)
public void copyFromHost(@Const @ByRef b3GpuGenericConstraintArray srcArray)
public void copyFromHostPointer(@Const b3GpuGenericConstraint src, @Cast(value="size_t") long numElems, @Cast(value="size_t") long destFirstElem, @Cast(value="bool") boolean waitForCompletion)
public void copyFromHostPointer(@Const b3GpuGenericConstraint src, @Cast(value="size_t") long numElems)
public void copyToHost(@ByRef b3GpuGenericConstraintArray destArray, @Cast(value="bool") boolean waitForCompletion)
public void copyToHost(@ByRef b3GpuGenericConstraintArray destArray)
public void copyToHostPointer(b3GpuGenericConstraint destPtr, @Cast(value="size_t") long numElem, @Cast(value="size_t") long srcFirstElem, @Cast(value="bool") boolean waitForCompletion)
public void copyToHostPointer(b3GpuGenericConstraint destPtr, @Cast(value="size_t") long numElem)
public void copyFromOpenCLArray(@Const @ByRef b3GpuGenericConstraintOCLArray src)
Copyright © 2024. All rights reserved.