Package | Description |
---|---|
org.bytedeco.cuda.global |
Modifier and Type | Method and Description |
---|---|
static int |
cudart.cuGraphicsGLRegisterBuffer(CUgraphicsResource_st pCudaResource,
int buffer,
int Flags)
\brief Registers an OpenGL buffer object
Registers the buffer object specified by \p buffer for access by
CUDA.
|
static int |
cudart.cuGraphicsGLRegisterImage(CUgraphicsResource_st pCudaResource,
int image,
int target,
int Flags)
\brief Register an OpenGL texture or renderbuffer object
Registers the texture or renderbuffer object specified by \p image for access by CUDA.
|
static int |
cudart.cuGraphicsMapResources(int count,
CUgraphicsResource_st resources,
CUstream_st hStream)
\brief Map graphics resources for access by CUDA
Maps the \p count graphics resources in \p resources for access by CUDA.
|
static int |
cudart.cuGraphicsResourceGetMappedMipmappedArray(CUmipmappedArray_st pMipmappedArray,
CUgraphicsResource_st resource)
\brief Get a mipmapped array through which to access a mapped graphics resource.
|
static int |
cudart.cuGraphicsResourceGetMappedPointer(long[] pDevPtr,
SizeTPointer pSize,
CUgraphicsResource_st resource) |
static int |
cudart.cuGraphicsResourceGetMappedPointer(LongBuffer pDevPtr,
SizeTPointer pSize,
CUgraphicsResource_st resource) |
static int |
cudart.cuGraphicsResourceGetMappedPointer(LongPointer pDevPtr,
SizeTPointer pSize,
CUgraphicsResource_st resource)
\brief Get a device pointer through which to access a mapped graphics resource.
|
static int |
cudart.cuGraphicsResourceSetMapFlags(CUgraphicsResource_st resource,
int flags)
\brief Set usage flags for mapping a graphics resource
Set \p flags for mapping the graphics resource \p resource.
|
static int |
cudart.cuGraphicsSubResourceGetMappedArray(CUarray_st pArray,
CUgraphicsResource_st resource,
int arrayIndex,
int mipLevel)
\brief Get an array through which to access a subresource of a mapped graphics resource.
|
static int |
cudart.cuGraphicsUnmapResources(int count,
CUgraphicsResource_st resources,
CUstream_st hStream)
\brief Unmap graphics resources.
|
static int |
cudart.cuGraphicsUnregisterResource(CUgraphicsResource_st resource)
\brief Unregisters a graphics resource for access by CUDA
Unregisters the graphics resource \p resource so it is not accessible by
CUDA unless registered again.
|
Copyright © 2024. All rights reserved.