cudaGraphicsSubResourceGetMappedArray: Get an array through which to access a subresource of a...

Description Usage Arguments Value References See Also

Description

Returns an array through which the subresource of the mapped graphics resource resource which corresponds to array index arrayIndex and mipmap level mipLevel may be accessed. The value set in array may change every time that resource is mapped.

Usage

1
cudaGraphicsSubResourceGetMappedArray(resource, arrayIndex, mipLevel)

Arguments

resource

Mapped resource to access

arrayIndex

Array index for array textures or cubemap face

mipLevel

Mipmap level for the subresource to access

Value

array

References

http://docs.nvidia.com/cuda/cuda-driver-api/index.html

See Also

cudaGraphicsResourceGetMappedPointer


duncantl/RCUDA documentation built on May 15, 2019, 5:26 p.m.